when I try to upload a image, i get this error:
Warning: mkdir(/home/id1181/domains/advmedia.nl/public_html/school/hanenburcht/album/zenphoto/albums/123) [function.mkdir]: Permission denied in /home/id1181/domains/advmedia.nl/public_html/school/hanenburcht/album/zenphoto/zen/admin.php on line 106
Warning: move_uploaded_file(/home/id1181/domains/advmedia.nl/public_html/school/hanenburcht/album/zenphoto/albums/123/1.jpg) [function.move-uploaded-file]: failed to open stream: No such file or directory in /home/id1181/domains/advmedia.nl/public_html/school/hanenburcht/album/zenphoto/zen/admin.php on line 118
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/php9cPkJP' to '/home/id1181/domains/advmedia.nl/public_html/school/hanenburcht/album/zenphoto/albums/123/1.jpg' in /home/id1181/domains/advmedia.nl/public_html/school/hanenburcht/album/zenphoto/zen/admin.php on line 118
MySQL Query ( INSERT INTO `` (`title`) VALUES ('123'); ) Failed. Error: Incorrect table name ''
plz can someone help me??
Comments
Or if you have SSH shell access, run `chmod 777 albums` from the zenphoto directory.
Also, check your zp-config.php to see if you have the correct database name, it looks like that's going to be a possible problem (unrelated to this one).
After chmodding 'albums', i got this error (probably the same):
Warning: move_uploaded_file() [function.move-uploaded-file]: SAFE MODE Restriction in effect. The script whose uid is 1007 is not allowed to access /home/id1181/domains/advmedia.nl/public_html/school/hanenburcht/album/zenphoto/albums/pand owned by uid 1001 in /home/id1181/domains/advmedia.nl/public_html/school/hanenburcht/album/zenphoto/zen/admin.php on line 118
Warning: Cannot modify header information - headers already sent by (output started at /home/id1181/domains/advmedia.nl/public_html/school/hanenburcht/album/zenphoto/zen/admin.php:118) in /home/id1181/domains/advmedia.nl/public_html/school/hanenburcht/album/zenphoto/zen/admin.php on line 133
I would ask your host to disable safe mode, and if they don't, I'd personally consider them not worth paying for. It's a crippled PHP installation you've got there.
That said, you can still upload just fine using FTP, but I'm not sure about your clients...