Gossamer Forum
Home : Products : DBMan : Customization :

problems with file_upload2

Quote Reply
problems with file_upload2
I seem to have difficulties uploading the graphic file using the file_upload2 mod. I get the following message which is not a lot of help:

Error Message : error in add_record. unable to open database: ./property.db.
Reason: Permission denied
Script Location : /var/www/www.scotads.com/cgi-bin/scotland/newads.cgi
Perl Version : 5.006001
Setup File : PROPERTY.cfg
User ID : twiddle
Session ID : twiddle.105580593587215

You can find the cfg file <a href="http://www.scotads.com/scotland/PROPERTY.txt>here.</a>

The .pl file is <a href="http://www.scotads.com/scotland/propertypl.txt>here.</a>

You can view properties but that is all. I have been trying to fix this for days now.

It is a linux server.
Quote Reply
Re: [gazzer] problems with file_upload2 In reply to
Frown It would seem that there is no answer to this problem, as this is not the first time it has been reported but nobody has provided an answer to previous requests.

I guess then, that the file_upload mod just does not work properly and will just have to remove it.
Quote Reply
Re: [gazzer] problems with file_upload2 In reply to
Do you have your permissions set correctly on the property.db file?

The error seems to imply that the file permission may not be set correctly.

Unoffical DBMan FAQ

http://creativecomputingweb.com/dbman/index.shtml/