CORRECTION:
I think it best to clarify. Below is exactly what it states when I try to activate the Plugin:
You do not have sufficient permissions to access this page.
Well, I took the advice of Joelle at this post:
You do not have sufficient permissions to access this page.
After adding the “themes-ai1ec” folder and its contents to wp-content, I received the below error after trying to activate the Plugin:
Warning: Failed to upgrade DB schema in
/data/25/2/3/129/2492292/user/2729429/htdocs/scc/wp-content/plugins/all-in-one-event-calendar/app/controller/class-ai1ec-app-controller.php on line 461
Plug-in disabled due to unrecoverable database update error
Database update has failed. Please make sure, that database user, defined in wp-config.php has permissions, to make changes (ALTER TABLE) to the database.
The plugin generated 227 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
Ha! Maddness. Complete madness. Now what?
Oh! And for the record, I am an Administrator.
Any help most appreciated.
YES! I have found the solution for me!
Please go to this Post on the All-in-One Event Calendar Tech Support Page for my resolution. I hope it works for you!
Can’t activate plugin after upgrade
Could report the solution here. That page is no longer accessible.
Thanks!
Tiff
Please post your solution. I’m having a similar problem with this plugin on one of my sites.
PHP file to edit is here:
/plugins/all-in-oneevent-calendar/app/controller/class-ai1ec-app-controller.php
You will need to edit this file: class-ai1ec-app-controller.php
I recommend copying the original PHP file, Then edit the copy. This way you have an original backup, just in case.
LINE: 401 (should be) = $sql = "CREATE TABLE" .$table_name." (
LINE: 444 (should be) = $sql .= "CREATE TABLE" .$table_name." (
LINE: 454 (should be) = $sql .= "CREATE TABLE" .$table_name." (
Prior to edits the lines were:
LINE: 401 (was) = $sql = "CREATE TABLE $table_name (
LINE: 444 (was) = $sql .= "CREATE TABLE $table_name (
LINE: 454 (was) = $sql .= "CREATE TABLE $table_name (
NOTE: Your line numbers maybe different.
Now I made sure the Ai1ec plugin was “deactivated”, as well as
most of my other plugins, then I uploaded the modified PHP file
to the appropriate location on the server.
Then “activated” the Ai1ec plugin… Success!
All I had left to do was update the core calendar files, and test it
out.
Hope this helps!
Thank you. Very much appreciated.
Glad it worked for you, and you are most welcome!