Forums

PHP

This topic is locked

PHP file permissions?

Posted 18 Apr 2007 11:51:20
1
has voted
18 Apr 2007 11:51:20 cath embley posted:
Hi,

I am following Allan Kent's tutorial for the PHP/CSS searchable image gallery. I've got the database connection up and running in DW no probs. I'm a little stuck (being a bit of a newbie sorry) at the point where it comes to populating the database. If I try to view the admin.php page I get the following error message "A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again."

I don't know if this is something that I can fix or if my hosting company need to help me with?

Anyone else come across this problem and know of a fix?

Does Allan Kent have a support forum for his tutorials?

Thanks

Replies

Replied 18 Apr 2007 12:36:12
18 Apr 2007 12:36:12 cath embley replied:
Hi again,

Okay I have fixed the latter problem - I changed my permissions to 755 and that seems to have got me a step closer to where I want to be or at least I am no longer getting the file permissions error. INSTEAD I am now getting an error message saying "Fatal error: Call to undefined function: virtual() in /home/sites/mydomain.com/public_html/photos/admin.php on line 1"

I have no idea where to go from here... can anyone advise on how to "define" this virtual() function please?

Thanks again

Reply to this topic