The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> I hate CGI scripts
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1132186994

Message started by Charlie286 on 11/17/05 at 01:23:14

Title: I hate CGI scripts
Post by Charlie286 on 11/17/05 at 01:23:14

Hello
When I first used eAuction it was a windows server, I simply added the basepath, clicked the mouse and of it went.
I have two sites both with linux severs which I cant get eAuction to run on either.
The second one is a new one, thats the one I want to use. The architecture on the second one is differen from the first, the first is
        -htdocs-
cgi-bin - aspnet_client
the second is
public_html - cgi-bin - www

I can get perldiver.cgi to run from inside the cgi-bin and from the eAuction161 folder inside the cgi-bin. But not eConfig161.pl.
All I get is the dredded "internal server error".
There must be a way of running eAuction from a non-windows server.
Does anyone have any idea,s. >:(
Thanks
Charlie  

Title: Re: I hate CGI scripts
Post by Dieter Werner on 11/17/05 at 08:46:24

#-#############################################
#
#   INSTALLATION:
#   -----------------
#   In order to run the program you have to download
#   the Config-File (eConfig161.pl) too.
#
#    - edit eConfig161.pl and save it
#    - save THIS file as eAuction.pl
#    - search your server for your cgi-bin directory
#    - create a new sub-directory: eAuction161
#    - chmod that sub-directory (at least) 755.
#
#    - upload
#          eAuction.pl
#          eConfig161.pl
#      to the directory 'eAuction161' (use ASCII-Mode)
#
#    - chmod 755 eAuction.pl
#    - chmod 644 eConfig161.pl
#    - start your browser and type in:
#      http://YourDomain/cgi-bin/eAuction161/eAuction.pl
#  
#   In order to create 'Test-Items'
#    - start your browser and type in:
#      http://YourDomain/cgi-bin/eAuction161/eAuction.pl?action=test
#
#   In order to use the delivered icons (or your own icons)
#   - start your FTP-Program again
#   - select the directory 'eAuction'
#   - select the sub-directory 'auction_pics'
#   - upload the pics to this directory (use Binary-Mode)  
#
#

Title: Re: I hate CGI scripts
Post by Charlie286 on 11/17/05 at 12:28:37

Thanks Dieter
I have followed all that without success.
These two line confuse me a little -

#    - edit eConfig161.pl and save it
#    - save THIS file as eAuction.pl

Is this saying save the eConfig.pl file as eAuction.pl

Thanks
Charlie

Title: Re: I hate CGI scripts
Post by Dieter Werner on 11/17/05 at 13:01:35


Charlie286 wrote:
Thanks Dieter
I have followed all that without success.
These two line confuse me a little -

#    - edit eConfig161.pl and save it
#    - save THIS file as eAuction.pl

Is this saying save the eConfig.pl file as eAuction.pl

Thanks
Charlie


No, Charly ...
when it says
- save THIS file as eAuction.pl -
then the file which you just read is meant.

And ...
you shouldn't 'hate' CGI scripts
you better should learn to handle them  ;)

Title: Re: I hate CGI scripts
Post by Charlie286 on 11/17/05 at 15:17:20

Hello again
cgi-gin  775
eAuction161  775
eAuction161.pl  775
eConfig161.pl 644

which would be the correct basepath
"/vhost/vhost3/g/o/i/mysite.co.uk/cgi-bin/"
or
"/vhost/vhost3/g/o/i/mysite.co.uk/

also is it with or without the slash

Title: Re: I hate CGI scripts
Post by Dieter Werner on 11/17/05 at 16:33:20

As a first step, set:

Code:
$config{'get_path'}              = 1;

and the script will try to find all needed paths automatically.

Title: Re: I hate CGI scripts
Post by Charlie286 on 11/17/05 at 20:39:00

Hello Dieter
Tried and failed same error message.
Cheers
Charlie

Title: Re: I hate CGI scripts
Post by Dieter Werner on 11/17/05 at 21:21:23

Let me know the text of the error message.

Title: Re: I hate CGI scripts
Post by Charlie286 on 11/17/05 at 22:40:32

Hello again

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, support@iomart.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.


Title: Re: I hate CGI scripts
Post by Dieter Werner on 11/18/05 at 11:11:22

Seems to be a server problem.

Search eAuction.pl for
Code:
# oops("$@<br>$!<br>") if $@; # Only for testing the code

- delete the leading #
- save the file
- upload the file (use ASCII mode)
- run eAuction.pl

and let me know what happen.

Title: Re: I hate CGI scripts
Post by Charlie286 on 11/18/05 at 15:55:53

Hello Dieter
This is how it is in the in the file

# We hide each server-fault and let the user think whatever; aren't we nice ;-)
   oops("$@<br>$!<br>") if $@; # Only for testing the code
   oops($txt{'Server-Overload'}) if $@;
   exists $form{'error'} && do { $form{'error'} && oops($txt{$form{'error']) };

There was no hash sign in front of it.

Charlie

Title: Re: I hate CGI scripts
Post by Dieter Werner on 11/18/05 at 16:37:41

OK ...
open eAuction.pl
search for
Code:
#-#############################################
# Use-Section
#-#############################################
   use strict;
   use vars qw(%config %category %form %txt %long_txt $event);

add this
Code:
   use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
   warningsToBrowser(1);


- save the file
- upload it to your server
- start eAuction and let me know what happen.

Title: Re: I hate CGI scripts
Post by Charlie286 on 11/18/05 at 17:55:31

Hello Dieter
Same error massage.
If it isnt an imposition email me
cmvel52@yahoo.co.uk

and I will give you my site and login details and you go and have a look.
The way we are doing it now is a bit like remote control.
Thanks
Charlie

Title: Re: I hate CGI scripts
Post by Dieter Werner on 11/18/05 at 19:54:42


Charlie286 wrote:
Hello Dieter
Same error massage.
If it isnt an imposition email me
cmvel52@yahoo.co.uk


Sorry Charly ...
but I don't contact any anonymous addresses.

Title: Re: I hate CGI scripts
Post by tmk12v on 04/20/06 at 00:41:51

Is your path to PERL set up correctly? This was the first error I encoutered when installing eAuction. I had to actually make a blank line between the path to perl argument and the first commented out section. Not sure why but that fixed it. Maybe there was a bad invisible character in there???

Tom

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