WordPress.org

Ready to get started?Download WordPress

Forums

WPPizza
[resolved] Internal Server Error when submit orders (12 posts)

  1. nwsoulman
    Member
    Posted 6 months ago #

    I'm developing this website: http://yumyumsheffield.co.uk/menu/

    right now I have two problems that I have no idea how to fix.

    1, while testing in my localhost, I can see the "thank you" message after submit the order. but while I'm testing on my server, I have a "Internal Server Error" dialog jump out.

    2, I can't receive any email from either of the server and localhost. I strictly followed the installation instructions, and have 3 fresh installed wordpress tested, but I still can't get the email after I place my order.

    please help me out.

    https://wordpress.org/plugins/wppizza/

  2. ollybach
    Member
    Plugin Author

    Posted 6 months ago #

    Hi,

    start with this:

    turn on debug on your wp-config.php

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);

    temporarily comment out the line in wppizza->ajax->get-jason.php that reads

    error_reporting(0);

    (approximately line 2)

    attempt an order and see what - if anything - you get in your debug log and report back

  3. ollybach
    Member
    Plugin Author

    Posted 6 months ago #

    and regarding localhost:
    are you even sure your localhost can send emails ?

  4. nwsoulman
    Member
    Posted 6 months ago #

    get a fatal error:

    Fatal error: Call to undefined function mb_internal_encoding() in \\web-123win\winpackage22\yumyumsheffield.co.uk\www.yumyumsheffield.co.uk\web\content\wp-content\plugins\wppizza\inc\common.output.formatting.functions.inc.php on line 936

  5. ollybach
    Member
    Plugin Author

    Posted 6 months ago #

    as you seem to have a windows server edit your php.ini.
    somewhere it will (most likely) say

    ;extension=php_mbstring.dll

    i.e it's disabled

    change it to

    extension=php_mbstring.dll

    and that should be that

  6. nwsoulman
    Member
    Posted 6 months ago #

    glad to know... but the problem is I cannot access the php.ini in my server...

    my host provider is: https://www.123-reg.co.uk

  7. ollybach
    Member
    Plugin Author

    Posted 6 months ago #

    > but the problem is I cannot access the php.ini in my server...

    err, no can i...

    speak to them to sort it out.....

  8. ollybach
    Member
    Plugin Author

    Posted 6 months ago #

  9. ollybach
    Member
    Plugin Author

    Posted 6 months ago #

    as you are on windows it might be somewhat different....anyway, if i were you though, just speak to your host

  10. ollybach
    Member
    Plugin Author

    Posted 6 months ago #

    one last thing before i close this:

    as this is a multilingual plugin, mbstring is required (i'll put a warning to that effect in the plugin i guess, although i would have thought 99.9% of servers would (should really as far as i am concerned) have this enabled by default

  11. nwsoulman
    Member
    Posted 6 months ago #

    thanks for the help, the problem is fixed

  12. ollybach
    Member
    Plugin Author

    Posted 6 months ago #

    excellent

Reply

You must log in to post.

About this Plugin

About this Topic