Forums

php5.3 and fastcgi on IIS with wordpress (2 posts)

  1. daveredfern
    Member
    Posted 1 month ago #

    Hello,

    We have been running a wordpress website successfully on php5.2 with ISAPI but we need to upgrade the server to 5.3 which no longer supports isapi so using fastcgi.

    When the upgrade was done we are getting a lot of errors similar to these:-

    Warning: Parameter 1 to ec3_filter_posts_where() expected to be a reference, value given in C:\Wordpress_orginal\wp-includes\plugin.php on line 166
    
    Warning: Parameter 1 to ec3_filter_posts_join() expected to be a reference, value given in C:\Wordpress_orginal\wp-includes\plugin.php on line 166
    
    Warning: Parameter 1 to ec3_filter_posts_groupby() expected to be a reference, value given in C:\Wordpress_orginal\wp-includes\plugin.php on line 166
    
    Warning: Parameter 1 to ec3_filter_posts_orderby() expected to be a reference, value given in C:\Wordpress_orginal\wp-includes\plugin.php on line 166
    
    Warning: Parameter 1 to ec3_filter_posts_fields() expected to be a reference, value given in C:\Wordpress_orginal\wp-includes\plugin.php on line 166

    These are referring to a plugin I am using called event calendar (http://wpcal.firetree.net/) which is essential for the running of the site.

    If I disable this plugin i get the following errors:-

    Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '1.0/DST' instead in C:\Wordpress_orginal\wp-includes\functions.php on line 35
    
    Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '1.0/DST' instead in C:\Wordpress_orginal\wp-includes\functions.php on line 43
    
    Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '1.0/DST' instead in C:\Wordpress_orginal\wp-includes\functions.php on line 35
    
    Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/London' for '1.0/DST' instead in C:\Wordpress_orginal\wp-includes\functions.php on line 43

    Can anyone help me fix both the timezone issue and the event calendar plugin.

    Thanks

    Dave.

  2. Zygotti
    Member
    Posted 2 weeks ago #

    I had a similar problem with Event Calendar when we moved up to PHP5.3 although I didn't see the timezone errors.

    Oddly, another site where WP and EC were freshly installed on 5.3 worked without complaint.

    Anyway, I found this, applied the hack to eventcalendar3.php and it seems to be working fine.

    Hope this helps,
    Mick

Reply

You must log in to post.

About this Topic