Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
public-topic
cannot install
Avatar
SRAGE
Guest
Guests
Oct 25, 2014 - 8:51 am
Quote

I'm trying to install your plugin for the first time but it will not install. I followed the install steps from your site, uploaded the files to the correct folder, went into my Admin, refreshed the page but the plugin does not show up.

i'm using self hosted WP 4.0.

Obviously if I can't get the plugin installed chances of me signing up for your membership are pretty slim. Need to get it working first before I pay for support.

 

thanks

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Oct 25, 2014 - 9:03 am
Quote

To be honest only three things come to mind... It's in the wrong place; it has the wrong folder name... or perhaps it has become corrupted during one of the ftp operations (something that used to be common with FileZilla by the way).

So - location should be wp-content/plugins/ - and the folder name should be 'simple-press'.

andy-signature.png
YELLOW
SWORDFISH
Avatar
SRAGE
Guest
Guests
Oct 25, 2014 - 4:27 pm
Quote

ok, so now i see it but it doesnt run:

 

Fatal error: Cannot redeclare sp_get_option() (previously declared in /problem-with-post-edit-buttonome/mysite/public_html/wp-content/plugins/the-events-calendar/public/template-tags/deprecated.php:484) in /problem-with-post-edit-buttonome/mysite/public_html/wp-content/plugins/simple-press/sp-api/sp-api-primitives.php on line 95

Avatar
Ike
Sawtry, UK
Member
Free Members
Offline
Oct 25, 2014 - 4:54 pm
Quote

Well, when you code a function in WP it is good practice (and an official guideline) to use your plugin name as a prefix in some way. In our case we use 'sp' - or more specifically in this instance sp_get_option().

The events calendar plugin also has a function called sp_get_option() which is causing the conflict.

As far as we are aware this is the only conflicting function title out there, although we were under the impression that they had changed their function name in accordance with the guidelines some time ago.

Have you got the latest version of their plugin?

Avatar
SRAGE
Guest
Guests
Oct 26, 2014 - 8:34 am
Quote

Yup, I do have the latest version but i think issue lies with the "free" version. i have the Pro version which i think gets updates on regular basis but it requires the "free" version to be installed at the same time.

 

So what can I do to fix this? I really want to add a forum to my site.

 

thanks

SR

Avatar
Yellow Swordfish
Glinton, England
SP Master
Offline
Oct 26, 2014 - 8:45 am
Quote

I don't really have an answer. I have no idea why the event calendar authors used the 'sp_' prefix for this particular function. As Ike said above - the convention and WP guidelines are to use the plugin initials which we have strictly adhered to.

You could, perhaps, try removing the event calendar plugin from the forum page so that it's code is not loaded. Although this still might cause errors on other pages as there are certain SP checks that have to be made for every page load. You could ask the event calendar authors if there is a specific update for this issue...

andy-signature.png
YELLOW
SWORDFISH
Avatar
SRAGE
Guest
Guests
Oct 27, 2014 - 8:37 pm
Quote

they told me to add this to my wp-config.php file:

define('TRIBE_DISABLE_DEPRECATED_TAGS', true);

 

but it did not do anything, the error still appears when I try to activate Simple Press.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
Offline
Oct 27, 2014 - 8:47 pm
Quote

afraid we cannot offer much help with that define, but only way it would work would bee if they wrapped the duplicate function in an 'if' check...

you could always edit the plugin and change the name where used...

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626