The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> Trouble getting eAuction to run
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1207664435

Message started by Raymond on 04/08/08 at 16:20:35

Title: Trouble getting eAuction to run
Post by Raymond on 04/08/08 at 16:20:35

I have gotten a few other auction scripts to run just fine, but am not that impressed with them, so I want to try eAuction, but am getting the famous "premature end of headers" error. My log file shows the following:

[Tue Apr 08 09:08:58 2008] [error] [client 10.10.4.70] Premature end of script headers: eAuction.plpr 08 09:08:58 2008] [error] [client 10.10.4.70] (2)\xd4,\xfd\b\r: exec of '/usr/lib/cgi-bin/eAuction161/eAuction.pl' failed
[Tue Apr 08 09:08:58 2008] [error] [client 10.10.4.70] Premature end of script headers: eAuction.pl

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/08/08 at 17:15:43

Did you upload the files under ascii mode?
Have you checked the access rights?
(eAuction.pl = 755)

Title: Re: Trouble getting eAuction to run
Post by Raymond on 04/08/08 at 17:18:45

I copied the zip file to my Ubuntu box, and unzipped it there. I will copy it up via ftp, in asci, if that will fix the issue. (Didn't think it would be necessary this way)

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/08/08 at 17:23:18


535C4B513F0 wrote:
I copied the zip file to my Ubuntu box, and unzipped it there. I will copy it up via ftp, in asci, if that will fix the issue. (Didn't think it would be necessary this way)

In this case ...
the access rights are not set.

Please, open eAuction.pl (local) and read the instructions.

Title: Re: Trouble getting eAuction to run
Post by Raymond on 04/08/08 at 17:30:38

Here is what I have. Does it need to be different? I followed the instructions in eAuction.pl

drwxr-xr-x 2 www-data www-data   4096 2008-04-08 09:04 eAuction161


-rwxr-xr-x 1 www-data www-data 202793 2008-04-08 09:04 eAuction.pl
-rw-r--r-- 1 www-data www-data  46090 2008-04-08 09:01 eConfig161.pl

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/08/08 at 17:36:44

You have to upload the files into your cgi-bin directory.
The (file) access rights are okey.

Title: Re: Trouble getting eAuction to run
Post by Raymond on 04/08/08 at 17:40:06

Three other auction scripts have worked from there as of yesterday. The original everyauction script, and eAuction are the ones that give me the same error.


Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/08/08 at 18:03:40

Please read the instructions and make sure you follow them step by step.
Believe me it's easy.
Thousands of users have already done it.
(You better should delete the installation you did before.)


Quote:
#-#############################################
#
#   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)  
#
#
#   Notice that the script is asking for Perl 5.6.0 (or higher) !!
#   I don't know whether it is runable under Perl 5.5.x
#
#   Donations for these and for further developments, are welcome warmly.
#   Send beer or send the money for beer ;-))
#   PayPal-Account: hdw@interwer.com
#   At least - send an eMail :-)
#
#-#############################################

Title: Re: Trouble getting eAuction to run
Post by Raymond on 04/08/08 at 18:29:42

Hmmm....


I did follow the instructions as you have them listed. I just did a new install, but get the same results. Maybe it is a relative path issue??

Here is my structure:

web root : /data/mn-e-store/webauction
cgi-bin: /usr/lib/cgi-bin
sub-directory /usr/lib/cgi-bin/eAuction161

Perms set as per prior post.

My apache config for this site has the following for the cgi-bin:

<Directory "/usr/lib/cgi-bin">
               AllowOverride None
               Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
               Order allow,deny
               Allow from all
       </Directory>


Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/08/08 at 18:40:54

I dont't know what 'webauction' means - but it's definately not the Web-Part of eAuction.
Take a fresh copy of the config file, don't change anything, upload it again and let me know what happens.

Title: Re: Trouble getting eAuction to run
Post by Raymond on 04/08/08 at 18:48:36

OK... I found the problem, but not sure what to edit in the config to fix it. Seems like it is not picking up on the cgi-bin path.

I added (-w) to the top of the script and got:

Error
/usr/lib/eAuction161userreg/prereg
No such file or directory


Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/08/08 at 19:14:55


5A554258360 wrote:
/usr/lib/eAuction161userreg/prereg

There is the cgi-bin and a backslash missing
The path must be
/cgi-bin/Auction161/userreg/prereg
You edited something wrong.

Btw: the -w is not neded because the script uses 'warnings'

Title: Re: Trouble getting eAuction to run
Post by Raymond on 04/08/08 at 19:44:01

I didn't edit anything in the files, per your instruction.

Also -w gives me an error page (described above). Removing the -w gives me an "500 Internal Server page".

Title: Making Progress
Post by Raymond on 04/08/08 at 21:04:09

I am making some progress now.

I changed the config to the following:
$config{'auction_dir'}      = 'cgi-bin/eAuction161/';

Now I get the initial page, with errors about directories not being present (computer, other, yourcat5, etc)

I manually created the directories and made www-data owner.

I'm down to the following error, but not sure how to get past it:

Error
Permission denied
YOUR SET UP IS NOT CORRECT

The corresponding log file shows the following:
[Tue Apr 08 13:29:33 2008] [error] [client 10.10.4.70] Use of uninitialized value in split at /usr/lib/cgi-bin/eAuction161/eAuction.pl line 4070.

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/08/08 at 21:32:00

Please read this
http://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1083175702

Title: Re: Trouble getting eAuction to run
Post by Raymond on 04/08/08 at 21:52:48

Sorry to hear of your frustrations. I would love to contribute my fair share as a user, but hard to do that when I can't get the script to work, based on the supplied instructions. Maybe someone else that has had this type of problem before will know what I need to change.

Title: Re: Trouble getting eAuction to run
Post by Raymond on 04/08/08 at 22:03:26

I apologize for not reading on... I only saw the first post, with your frustrations at the end. I will read the rest of the info and see what I can do.

Thanks for your help.


Title: Got it working!!!
Post by Raymond on 04/08/08 at 23:51:10

Thanks much for the help...

Here is how I got it working for those that read and think the way I do.


1. In eConfig161.pl change $config{'get_path'} to "0"
2. Set $config{'basepath'}  to something safe (/data/auctiondata)
3. In the basepath (/data/auctiondata) create a folder "eAuction161".
4. Make the web user owner of "eAuction161"
5. locate "html_dir" in eAuction.pl. Change it to "eAuction161" . This was the big problem for me. I got access denied errors, and missing folder notices until I changed it to match eConfig161.pl.
6. Follow rest of instructions in eAuction.pl.

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/09/08 at 16:30:32

That's a soluten ...
but I wouldn't recommend to use it in a productive environment.
Reason: The data storage is insecure.

Title: Re: Trouble getting eAuction to run
Post by Raymond on 04/09/08 at 16:36:33

What would you change? It's out of the web server path, so it seemed good to me??

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/09/08 at 17:04:46


Quote:
It's out of the web server path

I'm not sure about this.

The best is:
to have a server that allows you to have directories (and files) above (mens: outsite) the 'htdocs' directory.

And ...
you need to have a web accessible directory (eAuction161) in order to store the uploaded pics (and something more).


Title: Re: Trouble getting eAuction to run
Post by Raymond on 04/09/08 at 17:27:57

That is what I have. The only folder web accessible is auction_pics , and img_upload. My web root is /data/mn-e-store/webauction.

My auction data is in /data/mn-e-store/eAuction161, and images are in /data/mn-e-store/webauction/eAuction161

Does that look OK?

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/09/08 at 18:56:21

I think so ...
but I don't know the filesystem of your server and so I'm not sure.
Simply test it  :)

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/12/08 at 17:19:42

@Raymond
The configuration of your eMail (sender) is wrong  :exclamation

Title: Re: Trouble getting eAuction to run
Post by Ebidnow on 04/15/08 at 19:22:04

trying to set up the auction but i'm not sure what to do if it go in the root or cgi-bin there is real not setup txt can you help with these  :)

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/15/08 at 20:01:23

Sorry, but I don't understand the content of your question.
Can you please be a little more detailed?

Title: Re: Trouble getting eAuction to run
Post by Ebidnow on 04/15/08 at 21:17:53

i got it up is there and add ons to

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/15/08 at 21:38:19


4B6C676A6061790E0 wrote:
i got it up is there and add ons to

Sorry, but your question isn't understandable

Title: Re: Trouble getting eAuction to run
Post by Ebidnow on 04/16/08 at 02:06:30

jhave you made any add on  to the auction script  or any up to date stuff or is all it can do

Title: Re: Trouble getting eAuction to run
Post by Dieter Werner on 04/16/08 at 09:40:40

It's all  :'(

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