eAuction
  Not just another Perl script
Google
Welcome, Guest. Please Login or Register


If you use eAuction a lot and like it or if you make money from eAuction or from eAuction-related activities ...
then the project asks you for a donation in favor of the further development.



The forums are protected by
AccessControl
(written by Dieter Werner)
Click here if you want to check your IP against the most important RBLs of the net.
Click here in order to visite the AccessControl forums.


<< Visit the international e Auction Marketplace >>
Buy and sell PC and Consumer Electronic components






  HomeHelpSearchLoginRegister
 



Pages: 1 2 
setup and install issues - (Read 479 times)
paperlion
eAuction User
**
Offline

I love Perl

Posts: 12

setup and install issues -
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.)
Back to top
 
 


Advertising
View Profile   IP Logged
Dieter Werner
Administrator
*****
Offline

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: setup and install issues -
Reply #1 - 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
Back to top
 
 

Multimedia file viewing and clickable links are available for registered members only!!  You need to Login or Register!!


Greetings from Germany
Dieter Werner




Advertising
View Profile | WWW   IP Logged
paperlion
eAuction User
**
Offline

I love Perl

Posts: 12

Re: setup and install issues -
Reply #2 - 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.
Back to top
 
 


Advertising
View Profile   IP Logged
Pages: 1 2 


If you like eAuction, please Rate it.
If you don't like eAuction, please Rate it too.


1 is being poor and 10 is being excellent


EveryScript

ip-location


AccessControl - Members Only