Upgrade : Fatal error

Hi,
I'm trying to upgrade from 1.4.2.4 t0 1.4.6 and all I get on the setup page is a blank page with this message :
Fatal error: Call to undefined function zp_error() in /home/xxx/public_html/zp-core/functions-config.php on line 19

Here is a the error.log :
[01-Jun-2014 13:40:24] PHP Warning: include(/home/xxx/public_html/zp-core/index.php) [function.include]: failed to open stream: No such file or directory in /home/xxx/public_html/index.php on line 28
[01-Jun-2014 13:40:24] PHP Warning: include() [function.include]: Failed opening '/home/xxx/public_html/zp-core/index.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/xxx/public_html/index.php on line 28

Do you have any idea about how to solve it ?

Comments

  • acrylian Administrator, Developer
    That sounds like a permission error actually. Is the file really there in case the upload broke? Generally it is recommende to update in 1.4.x steps although it generally should probably work.
  • flu Member
    Hi Malte,
    the file has been uploaded there and is not corrputed.
    You mean that I should first upgrade to 1.4.3 then 1.4.4 etc ?

    It will take years !
  • acrylian Administrator, Developer
    I know but properly tested is generally only the direct upgrade from the version before.

    The error either means the file is not there or it cannot be accessed. No other idea right now if that isn't it.
  • flu Member
    Thank you Malte,
    I'll try this way.
  • slyt Member
    Did you handle this problem this way ? I have the same problem after unsuccesful upgrade from 1.4.3 to 1.4.6 (current).

    Beside I have no idea where I can download all archives between 1.4.3 and 1.4.6 .
  • acrylian Administrator, Developer
  • slyt Member
    Could you publish that link on "Download" page ?
  • acrylian Administrator, Developer
    I will see if that fits. But we want to encourage to regulary update of course :-)
  • slyt Member
    The suggested solution doesnt work. Still have "Fatal error: Call to undefined function zp_error() in /home/[cut]/public_html/photos/zp-core/functions-config.php on line 19"
  • acrylian Administrator, Developer
    Other error log entries? Permissions correct?
  • slyt Member
    There is nothing special for permissions - 0644 for files / 0755 for most folders, except 0600 for some files in zp-data.

    I can't find nothing special in logs. Error log for subdomain in empty, normal logs only robot access. Logs in /zp-data:
    debug.log - last entry from 2013,
    security.log - last log from succesfull admin login before upgrade,
    setup.log - records only results 1.4.3 upgrade.
  • acrylian Administrator, Developer
    Try deleting the config file in zp-data (save your credentials before). The error in that place is only related to a corrupt config file. Why the fatal error I cannot answer without investigation.
  • slyt Member
    One step forward.
    Now I have:
    `Welcome to Zenphoto! This page will set up Zenphoto 1.4.6 on your web server.

    Systems Check:

    Reinstalling current Zenphoto release

    zp-data security

    PHP version 5.5.11

    PHP Sessions.

    PHP Register Globals

    PHP Safe Mode

    PHP magic_quotes_gpc

    PHP magic_quotes_runtime

    PHP magic_quotes_sybase

    PHP display_errors

    PHP gettext() support

    PHP flock support

    PHP mbstring package

    Graphics support: PHP GD library bundled (2.1.0 compatible)

    zenphoto.cfg.php file

    File Permissions [are strict (0644)] Notice! click for details

    The Zenphoto filesystem character define is ISO-8859-1 [assumed]

    Image URIs appear to require the UTF-8 character set.

    PHP MySQLi support for configured Database

    PHP PDO_MySQL support

    PHP MySQL support

    MySQLi version 5.5.37

    Connect to MySQLi

    SQL mode

    Database access rights for [table_name]

    SHOW TABLES found: zp_admin_to_object, zp_administrators, zp_albums, zp_captcha, zp_comments, zp_images, zp_menu, zp_news, zp_news2cat, zp_news_categories, zp_obj_to_tag, zp_options, zp_pages, zp_plugin_storage, zp_search_cache, zp_tags

    Database field collations

    Zenphoto core files [Some files are missing or seem wrong]

    Warning!

    Perhaps there was a problem with the upload. You should check the following files:

    index.php

    zp-core/zp-extensions/tweet_news/twitter_newbird_blue.png

    zp-core/zp-extensions/tweet_news/twitteroauth.php

    zp-core/zp-extensions/uploader_http/httpupload.css

    zp-core/zp-extensions/uploader_http/httpupload.js

    zp-core/zp-extensions/uploader_http/upload_form.php

    zp-core/zp-extensions/uploader_http/uploader.php

    zp-core/zp-extensions/uploader_jQuery/application.js

    zp-core/zp-extensions/uploader_jQuery/jquery.fileupload-ui.css

    zp-core/zp-extensions/uploader_jQuery/jquery.fileupload-ui.js

    zp-core/zp-extensions/uploader_jQuery/jquery.fileupload.js

    zp-core/zp-extensions/uploader_jQuery/jquery.iframe-transport.js

    zp-core/zp-extensions/uploader_jQuery/jquery.tmpl.min.js

    zp-core/zp-extensions/uploader_jQuery/jqueryui/jquery-ui-zenphoto.js

    zp-core/zp-extensions/uploader_jQuery/pbar-ani.gif

    zp-core/zp-extensions/uploader_jQuery/upload_form.php

    zp-core/zp-extensions/uploader_jQuery/uploader.php

    zp-core/zp-extensions/user-expiry/user-expiry-tab.php

    zp-core/zp-extensions/user_groups/user_groups-tab.php

    zp-core/zp-extensions/wordpress_import/wpmini-blue.png

    zp-core/zp-extensions/zenpage/admin-categories.php

    zp-core/zp-extensions/zenpage/admin-edit.php

    zp-core/zp-extensions/zenpage/admin-news-articles.php

    zp-core/zp-extensions/zenpage/admin-pages.php

    zp-core/zp-extensions/zenpage/deprecated-functions.php

    zp-core/zp-extensions/zenpage/images/add.png

    zp-core/zp-extensions/zenpage/images/clock.png

    zp-core/zp-extensions/zenpage/images/folder.png

    zp-core/zp-extensions/zenpage/images/info.png

    zp-core/zp-extensions/zenpage/images/loadingAnimation.gif

    zp-core/zp-extensions/zenpage/images/pass_blue.png

    zp-core/zp-extensions/zenpage/images/view.png

    zp-core/zp-extensions/zenpage/images/zenpage-logo.gif

    zp-core/zp-extensions/zenpage/index.php

    zp-core/zp-extensions/zenpage/zenpage-admin-functions.php

    zp-core/zp-extensions/zenpage/zenpage-class-category.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-class.php

    zp-core/zp-extensions/zenpage/zenpage-template-functions.php

    zp-core/zp-extensions/zenpage/zenpage.css

    zp-core/zp-extensions/zenphoto_news/rsslib.php

    zp-core/zp-extensions/zpCaptcha/c.php

    Zenphoto core file permissions

    .htaccess file (RewriteEngine is ON)

    .htaccess RewriteBase is /

    robots.txt file [Not created] Notice! click for details

    albums folder

    cache folder

    locale folders

    uploaded folder

    zp-data folder

    HTML cache folder (cache_html)

    Third party plugins folder (plugins)

    Database tables to update: zp_options, zp_albums, zp_images, zp_comments, zp_administrators, zp_admin_to_object, zp_tags, zp_obj_to_tag, zp_captcha, zp_pages, zp_news2cat, zp_news_categories, zp_news, zp_menu, zp_plugin_storage, zp_search_cache

    `

    To be sure I deleted all warning files and uploaded once again from 1.4.6 archive. I clicked "Next" then I got http://troyniak.com/zenphoto.png . When I click "You can now administer your gallery" I got reinstall page and then immediately zenphoto.png (loop).

  • slyt Member
    One step forward.
    Now I have:

    Welcome to Zenphoto! This page will set up Zenphoto 1.4.6 on your web server ... (full log on http://troyniak.com/zenphoto.log)

    To be sure I deleted all warning files and uploaded once again from 1.4.6 archive. I clicked "Next" then I got http://troyniak.com/zenphoto.png . When I click "You can now administer your gallery" I got reinstall page and then immediately again page from zenphoto.png (loop).
Sign In or Register to comment.