SETUP PROBLEMS

Wow! I'm completely new to Zenphoto & already experienced a very unfriendly outcome.

I downloaded the Zenphoto zip file & unpacked it. I uploaded all the resulting files to my web directory via FTP. I downloaded MySQL & created a data base.

I then "navigated" to my gallery, as per step 4 of the Zenphoto installation instructions.

Then I got:
Welcome to Zenphoto, etc.

BUT, the install was not successful. I got 6 WARNINGS in boxes, as well as 6 ERRORS.

This is a most unfriendly outcome for a novice, & quite frankly the instructions on how to fix each of these problems are totally cryptic to me.

Now what?

Comments

  • acrylian Administrator, Developer
    How about telling what warnings and errors?
  • Of course. I didn't want to complicate things first up. Here goes. This is the response from the zp setup. it goes on & on:

    Welcome to Zenphoto! This page will set up Zenphoto on your web server.

    Systems Check:
    PHP version 5.2.6-1+lenny8
    PHP Safe Mode
    PHP magic_quotes_gpc [is enabled]
    Warning!
    You should consider disabling magic_quotes_gpc. For more information See What is magic_quotes_gpc and why should it be disabled? in the Zenphoto troubleshooting guide.

    Warning: fopen(/home/sites/consphotos.com/public_html/zp-data/setup_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 54

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 55

    Warning: fclose(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 56

    PHP gettext() support
    PHP mbstring package [Your internal character set is ISO-8859-1]
    Warning!
    Setting mbstring.internal_encoding to UTF-8 in your php.ini file is recommended to insure accented and multi-byte characters function properly.

    Warning: fopen(/home/sites/consphotos.com/public_html/zp-data/setup_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 54

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 55

    Warning: fclose(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 56

    PHP MySQL support
    zp-config.php file [does not exist]
    Error!
    Setup was not able to create this file. You will need to edit the zp-config.php.source file as indicated in the file's comments and rename it to zp-config.php. Place the file in the zp-data folder.

    You can find the file in the "zp-core" directory.
    Connect to MySQL [CONNECT query failed]
    Error!
    Access denied for user 'www-data'@'localhost' (using password: NO)
    Zenphoto core files
    Zenphoto core file permissions
    .htaccess file [is empty or does not exist]
    Warning!
    If you have the mod_rewrite module enabled an .htaccess file is required the root zenphoto folder to create cruft-free URLs.

    You can ignore this warning if you do not intend to set the mod_rewrite option. Click here to have setup create the file.

    Warning: fopen(/home/sites/consphotos.com/public_html/zp-data/setup_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 54

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 55

    Warning: fclose(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 56

    Warning: file_put_contents(/home/sites/consphotos.com/public_html/robots.txt) [function.file-put-contents]: failed to open stream: Permission denied in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 1413

    robots.txt file [Not created]
    Warning!
    Setup could not create a robots.txt file.

    Warning: fopen(/home/sites/consphotos.com/public_html/zp-data/setup_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 54

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 55

    Warning: fclose(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 56

    albums folder [The line $conf['album_folder'] is missing from your zp-config.php file]
    Warning!
    You should update your zp-config.php file to conform to the current zp-config.php.example file.

    Warning: fopen(/home/sites/consphotos.com/public_html/zp-data/setup_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 54

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 55

    Warning: fclose(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 56

    cache folder [cache is not writeable and setup could not make it so]
    Error!
    Change the permissions on the cache folder to be writable by the server (chmod 777 cache)
    locale folders
    Warning: fileperms() [function.fileperms]: stat failed for /home/sites/consphotos.com/public_html/uploaded/ in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 654

    Warning: fileperms() [function.fileperms]: stat failed for /home/sites/consphotos.com/public_html/uploaded/ in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 658

    uploaded folder [permissions failure]
    Warning!
    Setup could not change the folder permissions from unknown (00) to strict (0755). You will have to set the permissions manually. See the Troubleshooting guide for details on Zenphoto permissions requirements.

    Warning: fopen(/home/sites/consphotos.com/public_html/zp-data/setup_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 54

    Warning: fwrite(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 55

    Warning: fclose(): supplied argument is not a valid stream resource in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 56

    zp-data folder [zp-data is not writeable and setup could not make it so]
    Error!
    Change the permissions on the zp-data folder to be writable by the server (chmod 777 zp-data)
    HTML cache folder [cache_html is not writeable and setup could not make it so]
    Error!
    Change the permissions on the HTML cache folder to be writable by the server (chmod 777 cache_html)
    Third party plugins folder [plugins is not writeable and setup could not make it so]
    Error!
    Change the permissions on the Third party plugins folder to be writable by the server (chmod 777 plugins)
    You need to address the problems indicated above then run setup.php again.
    Stop

    Chinese (People's Republic of China) Chinese (Taiwan) Dutch (The Netherlands) English (United States) Galician German (Germany) Italian (Italy) Japanese Polish Spanish (Spain) Swedish (Sweden)
  • acrylian Administrator, Developer
    The warnings setup gave itself you can ignore if you don't plan to use what they describe. The others like `Warning: fopen(/home/sites/consphotos.com/public_html/zp-data/setup_log.txt) [function.fopen]: failed to open stream: Permission denied in /home/sites/consphotos.com/public_html/zp-core/setup.php on line 54` are file and folder permissions errors which directly cause the setup errors below.

    You will need to set those manually via FTP. Please see the entry on our troubleshooting entry on the user guide.
  • BTW, you will note that these problems were not caused by Zenphoto but by your server. Sorry if you think it is "unfriendly" for Zenphoto to tell you about why it is unable to run in your environment.

    From your description of your installation process it would seem you are setting up your server your self. If that is so, then you either are not a novice or should not be attempting this complex a process.
  • I uploaded all the files via ftp, and double checked that they are all there. However the setup page said:

    Zenphoto core files [Some files are missing or seem out of variance]
    Warning!

    Perhaps there was a problem with the upload. You should check the following files:
    themes/default/images/50percent.png
    themes/default/images/img-bg.gif
    themes/default/images/tag.png
    themes/default/styles/dark.css
    themes/default/styles/light.css
    themes/default/styles/sterile-dark.css
    themes/default/styles/sterile-light.css
    themes/effervescence_plus/images/slimbox/closelabel.gif
    themes/effervescence_plus/images/slimbox/loading.gif
    themes/effervescence_plus/images/slimbox/nextlabel.gif
    themes/effervescence_plus/images/slimbox/prevlabel.gif
    themes/effervescence_plus/images/smooth/carrow1.gif
    themes/effervescence_plus/images/smooth/carrow2.gif
    themes/effervescence_plus/images/smooth/fleche1.gif
    themes/effervescence_plus/images/smooth/fleche1.png
    themes/effervescence_plus/images/smooth/fleche2.gif
    themes/effervescence_plus/images/smooth/fleche2.png
    themes/effervescence_plus/images/smooth/loading-bar-black.gif
    themes/effervescence_plus/images/smooth/open.gif
    themes/effervescence_plus/images/smooth/open.png
    themes/effervescence_plus/scripts/bluranchors.js
    themes/effervescence_plus/scripts/jd.gallery.js
    themes/effervescence_plus/scripts/jd.gallery.set.js
    themes/effervescence_plus/scripts/jd.gallery.transitions.js
    themes/effervescence_plus/scripts/mootools.v1.11.js
    themes/effervescence_plus/scripts/slimbox.js
    themes/effervescence_plus/scripts/swfobject.js
    themes/effervescence_plus/styles/blue and green play.css
    themes/effervescence_plus/styles/effervescence.css
    themes/effervescence_plus/styles/free chocolates.css
    themes/effervescence_plus/styles/kish-my father.css
    themes/effervescence_plus/styles/machu picchu.css
    themes/effervescence_plus/styles/oktoberfest.css
    themes/effervescence_plus/styles/poolside.css
    themes/effervescence_plus/styles/see you again.css
    themes/stopdesign/404.php
    themes/stopdesign/album.php
    themes/stopdesign/comment.php
    themes/stopdesign/comment_form.php
    themes/stopdesign/contact.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/gallery.php
    themes/stopdesign/image.php
    themes/stopdesign/images/50percent.png
    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/err-passwordprotected.gif
    themes/stopdesign/images/icon_pushpin.gif
    themes/stopdesign/images/imageDefault.png
    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/js/comments.js
    themes/stopdesign/normalizer.php
    themes/stopdesign/password.php
    themes/stopdesign/password_form.php
    themes/stopdesign/register.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
    themes/zenpage/404.php
    themes/zenpage/album.php
    themes/zenpage/archive.php
    themes/zenpage/contact.php
    themes/zenpage/footer.php
    themes/zenpage/functions.php
    themes/zenpage/gallery.php
    themes/zenpage/image.php
    themes/zenpage/images/50percent.png
    themes/zenpage/images/arrow_right.gif
    themes/zenpage/images/body.jpg
    themes/zenpage/images/breadcrumb-back.jpg
    themes/zenpage/images/footer.jpg
    themes/zenpage/images/header.jpg
    themes/zenpage/images/img-bg.gif
    themes/zenpage/images/jcarousel_loading.gif
    themes/zenpage/images/jcarousel_next.png
    themes/zenpage/images/jcarousel_prev.png
    themes/zenpage/images/tag.png
    themes/zenpage/index.php
    themes/zenpage/jcarousel.css
    themes/zenpage/js/jquery.corner.js
    themes/zenpage/news.php
    themes/zenpage/pages.php
    themes/zenpage/password.php
    themes/zenpage/password_form.php
    themes/zenpage/register.php
    themes/zenpage/search.php
    themes/zenpage/sidebar.php
    themes/zenpage/slideshow-controls.png
    themes/zenpage/slideshow.css
    themes/zenpage/slideshow.php
    themes/zenpage/style.css
    themes/zenpage/theme.png
    themes/zenpage/themeoptions.php
    themes/zenpage/theme_description.php
    zp-core/locale/de_DE/LC_MESSAGES/zenphoto.mo
    zp-core/locale/de_DE/LC_MESSAGES/zenphoto.po
    zp-core/locale/de_DE/select_files_button.png
    zp-core/locale/es_ES/LC_MESSAGES/zenphoto.mo
    zp-core/locale/es_ES/LC_MESSAGES/zenphoto.po
    zp-core/locale/es_ES/select_files_button.png
    zp-core/locale/it_IT/LC_MESSAGES/zenphoto.mo
    zp-core/zp-extensions/class-textobject.php
    zp-core/zp-extensions/class-video.php
    zp-core/zp-extensions/comment_form.php
    zp-core/zp-extensions/contact_form.php
    zp-core/zp-extensions/deprecated-functions.php
    zp-core/zp-extensions/dynamic-locale.php
    zp-core/zp-extensions/filter-crop_image.php
    zp-core/zp-extensions/filter-zenphoto_seo.php
    zp-core/zp-extensions/flowplayer3.php
    zp-core/zp-extensions/flowplayer3_playlist.php
    zp-core/zp-extensions/google_maps.php
    zp-core/zp-extensions/hitcounter.php
    zp-core/zp-extensions/html_meta_tags.php
    zp-core/zp-extensions/image_album_statistics.php
    zp-core/zp-extensions/image_upload_limiter.php
    zp-core/zp-extensions/jcarousel_thumb_nav.php
    zp-core/zp-extensions/menu_manager.php
    zp-core/zp-extensions/paged_thumbs_nav.php
    zp-core/zp-extensions/PHPMailer.php
    zp-core/zp-extensions/print_album_menu.php
    zp-core/zp-extensions/quota_manager.php
    zp-core/zp-extensions/rating.php
    zp-core/zp-extensions/register_user.php
    zp-core/zp-extensions/seo_locale.php
    zp-core/zp-extensions/sitemap-extended.php
    zp-core/zp-extensions/slideshow.php
    zp-core/zp-extensions/static_html_cache.php
    zp-core/zp-extensions/tags_from_album.php
    zp-core/zp-extensions/tag_suggest.php
    zp-core/zp-extensions/user_groups.php
    zp-core/zp-extensions/user_login-out.php
    zp-core/zp-extensions/viewer_size_image.php
    zp-core/zp-extensions/xmpMetadata.php
    zp-core/zp-extensions/zenpage/admin-news-articles.php
    zp-core/zp-extensions/zenpage/admin-pages.php
    zp-core/zp-extensions/zenpage/editor_config.js.php
    zp-core/zp-extensions/zenpage/editor_config_light.js.php
    zp-core/zp-extensions/zenpage/index.php
    zp-core/zp-extensions/zenpage/zenpage-admin-functions.php
    zp-core/zp-extensions/zenpage/zenpage-class-news.php
    zp-core/zp-extensions/zenpage/zenpage-class-page.php
    zp-core/zp-extensions/zenpage/zenpage-functions.php
    zp-core/zp-extensions/zenpage/zenpage-template-functions.php
    zp-core/zp-extensions/zenpage/zenpage.css
    zp-core/zp-extensions/zenpage.php
    zp-core/zp-extensions/zenphoto_news
    zp-core/zp-extensions/zenphoto_news/rsslib.php
    zp-core/zp-extensions/zenphoto_news.php
    zp-core/zp-extensions/zenphoto_sendmail.php

    It will not let me continue (there is no "Go" link). I've checked that all these files ARE listed. I've even resent them, still get the same warning. What do I do now?
  • Also....

    MySQL setup in zp-config.php
    Error!

    Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

    How do I fix this?
  • acrylian Administrator, Developer
    THe files is a warning. Regarding hte MySQL error make sure you entered the right details. And if you think you did and it still does not work, ask your host about it.
  • If you first removed the existing zenphoto files (see the install documentation) then your FTP must take considerable time or it did not upload those files. Setup checks the timestamp of the files for consistency. Yours seem not to be all uploaded at the same time.
  • iam having a huge problem installing this software to use with my site been threw all the tutorial online no luck please help me
  • No need to post multiple times. We will only help you once.
  • trouble finding zp-data map

    Je kunt het bestand vinden in de "zp-core" map.

    Problem with zenphoto.cfg. Set-up couldn't find this and I had to make some changes by hand (filled in database-user etc)
    I have to copy this zenphoto.cjg in de zp-data map. Where can I find this??? Do I overlook something??
    Please like an answer from somebody!
  • acrylian Administrator, Developer
    This is the structure you should see after uploading. No way to miss zp-data:
    http://www.zenphoto.org/news/installation-and-upgrading#4
Sign In or Register to comment.