WordPress.org

Forums

Edge Suite
Activation error after installation of Edge Suite Plugin (18 posts)

  1. Ron Troyer
    Member
    Posted 2 years ago #

    I received this error after installing the Edge Suite Plugin

    I tried reinstalling and still get it.

    The plugin generated 226 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.

    http://wordpress.org/extend/plugins/edge-suite/

  2. ti2m
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,
    thanks for the feedback. I have fixed some "headers already sent" errors in the dev version. Could you maybe give that I try and hopefully confirm that it works there. Then I can push the dev version into the main branch.

    http://downloads.wordpress.org/plugin/edge-suite.zip

    Thanks

  3. Ron Troyer
    Member
    Posted 2 years ago #

    Thanks for the quick response - I deleted my first installation of Edge Suite - and reinstalled the new one you provided. I am sorry to say that I get the exact same error after activation.

    Other info:
    Since my last message I have updated to WordPress 3.5.1
    As in you warned in some of your documentation I also get this warning in the Manage compositions panel" "Your server is not able to extract zip files (PHP Class "ZipArchive" not found). ...."

    I tried to upload an OAM project and I get this message:
    "Aborting, no file found that matches the main edge JS filename pattern. This is not a valid composition archive."
    This error happens even with the sample file "hungry_edge.oam"

    Thanks for your efforts!!

  4. ti2m
    Member
    Plugin Author

    Posted 2 years ago #

    Hi, thanks for the detailed info. In general if you get the "Zip" error message you won't be able to extract OAM files (which are just zip files) as the server doesn't support it. No way around it.

    Besides that I traced back the "header sent" error message as it is generated by wordpress. Something seems to crash when activating the plugin, which then generates an error message and wordpress interprets this as output by the plugin. It's strange that no one else had that problem before. My first guess would be that there is something up with your DB user as the activation function tries to create a new table.... secondly and my most favorite, something with file permissions. I can't tell or fix anything as long as I can't reproduce the error myself or we get our hands on the original error message.

    One thing to try would be to activate the wordpress debug mode which prints PHP error messages directly to screen. Only do this on your dev machine. If you are up for it, you only need to set define('WP_DEBUG', true); in the wp-config.php file, it's described here

    http://codex.wordpress.org/Debugging_in_WordPress

  5. Ron Troyer
    Member
    Posted 2 years ago #

    I have the debug set to true - although I didn't know that I did - I am picking up an unfinished project someone else started :) Good to know!

    permissions for the wp-content, uploads and edge_suite directories are set to 777.

    Regarding your comment on the DB user - I will check in to that possibility - though I am not sure what I'll be looking for.

    And regarding the "Zip" error message: that means I am not able to use the plug-in at all?

    Thank you again

  6. Ron Troyer
    Member
    Posted 2 years ago #

    ti2m
    this just now came up - if this helps you! when loading the home page:

    Notice: Trying to get property of non-object in /home/SITE/wp-content/plugins/edge-suite/edge-suite.php on line 178

  7. ti2m
    Member
    Plugin Author

    Posted 2 years ago #

    Hi ron,
    the "trying to get property..." is strange as it's in a check which should make sure you are not on the homepage, I'll fix that.

    The "header sent" still gives me a headache. If debug doesn't throw anything then we could only check the calls in edge_suite_install() itself. It's pretty easy though. In edge-suite.php comment out lines 64 to 84 (put // in front of the line) or delete the lines temporarily. Then try to activate it. The plugin won't work, but if the activation doesn't throw an error we know it the DB.

    And yes, you won't be able to use the plugin without ZIP support as there is currently no other way to upload the files to the server then through the OAM. But ZIP should be available on most servers, which hoster are you on?

  8. ti2m
    Member
    Plugin Author

    Posted 2 years ago #

    By the way, do you have a folder 'edge_suite' in wp-content/uploads? This should be created on activation.

  9. Ron Troyer
    Member
    Posted 2 years ago #

    Yes to your last question - the 'edge_Suite" folder was created. AND inside that are three folders. The 'project folder' and I just noticed two others: 'tmp' and 'edge_tmp'
    in the 'tmp' foledre are several .oam files I tried to upload!

    To your previous comments:

    I deactivated the plugin and changed line 64 of edge-suite.php code to: // global $wpdb;
    and upon attempting to activate received the following error message:
    Plugin could not be activated because it triggered a fatal error.

    Notice: Undefined variable: wpdb in /home/tweakusa/public_html/clients/smslaw/wp-content/plugins/edge-suite/edge-suite.php on line 65

    Notice: Trying to get property of non-object in /home/tweakusa/public_html/clients/smslaw/wp-content/plugins/edge-suite/edge-suite.php on line 65

    Notice: Undefined variable: wpdb in /home/tweakusa/public_html/clients/smslaw/wp-content/plugins/edge-suite/edge-suite.php on line 66

    Fatal error: Call to a member function get_var() on a non-object in /home/tweakusa/public_html/clients/smslaw/wp-content/plugins/edge-suite/edge-suite.php on line 66

    ------
    Then I deleted lines 64 -84 of edge-suite.php code
    and upon attempting to activate received this error message:

    The plugin generated 226 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.
    -------------

  10. ti2m
    Member
    Plugin Author

    Posted 2 years ago #

    Ron, thanks for your patience! Your feedback is really valuable.

    When commenting out just that one first line an error was to be expected. But taking out line 64 to 84 ruled out a DB issue. It's getting really strange. One more thing I would like to try: Comment out or delete line 99 //register_activation_hook(__FILE__, 'edge_suite_install');

    This will stop the whole edge suite activation function to be called. I do get the feeling the error comes from somewhere else, as the DB is working and the file permissions seem to work as well.

    I assume you don't have any problem when activating other plugins?

  11. Ron Troyer
    Member
    Posted 2 years ago #

    reverted your edge-suite.php file to what I uploaded yesterday.
    then deleted line 99.
    Deactivated and Reactivated in WordPress and got NO ERRORS!

    (And yes I can activate other plugins not problem)

  12. ti2m
    Member
    Plugin Author

    Posted 2 years ago #

    Wow, ok, didn't expect that at as the issue then lies within lines 87 to 96. I wouldn't know what would be wrong there as only options are being added and the directories get created, which seems to work.

    If you are up for it, delete line 87 to 93 first (the option block), try activation and if that doesn't work the delete line 96 mkdir_recursive(trailingslashit(EDGE_SUITE_PUBLIC_DIR));

    Then we will know what's going on, although I don't have a clue yet what the issue might be....

  13. Ron Troyer
    Member
    Posted 2 years ago #

    OK
    deleted line 87 to 93 first (the option block),
    tried activation and received this error:

    The plugin generated 226 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.

    THEN: without restoring lines 87 to 93 also deleted the line: mkdir_recursive(trailingslashit(EDGE_SUITE_PUBLIC_DIR));

    RESULT: Plugin activated.

  14. ti2m
    Member
    Plugin Author

    Posted 2 years ago #

    Hi,

    ok, awesome, then it's the file permission issue again. I'll check, but the folders will be created later on anyway if they don't exist, so you can just delete the mkdir_recursive(trailingslashit(EDGE_SUITE_PUBLIC_DIR));

    I don't get it though, because you said the edge_suite directory get created, very strange... but maybe if you take out that line you get some more detailed error message somewhere else, or maybe non, who knows ;-)

    Thanks for all the testing. Hope you get the zip working so you can use the plugin after all.

  15. ti2m
    Member
    Plugin Author

    Posted 2 years ago #

    Hey,
    I managed to reproduce the error while working on another issue. Are you working on a multisite???

  16. Ron Troyer
    Member
    Posted 2 years ago #

    No not a multisite (from what I understand a multisite to be). It is a WP installation set up on a subdomain of another site for development purposes until we can move it to its own domain.

  17. ti2m
    Member
    Plugin Author

    Posted 2 years ago #

    Hi Ron,
    thanks for getting back to me. Great help! The subdomain shouldn't be a problem. I experienced the problem you described when activating the plugin for a multisite, means the activation link states "Network Activate". The cause for the issue is that the plugins constants are not set, which means one of the init hooks didn't get called. I'll take the creation of the directory out anyway and add a message when being on a multisite. I'll let you know.

    The page you sent throws a couple of errors in the console, but you are not using Edge Suite on that page, are you? The plugin activation error is based on a deeper level though.

  18. kimxt
    Member
    Posted 1 year ago #

    So. 9 months sins some post here and i have google around wihtout any answer that helps my problem. I have this message on Edge Suite:

    Your server is not able to extract zip files (PHP Class "ZipArchive" not found).

    Cant get anything to work. It is a fresh and new test wordpress install.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Edge Suite
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.