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 3 
Bad file despcriptor and permission denied (Read 554 times)
confused
eAuction User
**
Offline

I'm doomed

Posts: 10

Gender: male
Re: Bad file despcriptor and permission denied
Reply #3 - 02/28/04 at 16:38:50
 
I agree width "D"  - But even if you can change the paths by hand, with FREE  Web accounts, there is no guarantee that you will be able to access the  directory needed to place eAuction "userreg" and "rating" files in the proper directory. This is also where your categories are stored so I wouldn't put them anywhere else if I could help it.

Most free accounts don't allow access to any directory except "public" (i.e.We accessable") directories.

Why not just get a paid account?

You can host your auction for less than $6 a month with 100mb - That's what I'm doing. You'll save yourself a lot of frustration because most "paid" accounts give you full access to any directories you need, so you won't have to worry about "NON ACCESSABLE" errors which seems to be the trouble you are having.

Just for the record  - I have never been able to get much of any perl or cgi scripts to work on a "free" accounts, especially "Netfirms" , unless you get a paid account from them which is expensive for what you get (or don't)

I won't promote on this forum, but if you e-mail me, I'll give you the name of the hosting company I use. They are very reliable and have an excellent array of admin tools etc. etc. for dirt cheap.
Back to top
 
 


Advertising
View Profile   IP Logged
froob
eAuction Novice
*
Offline

I love Perl

Posts: 2

Re: Bad file despcriptor and permission denied
Reply #4 - 03/31/04 at 22:28:01
 
I did this:

# 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'}              = 0; # Set this from 1 to 0 if you want to use your own setting  
  $config{'basepath'}              = '/mnt/web_h/d12/s07/b01ea042/cgi-bin/eauction_161/eauction161';

# 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/lib/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'}      = 1;
   
Plus: in the auction.pl i changed this:
$config{'html_path'} = "$ENV{'DOCUMENT_ROOT'}/www/$config{'html_dir'}";  

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


I know I must be doing something wrong because it works for florinfo on this server... but I don'y know what the problem is :(    
This is my problem
Bad file despcriptor
YOUR SET UP IS NOT CORRECT

Thanks
Back to top
 
 


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

Dipl. Paranoiac ®

Posts: 1162
Germany
Gender: male
Re: Bad file despcriptor and permission denied
Reply #5 - 04/01/04 at 10:59:21
 
Your basepath is:
'/mnt/web_g/d31/s34/b01e1125/www/eAuction_161/eAuction161'

Search the script eAuction.pl for
sub get_path

Search this sub for the line
$config{'html_path'} = "$ENV{'DOCUMENT_ROOT'}/$config{'html_dir'}";

Replace this line with:
$config{'html_path'} = "$ENV{'DOCUMENT_ROOT'}/www/$config{'html_dir'}";

Upload the scripts to the directory
/cgi-bin/eAuction161

Create a directory
/cgi-bin/eAuction_161

Create a directory
/cgi-bin/eAuction_161/eAuction161

chmod = 777 (both directories)


Run your Auction via browser.
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
Pages: 1 2 3 


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