WordPress.org

Ready to get started?Download WordPress

Forums

All-in-One Event Calendar
Brings down whole network (multisite) (13 posts)

  1. fizzlederp
    Member
    Posted 2 years ago #

    I'm running a multisite network, and after I network activate the plugin, I experience two issues:

    1. I get the message the "core files need to be updated". Clicking on the link to update automatically results in issue number 2:

    2. I can no longer access the dashboard or front page for any of my sites. I get a server 500 error when I try to load the site. I looked in the server error logs, and saw this:

    [error] PHP Fatal error: Ai1ec_Settings::get_instance() [<a href='ai1ec-settings.get-instance'>ai1ec-settings.get-instance</a>]: The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition &quot;Ai1ec_Settings&quot; of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition in /wp-content/plugins/all-in-one-event-calendar/app/model/class-ai1ec-settings.php on line 299,

    I tried deleting the plugin (and theme files, per instructions on this page for issue 1) and then manually re-uploaded by FTP, but each time the result is the same.

    Is there anything I can do to get this plugin working? I really liked previous working versions of All in One Event Calendar, and would really like to use this plugin on my site!

    Thanks in advance for your help!

    http://wordpress.org/extend/plugins/all-in-one-event-calendar/

  2. Knut Sparhell
    Member
    Posted 2 years ago #

    I have the exact same error message when trying to activate this plugin the first time. PHP 5.3.11 and IIS7 here.

  3. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    1. Do you activate the plugin for the network or for a particular website?
    Try the following steps to resolve:
    1. FTP to your server
    2. delete wp-content/plugins/all-in-one-event-calendar
    3. if you have done some customizations to the themes, backup wp-content/themes-ai1ec folder, then delete it.
    4. Download 1.8.2-premium from time.ly website
    5. Extract the archive and upload the extracted all-in-one-event-calendar folder to wp-content/plugins folder
    6. Login to your WP Dashboard - domain/wp-admin
    7. You may need to activate the plugin.
    8. The plugin will try to install themes. Follow the process and note the result.
    9. Let me know the result.

  4. Knut Sparhell
    Member
    Posted 2 years ago #

    No multisite here.

    Downloaded, uploaded and activated 1.8.2-premium successfully.

    But after visiting the settings page, without any change made, but it says themes was installed, the whole site went blank. On the PHP error log the same error appears, this time on line 363.

  5. Knut Sparhell
    Member
    Posted 2 years ago #

    Manually installed 1.8.1 and then manually copied the folder themes-ai1ec from the plugin folder up to wp-content. Everything is now fine.

    It seems the non-standard use of a theme folder in wp-content, and keeping those files in sync when the plugin is updated, causes trouble. Why can't the plugin theme(s) be loaded from the plugin folder, and stick to a normal plugin folder structure?

  6. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @Knut Sparhell
    when te plugin is upgraded - wordpress deletes the plugin folder meaning that any changes that you do to the themes will be lost, when we move the themes to wp-content all your changes are saved. The plan is to keep only user themes in wp-content and move the other themes back to the plugin.
    Theme installer/upgrader is following wordpress wp_filesystem. If it fails, your filepermissions may need to be adjusted.

  7. Knut Sparhell
    Member
    Posted 2 years ago #

    Many thanks. Good answer.

    Have only user generated themes directly below wp-content and all will be fine. Scan the users theme folder first, then try the plugin folder, to have a priority in case of duplicate names.

    There should be no file permission problems on my server (Windows). The access rights for all folders below wp-content are just inherited form wp-content itself.

    If you must do file operations that require write access, you might check those before attempting to overwrite. Then the plugin may present an error condition, explaining the problem.

  8. fizzlederp
    Member
    Posted 2 years ago #

    I have manually installed and network activated 1.8.3.

    I have manually copied the themes-ai1ec folder into wp-content.

    I go to the dashboard and I still see:

    Core Calendar Themes are out of date. We have found updates for some of your core Calendar Theme files and you should update them now to ensure proper functioning of your calendar.

    Warning: If you have previously modified any core Calendar Theme files, your changes may be lost during update. Please make a backup of all modifications before proceeding.

    Once you are ready, please update your core Calendar Themes.

    Why isn't the plugin recognizing the themes-ai1ec folder? Is there something about multisite that is making WordPress look in the wrong place? I can't come up with any other theory to explain this repeated problem.

    EDIT: Once I click the link for "update your core Calendar Themes", I get a screen full of errors like this:

    There was an error creating one of the theme folders. Please FTP to your web server and manually create
    
    /wp-content/themes-ai1ec/vortex/js/pages
    There was an error updating one of the files. Please FTP to your web server and manually copy
    
    /wp-content/plugins/all-in-one-event-calendar/themes-ai1ec/gamma/style.css
    to
    /wp-content/themes-ai1ec/gamma/style.css
    There was an error updating one of the files. Please FTP to your web server and manually copy
    
    /wp-content/plugins/all-in-one-event-calendar/themes-ai1ec/plana/style.css
    to
    /wp-content/themes-ai1ec/plana/style.css

    Do these error messages give any indication as to what the issue is here?

  9. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @fizzlederp
    You can safely click on upgrade the theme files and even if it fails you already know that you are running the latest version of the themes folder.

  10. fizzlederp
    Member
    Posted 2 years ago #

    Hi yani.iliev - thanks for the quick response, but please see my edit to the above post.

  11. fizzlederp
    Member
    Posted 2 years ago #

    Also, now when I try to go to /wp-admin/themes.php?page=all-in-one-event-calendar-themes I get a 500 Server message.

  12. Yani Iliev
    Member
    Plugin Contributor

    Posted 2 years ago #

    @ fizzlederp
    let's move to help.time.ly create a ticket and we will be able to assist you with the problem.

  13. fizzlederp
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.