Fork me on GitHub

System Error: Out of Nowhere  Bottom

  • I have an old instance of Zikula which is being used for a hobby group. Today I've noticed that it no longer works.

    It gives the following error:

    Quote

    Deprecated: Function split() is deprecated in /home/wellingt/public_html/tmr/includes/pnobjlib/debug.php on line 226

    Deprecated: Function split() is deprecated in /home/wellingt/public_html/tmr/includes/pnobjlib/debug.php on line 226

    Deprecated: Function eregi() is deprecated in /home/wellingt/public_html/tmr/header.php on line 11

    Deprecated: Function split() is deprecated in /home/wellingt/public_html/tmr/includes/pnobjlib/debug.php on line 226

    Deprecated: Function split() is deprecated in /home/wellingt/public_html/tmr/includes/pnobjlib/debug.php on line 226
    System Error
    Non critical error

    An unknown error has occured. The following error message was returned by the system

    Function split() is deprecated
    Deprecated: Function split() is deprecated in /home/wellingt/public_html/tmr/includes/pnobjlib/debug.php on line 226

    Deprecated: Function split() is deprecated in /home/wellingt/public_html/tmr/includes/pnobjlib/debug.php on line 226

    _BACK

    Deprecated: Function eregi() is deprecated in /home/wellingt/public_html/tmr/footer.php on line 11


    The web address is: http://timbertown.miniature-railway.org/

    This has come out of nowhere. It was working last time I visited the site. I have another Zikula site on the host and it's working fine.

    Any ideas of what the problem might be?
  • looks like your host upgraded their installation of PHP. They should be able to help you.
  • One of my websites (using zikula 112) also stopped working a while back. The webhost upgraded from PHP 5.2 to 5.3 (with announcement BTW).
    So I'm upgrading to Zikula 1.3.2 now to solve it. If you have only several modules installed you might try to disable the deprecated error logging in config.php. But see this only as a temporary solution. See for example here http://www.google.co…recated+warning+php



    Edited by espaan on Dec 31, 2011 - 04:24 PM.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • That makes sense. This Zikula site was setup in late 2008.

    I'm trying to update to 1.2.8 but I'm having some trouble. The error I get now is:

    Quote

    Unknown column 'pn_url' in 'field list'
    SELECT pn_id AS "id",pn_name AS "name",pn_type AS "type",pn_displayname AS "displayname",pn_url AS "URL",pn_description AS "description",pn_regid AS "regid",pn_directory AS "directory",pn_version AS "version",pn_official AS "official",pn_author AS "author",pn_contact AS "contact",pn_admin_capable AS "admin_capable",pn_user_capable AS "user_capable",pn_profile_capable AS "profile_capable",pn_message_capable AS "message_capable",pn_state AS "state",pn_credits AS "credits",pn_changelog AS "changelog",pn_help AS "help",pn_license AS "license",pn_securityschema AS "securityschema" FROM zk_modules AS tbl


    I go to upgrade.php and it gives me a page full of that error message. I get to the page where it asks me to login and can go no further. I thought I'd merely forgotten my password so I copied and pasted one from another Zikula website (using phpMyAdmin), but it didn't work.

    Any ideas?
  • Hi,
    you might need to check the database table prefix in config.php before running the upgrade. This needs to match the
    table prefix you had in the old install.

    And do make sure that you have backups of the database and files of course. You might need to run the upgrade several times if something does not work out of the box.

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • Cheers for the help.

    I wasn't able to get it to upgrade so I'm just going to install 1.3.1 and copy the relevent information across. It's just a shame about my custom theme, it won't allow me to select it.
  • here is directions for upgrading your old theme

    https://github.com/zikula/core/blob/release-1.3/src/docs/en/UPGRADING_THEME

This list is based on users active over the last 60 minutes.