ZenphotoCMS Forum
Why should I get this error? (Random Thumb) - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: Why should I get this error? (Random Thumb) (/thread-3469.html)



Why should I get this error? (Random Thumb) - invision - 2008-08-14

Hi,

Recently moved my zenphoto over to a new server, changed my zp-config file, made the write permissions.

The random image thumb displays correctly, but I now get the following PHP errors next to it.....

`Warning: copy(/home/mysite/public_html/test/gallery/albums/multimediaDefault.png) [function.copy]: failed to open stream: Permission denied in /home/mysite/public_html/test/gallery/zp-core/controller.php on line 14

Warning: copy(/home/mysite/public_html/test/gallery/albums/zen-logo.jpg) [function.copy]: failed to open stream: Permission denied in /home/mysite/public_html/test/gallery/zp-core/controller.php on line 15`

I cannot access the Gallery at all because of similar error messages.
Perhaps a clean re-install is required.

Any idea fella's ? Is this a common set of errors?

Many thanks.




Why should I get this error? (Random Thumb) - sbillard - 2008-08-14

You will have to fix the permissions on your zp-core folders so that zenphoto can read/write in it and its subfolders.




Why should I get this error? (Random Thumb) - invision - 2008-08-14

Thanks for the reply!
OK. So I should chmod '777' my 'zp-core' folder, or the folders within it?
Sorry for the confusion, really appreciate the help




Why should I get this error? (Random Thumb) - sbillard - 2008-08-14

Both zp-core and each of the folders there in (recursively). You may also have to do it to the files themselves.




Why should I get this error? (Random Thumb) - invision - 2008-08-14

Aaaah cool. I really can't remember doing that on my first install.




Why should I get this error? (Random Thumb) - invision - 2008-08-14

Great stuff!!
Just 777'd the two files and that's it fixed across the whole site.

Great community, great app - cheers!