WordPress.org

Support

Support » Installation » Upgrade and New Install errors

Upgrade and New Install errors

  • My installation of 2.3 is on a FreeBSD 6.2-RELEASE-p9 server with MySQL 5.0.45 and PHP Version 5.2.4 (Zend: 2.2.0)

    I’ve tried searching everywhere though no one seems to have this problem.

    When attempting to do an new install via http://www.saugertiesbedandbreakfast.com/wordpressNEW/wp-admin/install.php the result is a blank page and in the apache error log contains the belowo:

    PHP Parse error: syntax error, unexpected T_STRING, expecting ‘] in /mywebroot/wp-includes/cron.php on line 98 which is:

    return $cron[$hook][$key]['schedule'];
            }
            return false;
    
    Any help would be appreciated :-)

Viewing 2 replies - 1 through 2 (of 2 total)
  • I did a diff on wp-includes/cron.php (a another 2.3.1 install) and the one that was giving me errors (above) and they were different! I don’t know what the heck was going on though every time I’d remove the problematic (supposedly new 2.3.1) wp-includes/cron.php and overwrite (via ftp) it with the good 2.3.1 wp-includes/cron.php, the old one would reappear. I finally opened the file in vi and cut and pasted the good one and it worked.

    I’m losing my brain.

    Remember to upload files in ASCII mode.

    Also consider deleting and reuploading your WordPress files as is described in Steps 7 and 8 of Upgrading WordPress Extended.

    Resource:
    Uploading WordPress to a remote host

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Upgrade and New Install errors’ is closed to new replies.