WordPress.org

Ready to get started?Download WordPress

Forums

Upgrade and New Install errors (3 posts)

  1. David Radovanovic
    Member
    Posted 6 years ago #

    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 :-)
  2. David Radovanovic
    Member
    Posted 6 years ago #

    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.

  3. MichaelH
    Member
    Posted 6 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic