The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

All-in-One Event Calendar
[resolved] Cannot run Ai1 Calendar on WP 3.1.4 site - Blank WP Dashboard (3 posts)

  1. mdmower
    Posted 4 years ago #

    WP 3.1.4
    PHP 5.1.6 (I do not have the ability to upgrade this)
    MySQL (I do not have the ability to upgrade this)
    pagsa.missouri.edu - Tested with all plugins disabled

    As soon as I activate Ai1 1.22 on WP 3.1.4, any attempts to access the WP dashboard results in a blank page (completely blank, nothing loads at all). The site loads fine, just not anything in wp-admin/. I have tried flushing all settings related to Ai1 out of the database and the problem is still not resolved.

    When I enable debugging on the site, the following warning and error appear:

    Warning: Call-time pass-by-reference has been deprecated - argument passed by value; If you would like to pass it by reference, modify the declaration of similar_text(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file. However, future versions may not support this any longer. in /sites/umcaspagsa/www/wp-content/plugins/all-in-one-event-calendar/app/helper/class-ai1ec-events-helper.php on line 831

    Fatal error: Class 'DateTimeZone' not found in /sites/umcaspagsa/www/wp-content/plugins/all-in-one-event-calendar/app/helper/class-ai1ec-events-helper.php on line 983


  2. mdmower
    Posted 4 years ago #

    Ok, so according to this, DateTimeZone isn't supported until PHP 5.2. Too bad my host is so reluctant to upgrade (university).

  3. Yani Iliev
    Plugin Contributor

    Posted 4 years ago #

    You can get the missing classes (DateTimeZone etc), put them in the lib folder of the plugin and include the classes in all-in-one-event-calendar.php file at line 148:

    // ====================================
    // = Include iCal parsers and helpers =
    // ====================================
    require_once( AI1EC_LIB_PATH . '/DateTimeZone.class.php' );
    require_once( AI1EC_LIB_PATH . '/iCalcreator.class.php' );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • All-in-One Event Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic