• After upgrading to 2.1 I get the following message when login or accessing my blog:

    Fatal error: Cannot redeclare timer_stop() (previously declared in /home/wellmast/public_html/blog/wp-settings.php:65) in /home/wellmast/public_html/blog/wp-includes/functions.php on line 837

    Any help more than welcome

Viewing 8 replies - 1 through 8 (of 8 total)
  • Possible reason(s):
    All of the /includes folder didn’t make it.
    Some of the /includes and some of the other files didn’t make it.
    Some files were corrupted in upload process.

    Try uploading the files again from a freshly downloaded distro.

    Thread Starter yvanacalcom

    (@yvanacalcom)

    Thanks a lot Samboll. I tried a new upload of the wp-includes folder and got a “transfer failed” message from SmartFTP and got this time:

    Warning: main(/home/wellmast/public_html/blog/wp-includes/query.php): failed to open stream: No such file or directory in /home/wellmast/public_html/blog/wp-settings.php on line 153

    Warning: main(/home/wellmast/public_html/blog/wp-includes/query.php): failed to open stream: No such file or directory in /home/wellmast/public_html/blog/wp-settings.php on line 153

    Fatal error: main(): Failed opening required ‘/home/wellmast/public_html/blog/wp-includes/query.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/wellmast/public_html/blog/wp-settings.php on line 153

    I had a similar “transfer failed” message during the first upload. So a bad transfer seems to be the reason, but should I try again to upload until it works? Or can there be another cause of the bad transfer?

    I first tried to restore the database so I am not sure what is going on now…

    Sounds like your ftp server is really slow or maybe Smartftp is failing. I’ve never used it.
    You can upload the files numerous times – you need to get them all in for WP to work properly.
    Maybe try Filezila?
    https://sourceforge.net/project/showfiles.php?group_id=21558

    Thread Starter yvanacalcom

    (@yvanacalcom)

    SmartFTP says it might be a norton firewall issue. I am trying to fix this. And yes my connection is rather slow today.

    Thread Starter yvanacalcom

    (@yvanacalcom)

    I finally succeeded in upgrading WP at least all files have been transfered properly. But now when I access the site I get a message that says:

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘( cat_id bigint(20) NOT NULL auto_increment, cat_name tinyt]
    CREATE TABLE ( cat_id bigint(20) NOT NULL auto_increment, cat_name tinytext NOT NULL, auto_toggle enum(‘Y’,’N’) NOT NULL default ‘N’, show_images enum(‘Y’,’N’) NOT NULL default ‘Y’, show_description enum(‘Y’,’N’) NOT NULL default ‘N’, show_rating enum(‘Y’,’N’) NOT NULL default ‘Y’, show_updated enum(‘Y’,’N’) NOT NULL default ‘Y’, sort_order varchar(64) NOT NULL default ‘rand’, sort_desc enum(‘Y’,’N’) NOT NULL default ‘N’, text_before_link varchar(128) NOT NULL default ‘

    • ‘, text_after_link varchar(128) NOT NULL default ‘
      ‘, text_after_all varchar(128) NOT NULL default ‘
    • ‘, list_limit int(11) NOT NULL default ‘-1’, PRIMARY KEY (cat_id) )

      I have no idea how to change the database and where to change this. Thanks for a new help to a lost soul ??

    Thread Starter yvanacalcom

    (@yvanacalcom)

    I backed up my database, but restoring seems a painful process. I still have my database with all the tables, prior to upgrading WP, on the server. I just don’t figure out how to assign it to my blog. Can this be done from the WP admin center or from PHPMyAdmin or any other way?

    I’ve seen a possibility to directly change the text of wp-config file but I am scared to death to do that as I don’t understand what I will be doing ??

    Thanks again for your help.

    Thread Starter yvanacalcom

    (@yvanacalcom)

    I did a restore of my database and got this message in PHPMyAdmin at the end of the restore:

    “There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

    ERROR: Invalid Identifer @ 8
    STR: 4.3.
    SQL: backup-4.3.2007_11-53-36_wellmast/??????????????????????????????

    Then I realized that the backup I made was for all my databases on the server(some others than WP)which might explain the error.

    My real problem is that I do not know how to assign the right database to WP. In wp-config.php the parameters seem to be correct.

    When I open the admin center of WP I get the following 2 lines before the opening screen:

    “Warning: array_keys(): The first argument should be an array in /home/wellmast/public_html/blog/wp-admin/admin-functions.php on line 1315

    Warning: Invalid argument supplied for foreach() in /home/wellmast/public_html/blog/wp-admin/admin-functions.php on line 1315″

    So I tried to reupload this file from the upgrade software on my PC hoping that it would solve the problem. To no avail.

    I am at a complete loss now. How do I make sure that PW accesses the proper database so that my blog restart working. Any ideas?

    Hi,
    It really sounds like someone needs to look at it. If you want, I’ll give it a go. I’m on the install4free team.
    Click on my username and then on contact link at top of test blog.
    I’ll need some other info we can discuss when I receive your email.

    I’ll be unavailable from 6:30 – 9:30 p.m. CDST because of grandkids baseball game.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘update from 2.0.2 to 2.1 fatal error’ is closed to new replies.