eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components




Welcome to the eAuction Support Forums

  HomeHelpSearchLoginRegister
 



Pages: 1 ... 4 5 6 
Error in line 5226 in eauction.pl (Read 1433 times)
vladek
eAuction User
**
Offline

I don't know Perl

Posts: 5
New Zealand
Gender: male
Re: Error in line 5226 in eauction.pl
Reply #15 - 08/04/05 at 06:10:44
 
Dieter Werner   wrote on 07/27/05 at 17:19:32:
That means:
your server doesn't deliver the data of $ENV{'HTTP_HOST'}
and that's very bad - you should change the provider.

Solution:
- search the script for $ENV{'HTTP_HOST'}
- replace each instance of $ENV{'HTTP_HOST'} with www.YourDomain

Or:
- search the script for Code:
#-#############################################
# Setup Environment
#-#############################################
BEGIN {
   print "Content-type: text/html\n\n";
   $0 =~ m~(.*)/[^/]+~ || $0 =~ m~(.*)\\[^\\]+~;    
   unshift @INC, $1;
   srand(time ^ ($$ + ($$ << 15)));
} 


and replace it with this Code:
#-#############################################
# Setup Environment
#-#############################################
BEGIN {
   print "Content-type: text/html\n\n";
   $0 =~ m~(.*)/[^/]+~ || $0 =~ m~(.*)\\[^\\]+~;    
   unshift @INC, $1;
   $ENV{'HTTP_HOST'} = "www.YourDomain";
   srand(time ^ ($$ + ($$ << 15)));
} 






Fantastic, this fixed my problem!! Grin
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1 ... 4 5 6 


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only