WordPress.org

Ready to get started?Download WordPress

Forums

Shortcode Exec PHP
General Errors (18 posts)

  1. Angela
    Member
    Posted 2 years ago #

    Hi,

    I'm having some issues when trying to configure/update Shortcode Exec, the page always show a general error message. I know there an update version, and I was wondering how can I save my previous PHP codes if I need to do a manual upgrade of the plugin. (I couldn't find a database table for this plugin)

    Angela

    http://wordpress.org/extend/plugins/shortcode-exec-php/

  2. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    From the FAQ:

    Where are the shortcode definitions stored?
    The shortcode name, options and PHP code are stored as WordPress options.

    If you want to backup your shortcodes, you should backup your database.

    From version 1.34 it is possible to export shortcodes in an XML file.

    If you have access to your server log, you could try to look into it to discover what the general error is (I assume error 500 here).

    Let me know if you need more help.

  3. Angela
    Member
    Posted 2 years ago #

    Unfortunately, I was able to see any logs related to the general error message that I have seen from the server error logs. I found the code, thanks.

  4. Angela
    Member
    Posted 2 years ago #

    Sorry, I didn't had the time to update the website, I just got the plugin updated now. However, the issue with the general error page is still persistent, are there other users who is having the same issue as I do?

  5. Angela
    Member
    Posted 2 years ago #

    I contacted the support personnel at the hosting provider, and they were only able to tell me that the Error is either 404/500 because the plugin setting is not correct. This is the URL where I get the error page http://www.domain.com/wp-admin/tools.php?page=shortcode-exec-php/shortcode-exec-php.php, but I was able to see shortcode-exec-php.php from this absolute path: http://www.domain.com/wp-content/plugins/shortcode-exec-php/shortcode-exec-php.php

    Angela

  6. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    There are no other users that I am aware of having this problem.

    The first URL is really correct and the second is really incorrect (although it might work). This indicates something isn't setup correctly. This could be WordPress itself (especially the 'WordPress Address' and 'Site Address' in the general WordPress settings; be careful with changing this, read this first) or it could be the hosting environment (especially rewrite rules, probably in the .htaccess file).

  7. Angela
    Member
    Posted 2 years ago #

    Well, Marcel, the first URL that I showed is exactly where I'm getting the error. The agent at the hosting company said that the error message either meant that there was no such file (which I showed it was wrong in the second URL), or that there were fundamental configuration in the WordPress site/plugin that were having issues. All they could give me is a general idea that a setting has gone wrong, but not sure in WP or the plugin.
    In the meantime, I'm having these nasty 310 redirects error going. This is my unlucky Wednesday.

  8. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    I think they are right with "there were fundamental configuration [errors] in the WordPress site". If you are willing to share your FTP and WordPress login, I am willing to take a look for you. If you want this, please contact me through this contact form.

  9. Angela
    Member
    Posted 2 years ago #

    Hi Marcel,

    I have send you the credentials. Just a heads up, I'm also having a bit of problem with the redirects (it's fully described here http://wordpress.org/support/topic/domaincom-redirects-to-domaincomwp-signupphpnewdomaincom?replies=2). Can you help me take a look at that as well? Thanks.

    Angela

  10. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    I have received your credentials. After I have finished with hunting a bug in Add Link to Facebook, I will take a look at your website (within an hour or so, hopefully).

  11. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    I couldn't login with FTP, because both passwords were rejected. In any case there is definitely something wrong with your setup. A network activate of Shortcode Exec PHP redirects wrong too. I have little experience with a network install of WordPress, so I am not the right person to look into this, although I will try if you send me the correct FTP password. Maybe you can ask for support on the WordPress multisite forum.

  12. Angela
    Member
    Posted 2 years ago #

    Marcel, can you be a little more specific? what do you mean by 'network activate of Shortcode Exec PHP redirects'. Shortcode EXEC is enabled per site, not per network. As the password, I've just updated it (sorry about the confusion), use 12 instead of 11.

  13. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    Don't worry about the network activate, I just wanted to try it to see if that solves your problem, but since the activate itself doesn't work, it probably won't.

    I have checked if the rewrite rules for your network install are correct. Since these rules are exactly the same as in the WordPress codex, I see no problems there.

    Maybe the rules of W3TC are interfering somehow, but since they are quite complicated it is difficult to tell. Maybe you can try to disable caching and to remove (comment) these rules to see if this is the case.

  14. Angela
    Member
    Posted 2 years ago #

    I just tried it, but it seems like removing the rules (and disable caching) doesn't seem to solve the problem, with both the redirect and the plugin. Have you logged into the backend? Were you able to recreate the error?

    Angela

    PS: I'm still waiting to hear from the other thread, hope someone will reply.

  15. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    I did login to the backend and if I try to navigate to the plugin settings I see a page starting with 'The page you requested is NOT AVAILABLE A general error has occurred'.

  16. Angela
    Member
    Posted 2 years ago #

    Any suggestions to how I can get shortcode EXEC back to work?

  17. Marcel Bokhorst
    Member
    Plugin Author

    Posted 2 years ago #

    Fix the redirect/rewrite problem and the plugin will probably work. I only don't know how, sorry.

  18. Angela
    Member
    Posted 2 years ago #

    um, well, guess I should've read that book on rewrite mod. Hope I have better luck with the other thread :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic