Why should I get this error? (Random Thumb)

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.

Comments

  • You will have to fix the permissions on your zp-core folders so that zenphoto can read/write in it and its subfolders.
  • 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 :)
  • Both zp-core and each of the folders there in (recursively). You may also have to do it to the files themselves.
  • Aaaah cool. I really can't remember doing that on my first install.
  • Great stuff!!
    Just 777'd the two files and that's it fixed across the whole site.

    Great community, great app - cheers!
Sign In or Register to comment.