WebCards Support Forums

WebCards Support Forums » General Support Requests

2.3 Error after upgrade

(9 posts)

Tags:

  1. juedm
    Member

    I'm getting:

    Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home4/shopsblo/public_html/sblocal/webcards/source/functions.php on line 306

    After upgrade was installed I went to "upgrade.php" - and it didn't exist.

    Admin says I am running 2.3 — but there's that Error line at the top of the page.

    Posted 8 months ago #
  2. juedm
    Member

    Followed by, after logged in:

    Error!

    An error occured that must be resolved. The error returned was:

    *
    MySQL said: Table 'shopsblo_localwebcards.cards_custom_fields' doesn't exist
    Error number: 1146

    The solutions below may help to resolve your error:

    * Check your database settings in the configuration section.
    * Ensure the database is switched on.

    Posted 8 months ago #
  3. juedm
    Member

    Also at /upgrade/upgrade.php I get:

    Welcome to WebCards Upgrade Script

    You are currently upgrading WebCards to version 2.3

    Warning: require(config.php) [function.require]: failed to open stream: No such file or directory in /home4/shopsblo/public_html/sblocal/webcards/upgrade/upgrade.php on line 58

    Warning: require(config.php) [function.require]: failed to open stream: No such file or directory in /home4/shopsblo/public_html/sblocal/webcards/upgrade/upgrade.php on line 58

    Fatal error: require() [function.require]: Failed opening required 'config.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home4/shopsblo/public_html/sblocal/webcards/upgrade/upgrade.php on line 58

    Posted 8 months ago #
  4. juedm
    Member

    (As instructed I never uploaded the new config.php file)

    [Sorry for so many posts]

    Posted 8 months ago #
  5. corbyboy
    Key Master

    Can you try uploading the file upgrade.php to the root WebCards directory (the same one that contains config.php) and try running it again.

    Posted 8 months ago #
  6. juedm
    Member

    That resulted in seeing a SUCCESS upgrade page notice,
    then it's still reading at top of index.php :

    "Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home4/shopsblo/public_html/sblocal/webcards/source/functions.php on line 306"

    Posted 8 months ago #
  7. corbyboy
    Key Master

    The script is trying to load the category cache file but it is empty.

    Once you have added some categories this error will disappear. Alternatively, log into your admin centre, scroll down to "Manage Caches" and click "Rebuild Cache" next to category list.

    Posted 8 months ago #
  8. juedm
    Member

    BINGO!

    All systems GO!

    Thanks.

    Posted 8 months ago #
  9. corbyboy
    Key Master

    Fantastic, let me know if there are ever any more problems.

    Posted 8 months ago #

RSS feed for this topic

Reply

You must log in to post.