The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl eAuction 1.6.1.x >> Start Up and more >> Error in line 5226 in eauction.pl https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1122433867 Message started by t2c on 07/27/05 at 05:11:07 |
Title: Error in line 5226 in eauction.pl Post by t2c on 07/27/05 at 05:11:07 Hi and thanks for a great script. But I´m getting an error in eauction.pl, can anyone help me. Here are what the error are: Use of uninitialized value in concatenation (.) or string at C:\httpd\HtDocs\www\afgift\CGI-BIN\eAuction161\eauction.pl line 5226. Use of uninitialized value in concatenation (.) or string at C:\httpd\HtDocs\www\afgift\CGI-BIN\eAuction161\eauction.pl line 5227. Hope you can help me. Johnni |
Title: Re: Error in line 5226 in eauction.pl Post by Dieter Werner on 07/27/05 at 10:12:14 Please, post line 5225 and line 5226. |
Title: Re: Error in line 5226 in eauction.pl Post by t2c on 07/27/05 at 12:47:41 Line 5225 is clear, you mean 5226 and 5227? Line 5226: $config{'icon_url'} = "http://$ENV{'HTTP_HOST'}/$config{'html_dir'}/auction_pics"; Line 5227: $config{'img_url'} = "http://$ENV{'HTTP_HOST'}/$config{'html_dir'}/img_upload"; |
Title: Re: Error in line 5226 in eauction.pl Post by Dieter Werner on 07/27/05 at 14:03:55 Insert this code above line 5226 (don't replace anything, just insert): Code:
and let me know what happen. |
Title: Re: Error in line 5226 in eauction.pl Post by t2c on 07/27/05 at 15:29:53 Now the script is like this: $config{'basepath'} .= $config{'auction_dir'}; print "Host: $ENV{'HTTP_HOST'}<br>"; print "HTML-Dir: $config{'html_dir'}<br>"; $config{'icon_url'} = "http://$ENV{'HTTP_HOST'}/$config{'html_dir'}/auction_pics"; $config{'img_url'} = "http://$ENV{'HTTP_HOST'}/$config{'html_dir'}/img_upload"; $config{'rating_dir'} = "$config{'basepath'}/rating"; $config{'icon_dir'} = "$config{'html_path'}/auction_pics"; $config{'img_dir'} = "$config{'html_path'}/img_upload"; And now the error comes: Use of uninitialized value in concatenation (.) or string at C:\httpd\HtDocs\www\afgift\CGI-BIN\eAuction161\eauction.pl line 5225. Host: HTML-Dir: eAuction Use of uninitialized value in concatenation (.) or string at C:\httpd\HtDocs\www\afgift\CGI-BIN\eAuction161\eauction.pl line 5227. Use of uninitialized value in concatenation (.) or string at C:\httpd\HtDocs\www\afgift\CGI-BIN\eAuction161\eauction.pl line 5228. |
Title: Re: Error in line 5226 in eauction.pl Post by t2c on 07/27/05 at 15:48:33 You can check out the link: http://www.mcafgift.dk/cgi-bin/eAuction161/eauction.pl?lang=1 |
Title: Re: Error in line 5226 in eauction.pl Post by Dieter Werner 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:
and replace it with this Code:
|
Title: Re: Error in line 5226 in eauction.pl Post by t2c on 07/27/05 at 17:26:51 Thanks I don´t want to change provider becurse it´s my self that is the provider. :-) I will try to do what you told me insted or do you have a solution for my server insted? Johnni |
Title: Re: Error in line 5226 in eauction.pl Post by Dieter Werner on 07/27/05 at 17:33:52 t2c wrote:
You should read the docu of your server-software ;) Upload this Code:
as dump.pl to your cgi-bin directory, chmod it 775 and start it via your browser. The script will display all ENV content your server delivers. |
Title: Re: Error in line 5226 in eauction.pl Post by t2c on 07/27/05 at 17:44:05 You can read it here: http://www.mcafgift.dk/cgi-bin/dump.pl Johnni |
Title: Re: Error in line 5226 in eauction.pl Post by Dieter Werner on 07/27/05 at 17:49:57 t2c wrote:
Already done ... ;) Now it's up to you to setup your server in a right way. (and you should rename dump.pl because everybody can run it now). And don't forget to 'rate' eAuction :-* |
Title: Re: Error in line 5226 in eauction.pl Post by t2c on 07/27/05 at 18:02:55 Well I hope you will help me, I have placed the docs on my server under: http://www.mcafgift.dk/docs/ I hope you can and will help? Thanks Johnni |
Title: Re: Error in line 5226 in eauction.pl Post by Dieter Werner on 07/27/05 at 18:08:52 t2c wrote:
Sorry, but I'm not a server specialist - I'm just a little programmer. |
Title: Re: Error in line 5226 in eauction.pl Post by t2c on 07/27/05 at 18:12:07 Well thanks anyway, i´ll tyr what you write before and try if that can help me then. Johnni |
Title: Re: Error in line 5226 in eauction.pl Post by Dieter Werner on 07/27/05 at 18:24:34 Feel free to contact the forums when ever you run in any trouble :) |
Title: Re: Error in line 5226 in eauction.pl Post by vladek on 08/04/05 at 06:10:44 Dieter Werner wrote:
Fantastic, this fixed my problem!! ;D |
The eAuction Support Forums » Powered by YaBB 2.2! YaBB © 2000-2007. All Rights Reserved. |