i am getting the following error (the two paths following the 'Error' line i added):
Quote:Use of uninitialized value in split at /var/www/hosts/pdx.memebot.com/cgi-bin/eAuction161/eAuction.pl line 3997.
Error
/var/www/hosts/pdx.memebot.com/eAuction161
/var/www/html/eAuction
Permission denied
YOUR SET UP IS NOT CORRECT
the first path is what is returned as the basepath; the second, the html_path.
the pathing information from my config file is as follows:
Quote:#-#############################################
# Config-Section-01
#-#############################################
# The name of your servers cgi-bin directory
$config{'cgi_dir'} = 'cgi-bin'; # Default for most servers
# The cgi-bin subdirectory where your eAuction.pl will be stored
$config{'auction_dir'} = 'eAuction161';
# 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'} = '/var/www/hosts/pdx.memebot.com/';
# You need to assign either a mail program or
# a mail host so e-mails can be sent out.
# Configure your MAIL PROGRAM
$config{'get_mail'} = 0; # Set this from 1 to 0 if you want to use your own setting
$config{'mailprog'} = '/usr/bin/sendmail'; # no additional options please
# or Configure your MAIL HOST (SMTP)
#$config{'mailhost'} = 'http://YourSMTP-Host';
# Set this from 0 to 1 if the script is running with a real Web-Server
$config{'web_server'} = 0;
whether i set get_path to 0 or use the custom basepath listed above, i get the same basepath, /var/www/hosts/pdx.memebot.com/eAuction161, without an ending '/'. when i scan the code for basepath, however, i see references expecting an ending '/'. am i missing something?
anyhow, my server configuration, with permissions in brackets, is as follows:
/root
|
|--/eAuction161 [777]
|
|--/cgi-bin/eAuction161 [755]
| ../eAuction.pl [755]
| ../eConfig161.pl [644]
lastly, the output from dump.pl is as follows:
Quote:Environment:
DOCUMENT_ROOT => /var/www/html
GATEWAY_INTERFACE => CGI/1.1
HTTP_ACCEPT => text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,
image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET => ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING => gzip,deflate
HTTP_ACCEPT_LANGUAGE => en-us,en;q=0.5
HTTP_CONNECTION => keep-alive
HTTP_COOKIE => __utma=262015505.52249455.1153524596.1153633509.1153657093.6; __utmz=262015505.1153524596.1.1.utmccn=(referral)|utmcsr=free-webhosts.com|utmcc
t=/reviews/Memebot.php|utmcmd=referral
HTTP_HOST => pdx.memebot.com
HTTP_KEEP_ALIVE => 300
HTTP_USER_AGENT => Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.5) Gecko/20060731 Ubuntu/dapper-security Firefox/1.5.0.5
PATH => /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
PATH_TRANSLATED => /var/www/hosts/pdx.memebot.com/public_html/pdx.memebot.com/eAuction161/dump.pl
QUERY_STRING =>
REDIRECT_STATUS => 200
REQUEST_METHOD => GET
REQUEST_URI => /cgi-bin/eAuction161/dump.pl
SCRIPT_FILENAME => /var/www/hosts/pdx.memebot.com/cgi-bin/eAuction161/dump.pl
SCRIPT_NAME => /cgi-bin/pdx.memebot.com/eAuction161/dump.pl
SCRIPT_URI => Multimedia file viewing and clickable links are available for registered members only!! You need to
or
!!
SCRIPT_URL => /cgi-bin/eAuction161/dump.pl
SERVER_ADDR => 209.51.200.18
SERVER_ADMIN => root@localhost
SERVER_NAME => pdx.memebot.com
SERVER_PORT => 80
SERVER_PROTOCOL => HTTP/1.1
SERVER_SIGNATURE =>
Apache/2.0.54 (Fedora) Server at pdx.memebot.com Port 80
SERVER_SOFTWARE => Apache/2.0.54 (Fedora)
my site, obviously, is pdx.memebot.com, if anyone interested in assisting would like to access it for themselves.
please advise as to what settings may be amiss in my setup, or whether you require more information to make such an assessment.
tia,
daVe