I was using Zenphoto and everything was ok. After Upgrading I have a huge problem: I cant Upload photos.
The problem begin with the install of version Zenphoto 1.2.4. At the setup routine check up I get varios warning messages that I was not able to resolve and didnt find in the user guide:
"Strict Permissions [is not in effect]
Warning!
When this option is not in effect, file and folder permissions are relaxed. This could constitute a security risk so it is recommended that you enable Strict Permissions. However, on some servers Zenphoto does not function correctly with strict file/folder permissions. If you enable this option and Zenphoto has permission errors, run setup again and disable the option.
Click here to use strict file/folder permissions.
NOTE: This option applies only to new files and folders created by Zenphoto. You may have to change permissions on existing ones to resolve problems."
The other warning message was regarding missing files (that I didnt find in the install package):
"Zenphoto core files [Some files are missing or their filemtimes seem out of variance.]
Warning!
Perhaps there was a problem with the upload. You should check the following files:
index.php
themes/default/styles/dark.css
themes/default/styles/light.css
themes/default/styles/sterile-dark.css
themes/default/styles/sterile-light.css
themes/stopdesign/album.php
themes/stopdesign/css/comments-hide.css
themes/stopdesign/css/comments-show.css
themes/stopdesign/css/custom.css
themes/stopdesign/css/master.css
themes/stopdesign/css/photos.css
themes/stopdesign/image.php
themes/stopdesign/images/bg_gal.gif
themes/stopdesign/images/bg_gal.png
themes/stopdesign/images/bg_page.jpg
themes/stopdesign/images/bg_path.gif
themes/stopdesign/images/bg_shadow.png
themes/stopdesign/images/bg_slide.gif
themes/stopdesign/images/bg_slide.png
themes/stopdesign/images/bg_slide_sm.gif
themes/stopdesign/images/bg_slide_sm.png
themes/stopdesign/images/btn_add_a_comment.gif
themes/stopdesign/images/btn_all_favorites.gif
themes/stopdesign/images/btn_gallery_archive.gif
themes/stopdesign/images/btn_go.gif
themes/stopdesign/images/btn_hide.gif
themes/stopdesign/images/btn_preview.gif
themes/stopdesign/images/btn_rss.gif
themes/stopdesign/images/btn_save.gif
themes/stopdesign/images/btn_show.gif
themes/stopdesign/images/btn_submit.gif
themes/stopdesign/images/btn_view_gallery.gif
themes/stopdesign/images/bullet_white.gif
themes/stopdesign/images/canon_sd10.jpg
themes/stopdesign/images/divider_l.gif
themes/stopdesign/images/divider_l.png
themes/stopdesign/images/divider_r.gif
themes/stopdesign/images/divider_r.png
themes/stopdesign/images/icon_pushpin.gif
themes/stopdesign/images/moreslide_next.gif
themes/stopdesign/images/moreslide_prev.gif
themes/stopdesign/images/photonav_next.gif
themes/stopdesign/images/photonav_next.png
themes/stopdesign/images/photonav_prev.gif
themes/stopdesign/images/photonav_prev.png
themes/stopdesign/images/slide_minis.gif
themes/stopdesign/images/txt_backward.gif
themes/stopdesign/images/txt_forward.gif
themes/stopdesign/index.php
themes/stopdesign/search.php
themes/stopdesign/slideshow-controls.png
themes/stopdesign/slideshow.css
themes/stopdesign/slideshow.php
themes/stopdesign/theme.png
themes/stopdesign/themeoptions.php
themes/stopdesign/theme_description.php"
Either way I create the data bases and started using the app. But when I try to upload files in the conventional way trough mozilla, exporer (not via FTP), I get a problem message:
"
Warning: move_uploaded_file(/home/marina/domains/marinagutierrez.com.mx/public_html/zenphoto/albums/anillos/perno-maquina-cafe.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in /home/marina/domains/marinagutierrez.com.mx/public_html/zenphoto/zp-core/admin-upload.php on line 68
Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpFJ2Dle' to '/home/marina/domains/marinagutierrez.com.mx/public_html/zenphoto/albums/anillos/perno-maquina-cafe.jpg' in /home/marina/domains/marinagutierrez.com.mx/public_html/zenphoto/zp-core/admin-upload.php on line 68
Warning: Cannot modify header information - headers already sent by (output started at /home/marina/domains/marinagutierrez.com.mx/public_html/zenphoto/zp-core/admin-upload.php:68) in /home/marina/domains/marinagutierrez.com.mx/public_html/zenphoto/zp-core/admin-upload.php on line 80"
Any ideas? Thanks very much for your time.
Bernardo
Comments
You are just not allowed to upload so you need to set the permissions for zp-core via ftp manually. Try 777 first and also read our troubleshooting entry on the user guide.