• Resolved patvillaruz

    (@patvillaruz)


    Hi,

    I’m having difficulties installing your plugin. 1st i got parse error and update PHP version from 5.3 to 5.4, 5.5, 5.6 and 7 and no luck.

    Once i activate your plugin site will go offline or crash. Please help..

    thanks!

    • This topic was modified 7 years, 6 months ago by patvillaruz.
    • This topic was modified 7 years, 6 months ago by patvillaruz.
Viewing 15 replies - 1 through 15 (of 17 total)
  • Plugin Author tameroski

    (@tameroski)

    Hi,
    Which version of the plugin do you got ?
    Please try with 4.1.1 (issued yesterday).

    And if you still got problems, please check your server’s log so i can have a better idea of what’s going on.

    Thanks !

    Thread Starter patvillaruz

    (@patvillaruz)

    I tried 4.1.1, 4.1, 4.0 and change php version but still keep crashing.. ??

    Thread Starter patvillaruz

    (@patvillaruz)

    Please check my screen rec. here for what happened https://drive.google.com/file/d/0B7ruQOYVfPGnVnI3NlpWdWpkWWM/view?usp=sharing

    Plugin Author tameroski

    (@tameroski)

    That’s weird.
    Unfortunately, i won’t be able to help much without an extract of your server’s log ??
    Don’t you have access to them in your Cpanel ?

    Thread Starter patvillaruz

    (@patvillaruz)

    ?? i have an access to my server. I’ll send you the log here..

    Thread Starter patvillaruz

    (@patvillaruz)

    By the way, what kind of log do you need exactly?

    Plugin Author tameroski

    (@tameroski)

    You should have some errors at the time you try to activate the plugin. Could be PHP errors, or something related to apache or nginx like unsupported directive in htaccess or whatever …

    • This reply was modified 7 years, 6 months ago by tameroski.
    Thread Starter patvillaruz

    (@patvillaruz)

    Is this the one? https://drive.google.com/file/d/0B7ruQOYVfPGndG5XTFUtcXhEZ1k/view?usp=sharing

    I can’t find the log’s you’re referring ?? Is it ok to give you access to my cpanel?

    Thread Starter patvillaruz

    (@patvillaruz)

    Will, i just turned-on debug from wp-config.php and i got this error.

    https://drive.google.com/file/d/0B7ruQOYVfPGnNEhDN3VMaFR3Vms/view?usp=sharing
    and this
    https://drive.google.com/file/d/0B7ruQOYVfPGnaDBNTnJwUDFxWVE/view?usp=sharing

    • This reply was modified 7 years, 6 months ago by patvillaruz.
    Plugin Author tameroski

    (@tameroski)

    Ok i see what’s happening … There’s a conflict between your theme and my plugin, because they are using the same library …
    I will try to fix that asap. Is it possible to send me your zipped theme to tameroski at gmail dot com, please ?
    Thanks

    Plugin Author tameroski

    (@tameroski)

    Looks like the problem is from your theme’s side. Can’t be sure without the code, but my guess is that it includes the library (class-tgm-plugin-activation.php) without checking that it’s already done elsewhere, using PHP’s “require” instead of “require_once” for exemple.

    Thread Starter patvillaruz

    (@patvillaruz)

    yea, i can send you the theme.. thanks for the help.. i really appreciate it! keep up the good work ??

    • This reply was modified 7 years, 6 months ago by patvillaruz.
    Thread Starter patvillaruz

    (@patvillaruz)

    Done, sent to tameroski at gmail dot com

    @patvillaruz

    Regarding the first error “Cannot redeclare tgmpa()”:

    This is not an issue with the Contact Form 7 Signature Addon plugin, but with the theme you are using ‘Habitat Progression’.

    They have a typo (or rather, search and replace error) in their code a few lines above the line mentioned in the error message (2126):

    That line should read:
    if ( ! function_exists( 'tgmpa' ) ) {

    As they incorrectly changed it, the function is being redefined causing that error.

    If you replace that one line in the /.../themes/habitat-progression/inc/tgm-plugin-activation/class-tgm-plugin-activation.php file with the line above, the theme will play nice again with ??

    Or if you are uncomfortable editing code, you can just download a fresh copy of the files and use that instead:

    1. Download the current version of the library from https://tgmpluginactivation.com/download/ (for your purposes, just click on the “Zipball” link below the form)
    2. Unzip the file and
    3. Copy/upload (via FTP) just the class-tgm-plugin-activation.php file to the /.../themes/habitat-progression/inc/tgm-plugin-activation/ directory of your website, replacing the existing class-tgm-plugin-activation.php file.

    Once you’ve done that, all should be fine again.

    Please do ask the theme author to fix this. You can send them the following message:

    Dear theme author, please download a fresh copy of TGMPA using the Custom TGMPA Generator, it will serve you with a customized download of TGMPA which will automagically have done the search & replace for you in the correct way.
    https://tgmpluginactivation.com/download/

    Hope this helps.

    Smile,
    Juliette

    Plugin Author tameroski

    (@tameroski)

    Ok, found it !

    Look for a file in your theme called “class-tgm-plugin-activation.php”. There’s a typo at line 2116 (might be caused by a bad find & replace). Replace :
    if ( ! function_exists( 'habitat-progression' ) ) {
    by
    if ( ! function_exists( 'tgmpa' ) ) {

    And you’re good.

    The best thing to do is warn the theme author about this error so other buyers have this fixed too.

    Thanks for using the plugin !

    Edit : Thanks @jrf for the update, didn’t see your message …

    • This reply was modified 7 years, 6 months ago by tameroski.
    • This reply was modified 7 years, 6 months ago by tameroski.
    • This reply was modified 7 years, 6 months ago by tameroski.
Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Activate plugin crash site’ is closed to new replies.