The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> Internal Sever Error
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1132614905

Message started by fdesrosiers on 11/22/05 at 00:15:05

Title: Internal Sever Error
Post by fdesrosiers on 11/22/05 at 00:15:05

Hi,

Any clues of the internal server error when I put the files in the right Location?
The server encountered an internal error or misconfiguration and was unable to complete your request.

When I do

-bash-2.05b$ perl eAuction.pl
Content-type: text/html

Use of uninitialized value in require at eAuction.pl line 471.
Use of uninitialized value in require at eAuction.pl line 472.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/vars.pm line 7.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/warnings/register.pm line 24.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/warnings.pm line 130.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/Carp.pm line 132.
Use of uninitialized value in require at eAuction.pl line 3653.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/CGI.pm line 27.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/Exporter.pm line 17.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/Carp.pm line 178.
"ebcdic2ascii" is not exported by the CGI::Util module
"ascii2ebcdic" is not exported by the CGI::Util module
Can't continue after import errors at /usr/lib/perl5/5.8.0/CGI.pm line 27
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/CGI.pm line 27.
Compilation failed in require at eAuction.pl line 3653.
BEGIN failed--compilation aborted at eAuction.pl line 3653.


Title: Re: Internal Sever Error /cgi-bin/eAuction161/eAuc
Post by Dieter Werner on 11/22/05 at 10:22:14

Are you talking about eAuction v1.6.1.x?

Title: Re: Internal Sever Error - Tracing it
Post by fdesrosiers on 11/22/05 at 12:04:34

I looked some of
the errors up on the WEb

ebcdic2ascii" is not exported by the CGI:

Means that my web provided may have not compile
the DBI of perl properly.  I opened a ticket to their support for this error.
The version of perl is 5.8

I also checked the error I am getting on Line 471,
Actually the error begins before that line. It starts with this section.

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


I have isolated it to the unshift command.
Any clues???


Fred

Title: Re: Internal Sever Error /cgi-bin/eAuction161/eAuc
Post by fdesrosiers on 11/22/05 at 12:05:43

Yes it is eAuctions 1.6.1.

Title: Re: Internal Sever Error /cgi-bin/eAuction161/eAuc
Post by Dieter Werner on 11/22/05 at 13:01:29


fdesrosiers wrote:
Yes it is eAuctions 1.6.1.

But there is no 'require' at line 471/472

Title: Re: Internal Sever Error /cgi-bin/eAuction161/eAuc
Post by fdesrosiers on 11/22/05 at 13:13:55


The require is way down at the line 516.




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

#-#############################################
# Use-Section
#-#############################################
   use strict;
   use vars qw(%config %category %form %txt %long_txt $event);


When I put this sections in a file by themselves it does compile.
But when it is in eAuctions..
Then it gives the error.

Fred

Title: Re: Internal Sever Error
Post by Dieter Werner on 11/22/05 at 14:02:54

But your error log reports:

Quote:
Use of uninitialized value in require at eAuction.pl line 471.
Use of uninitialized value in require at eAuction.pl line 472.


Seems as if your server runs a broken perl installation.

However, try this:

go to line
Code:
srand(time ^ ($$ + ($$ << 15)));

make it look like this
Code:
#srand(time ^ ($$ + ($$ << 15)));

save/upload the script, start eAuction.pl and let me know the result.

Title: Re: Internal Sever Error /cgi-bin/eAuction161/eAuc
Post by fdesrosiers on 11/22/05 at 14:44:15

This is what I did based on the suggestion.


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

These are the errors.

Content-type: text/html

Use of uninitialized value in require at eAuction.pl line 472.
Use of uninitialized value in require at eAuction.pl line 473.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/vars.pm line 7.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/warnings/register.pm line 24.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/warnings.pm line 130.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/Carp.pm line 132.
Use of uninitialized value in require at eAuction.pl line 3654.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/CGI.pm line 27.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/Exporter.pm line 17.
Use of uninitialized value in require at /usr/lib/perl5/5.8.0/Carp.pm line 178.
"ebcdic2ascii" is not exported by the CGI::Util module
"ascii2ebcdic" is not exported by the CGI::Util module
Can't continue after import errors at /usr/lib/perl5/5.8.0/CGI.pm line 27
BEGIN failed--compilation aborted at /usr/lib/perl5/5.8.0/CGI.pm line 27.
Compilation failed in require at eAuction.pl line 3654.
BEGIN failed--compilation aborted at eAuction.pl line 3654.

Title: Re: Internal Sever Error
Post by Dieter Werner on 11/22/05 at 15:47:18

Sorry, but I can't help in server issues.

The modules:
- strict.pm
- warnings.pm
- Exporter.pm
- Carp.pm
- CGI.pm
- Util.pm
are 'core' with every perl distribution and so they 'have' to work!

Please, contact your provider.

Title: Re: Internal Sever Error /cgi-bin/eAuction161/eAuc
Post by Boot on 07/11/06 at 12:46:34

I have the same Error:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
How I can see the server error log?


Title: Re: Internal Sever Error
Post by Dieter Werner on 07/11/06 at 14:47:15


Boot wrote:
I have the same Error:
500 Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
How I can see the server error log?

Please ask your provider for this.

And ...
did you upload the script in ASCII-Mode?

Title: Re: Internal Sever Error
Post by Boot on 07/12/06 at 19:38:21

I upload it in ASCII-Mode. I ask my Provider, they helped me and now there is no error anymore.
But now I have another problem. When I start the Script this is coming:

Error

No such file or directory

YOUR SET UP IS NOT CORRECT

Click
eAuction Script-Forums
if you need support

What does that mean?



Title: Re: Internal Sever Error
Post by Dieter Werner on 07/12/06 at 20:21:57

That means ...
your config-settings are not right.
Please, double check the content of eConfig161.pl and read the forums.

Title: Re: Internal Sever Error
Post by Boot on 07/13/06 at 15:23:53

I send you an email. Please check your emails.

MfG Moritz Girke

The eAuction Support Forums » Powered by YaBB 2.2!
YaBB © 2000-2007. All Rights Reserved.