Support

Home Forums Event Espresso Premium error on plugin activation

error on plugin activation

Posted: March 24, 2015 at 5:21 pm

Viewing 8 reply threads


YerbaBuena

March 24, 2015 at 5:21 pm

Hi,

i hope you can help me. I could not activate Event Espresso without an error.

Previously i have installed event-espresso-decaf.4.4.4.decaf.zip, deinstalled it and try to install event-espresso-core-reg.zip (Version 4.6.16).

plugin installation over WordPress:
i get the following error:
“Die hochgeladene Datei konnte nicht nach wp-content/uploads verschoben werden.” -> this means: The uploaded file could not be moved to wp-content/uploads

The Folder “wp-content/uploads” have the permission 775

plugin installation over FTP:
after uploading the extracted zip-files to FTP and activate it in WordPress i get this error message:

"An error has occurred:
Could not create the folder at "/www/htdocs/w00bcdaa/wordpress_yerbabuena2/wp-content/uploads/espresso/" because:
An attempt to access and/or write to a file on the server could not be completed due to a lack of sufficient credentials.
EEH_Activation - create_upload_directories - 932"

so i tried to create the folder manually with the permission 775, but that did not help

when i reload the page the hole admin area wont load to the end, it shows only this error:

"Verbindungsinformation

Um diese Aktion durchführen zu können, benötigt WordPress Zugriff auf deinen Webserver. Bitte gib die FTP-Serverdaten ein, um fortzufahren. Falls du deine Zugangsdaten vergessen hast, so solltest du bei deinem Webhoster nachfragen.
Hostname 	
FTP-Benutzername 	
FTP-Passwort 	
Dieses Passwort wird nicht auf dem Server gespeichert.
Verbindungstyp 	
Verbindungstyp
FTP FTPS (SSL)

Fatal error: Call to undefined function submit_button() in /www/htdocs/w00bcdaa/wordpress_yerbabuena2/wp-admin/includes/file.php on line 1189"

what i have also tried, but did not help:
* install old event-espresso-decaf.4.4.4.decaf.zip version, activate it (without errors) and reset all event espresso data
* removed all espresso events tables from database

i have no ideas anymore, could you please help me out?

Many thanks in advance.


Tony

  • Support Staff

March 25, 2015 at 6:38 am

Hi,

This looks like a server configuration issue.

If you completely de-activate all versions of Event Espresso, is the error the same?

Using FTP go to /wp-content/plugins/

Which event-espresso-* directories do you see there?


YerbaBuena

March 25, 2015 at 1:57 pm

Hi,

there is only one version of event espresso, it is
/wp-content/plugins/event-espresso-core-reg/

I have to move this event espresso folder to
/wp-content/plugins_deactivated/event-espresso-core-reg/

to avoid the error an see the admin area of wordpress


Josh

  • Support Staff

March 25, 2015 at 2:36 pm

It sounds like your WordPress installation might be missing something. Can you check in /wp-admin/includes/template.php on line for 1801 for the submit_button() function?


YerbaBuena

March 25, 2015 at 3:36 pm

it exists and isn’t commented out or something

https://gist.github.com/lorenzocaum/4ad2917c86b81debed3f06b3fc158228


Tony

  • Support Staff

March 26, 2015 at 8:13 am

So simply removing /event-espresso-core-reg/ to that directory (and thus de-activating Event Espresso) completely removed the error and you can log into the Dashboard without issue?

Can you check if open_basedir is active on your server. You can usually do this within the php.ini file (or from within cPanel/Plesk if using it), check if there is a open_basedir has a path set, if it does it is active.


Josh

  • Support Staff

March 26, 2015 at 8:25 am

Hi there,

Can you try adding this to the wp-config.php file:

define( 'FS_METHOD', 'direct' );

If the above does not help, please try the suggestion in this Stack Overflow thread:

http://stackoverflow.com/a/3938809


YerbaBuena

March 26, 2015 at 2:30 pm

So simply removing /event-espresso-core-reg/ to that directory (and thus de-activating Event Espresso) completely removed the error and you can log into the Dashboard without issue?

thats correct

define( 'FS_METHOD', 'direct' );

thanks Josh, thats the solution!!!

thank you for your support


Lorenzo Orlando Caum

  • Support Staff

March 26, 2015 at 3:19 pm

Hi, I’ll go ahead and update this support post to resolved. If you need help with anything else, please create a new support post in our support forums:

https://eventespresso.com/support/forums/


Lorenzo

Viewing 8 reply threads

The support post ‘error on plugin activation’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso