The eAuction Support Forums
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl
eAuction 1.6.1.x >> Start Up and more >> setup and install issues -
https://www.everyscript.de/cgi-bin/yabb/YaBB.pl?num=1117743320

Message started by paperlion on 06/02/05 at 22:15:20

Title: setup and install issues -
Post by paperlion on 06/02/05 at 22:15:20

Having trouble getting this off the ground. Program either generates a blank screen, or a 'script ended early' error (re: eAuction.pl)

I duplicated sections of the eConfig161.pl file where I suspect the problem may be. Does anyone notice anything out of place?

Thanks for your help.


from eConfig161.pl

# Use-Section
#
   use strict;
Is there an alternate choice for this? Would anything be incompatible with this mode?

# Config-Section-01
...
# The Path to a 'NON-WEBACCESSABLE' directory of your system
# Maybe you have to chmode it if you use your own setting

  $config{'get_path'}              = 1; # Set this from 1 to 0 if you want to use your own setting  
  $config{'basepath'}              = '/home/accountname/public_html/private_eauction';
This was my second choice - at least to test with, but it didn't help. First attempt was with:
'/home/accountname/private_eauction'; (tried both with permissions @ 755 and 777).
...
# Set this from 0 to 1 if the script is running with a real Web-Server
   $config{'web_server'}      = 1;
I'm running under a shared (Unix) host. The invoice is real, what would zero be for? (I tried it both ways anyway).
...

#-#############################################
# Config-Section-02
#-#############################################

# Closed Auction Directory  
# This is where closed auction items are stored.
   $config{'closedir'}            = 'closed';
Does this need an actual directory to be setup or are these dynamic or automatically created folders? If so, where would they need to be setup?...

# User Registration Directory
# This is where user registrations are stored.
If this needs to be setup by the admin, where?
...

# Change this to 0 if your server doesn't support file locking
   $config{'flock'}            = 1; # 1 = yes | 0 = no
My host wasn't sure if file locking was supported. I tried both settings. Is this known under another name with Unix servers? Is the info available anywhere, like in PHPmyadmin?

# Set this from 1 to 0 if you don't want Runtime-Informations
   $config{'disp_runtime'}      = 1;
Wasn't sure what this was?

# Set this from 1 to 0 if you don't want to print out
# 'Users Phone-/Fax-Informations'
   $config{'print_phone_fax'}      = 1; # 1 = yes | 0 = no
Does this really mean printouts, or having the info saved to a file? (I could wait on this one - but since I can't work with the program yet, thought I would just ask about it.)

Title: Re: setup and install issues -
Post by Dieter Werner on 06/03/05 at 10:21:29


Code:
# Config-Section-01
# The Path to a 'NON-WEBACCESSABLE' directory of your system
# Maybe you have to chmode it if you use your own setting

But this

Code:
   
  $config{'basepath'}    = '/home/accountname/public_html/private_eauction';

is just a WEBACCESSABLE directory


Code:

  $config{'get_path'}    = 1; # Set this from 1 to 0 if you want to use your own setting    

Set this from 1 to 0 if you want to use your own setting

Title: Re: setup and install issues -
Post by paperlion on 06/03/05 at 15:10:46

Code:    
  $config{'basepath'}    = '/home/accountname/public_html/private_eauction';  


is just a WEBACCESSABLE directory

Yes, but as I wrote:
This was my second choice - at least to test with, but it didn't help. First attempt was with:
'/home/accountname/private_eauction'; (tried both with permissions @ 755 and 777).

The reason I did this was in case the errors I am getting were caused by directing the program to a folder outside public_html incorrectly. It was just to test the program with one less variable. Would having this pointer look for a WEB ACCESSIBLE directory cause it to hang? I thought this would only be a security-based requirement.

Code:
  $config{'get_path'}    = 1; # Set this from 1 to 0 if you want to use your own setting      


Set this from 1 to 0 if you want to use your own setting

I tried it on '0' but I just get a blank screen. What would example be of both types of settings? (Am not clear on what a non-custom setting would be.)

Does everything else here look okay for a Unix setup?

I thought my lack of understanding about the other questions might be causing wrong settings. Also, knowing their meaning might help me be able to troubleshoot and might be helpful to others on the board too. I pasted these from the eConfig161 file with section headings as arranged there for easier reference.

I don't know what might be wrong here.

Title: Re: setup and install issues -
Post by paperlion on 06/03/05 at 18:47:43

ran the dump.pl script I noticed in another post.

Thought this piece looked funny, although the dump.pl script ran fine itself. Anything obvious here?

PATH => /usr/local/bin:/usr/bin:/bin

Here's my current Config Section 1.

   $config{'cgi_dir'}            = 'cgi-bin';    
   $config{'auction_dir'}      = 'eAuction161';
   $config{'get_path'}      = 1;  

   $config{'basepath'}
NOTE: I've tried each of the following for basepath:
get_path = 0
get_path = 1 with:
'/home/torahave/public_html/cgi-bin';
'/home/torahave/public_html/cgi-bin/eAuction161';
'/home/torahave/public_html/cgi-bin/eAuction161/eAuction161';
'/usr/local/bin:/usr/bin:/bin';

  $config{'get_mail'}            = 1;  
  $config{'mailprog'}            = '/usr/sbin/sendmail';    

   $config{'web_server'}      = 1;
I am running live, but tried '0' fo web_server too.

Title: Re: setup and install issues -
Post by paperlion on 06/03/05 at 21:34:21

Have become more familiar with some of the posts and tried this, think I'm getting close, so thought to place it here...

   $config{'cgi_dir'}            = '/home/torahave/public_html/cgi-bin';
   
   $config{'auction_dir'}      = 'eAuction161';
   
  $config{'get_path'}      = 0;  
  $config{'basepath'}      = '/home/torahave/scgi-bin';

  $config{'get_mail'}      = 1;
  $config{'mailprog'}      = '/usr/sbin/sendmail';
 
  $config{'web_server'}      = 1;

I received the following from my web host as a written response for support help:

A browser can only access folders within public_html.

I imagine scripts are acting as relays, working internally, and a script run from a publically located folder (i.e., www.mydomain.com/cgi-bin/eAuction161/eAuction.pl) can access directories hidden to the public.

f so, would there be any settings to check such as for chmod permissions on the non-public scgi-bin (now set to 755)?

thank you.

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