Gossamer Forum
Home : Products : Links 2.0 : Discussions :

error in add_record

Quote Reply
error in add_record
I have been adding links the past few days normally through the add.cgi script as well as through the admin interface. However, occasionaly I get the following error:

Code:
CGI ERROR
==========================================
Error Message : error in add_record. unable to open database: /usr/home8/emmgee/public_html/genlinx/links/admin/data/links.db.
Reason: Permission denied
Script Location : /usr/home8/emmgee/public_html/genlinx/links/admin/admin.cgi
Perl Version : 5.00503
How can I fix this and what is wrong? Thanks! :)

Quote Reply
Re: error in add_record In reply to
Change the permission of your links.db to write and read permissions (rw-rw-rw-) or chmod 666.

Regards,

Eliot Lee

Quote Reply
Re: error in add_record In reply to
I found the problem:

I had added a new category without rebuilding the database before adding the link into the new category. Thus the error. Hope this helps, if anyone has experienced the same problem.

Cheers,
Mike