Calendar page only works when logged in
-
I was having a problem on my site where the calendar page would only work if I was logged in. If I wasn’t logged in, I would get an error message like this:
PHP Fatal error: Uncaught exception ‘Ai1ec_Cache_Not_Set_Exception’ with message ‘Failed to write ‘ai1ec-response/posterboard/standard/2013-08/’ to void cache’ in /path/to/sitename/wp-content/plugins/all-in-one-event-calendar/lib/strategy/cache_strategy/class-ai1ec-void-cache.php:35\nStack trace:\n#0 /path/to/sitename/wp-content/plugins/all-in-one-event-calendar/lib/strategy/class-ai1ec-persistence-context.php(67): Ai1ec_Void_Cache->write_data(‘ai1ec-response/…’, ‘<!– START All-…’)\n#1 /path/to/sitename/wp-content/plugins/all-in-one-event-calendar/app/controller/class-ai1ec-calendar-controller.php(369): Ai1ec_Persistence_Context->write_data_to_persistence(‘<!– START All-…’)\n#2 /path/to/sitename/wp-content/plugins/all-in-one-event-calendar/app/controller/class-ai1ec-app-controller.php(1016): Ai1ec_Calendar_Controller->get_calendar_page(Object(Ai1ec_Arguments_Parser))\n#3 [internal function]: Ai1ec_App_Controller->route_request(”)\n#4 /home/httpd/nwtechalliance.com/wp-incl in /path/to/sitename/wp-content/plugins/all-in-one-event-calendar/lib/strategy/cache_strategy/class-ai1ec-void-cache.php on line 35
To fix this, I had to make index.php in the site root directory owned by apache (or whatever the webserver is running as). It’s pretty ridiculous for the plugin to assume that index.php will belong to apache, but that’s apparently what it does.
- The topic ‘Calendar page only works when logged in’ is closed to new replies.