• Resolved sebiev

    (@sebiev)


    Hi,

    Wir benutzen das Plugin für eine sch?nere URL Struktur.

    https://www.url.de/parent/child/name

    Das funktioniert auch alles soweit ganz gut. Nur leider baut es ab einer bestimmten Zeit die URLs nicht mehr richtig auf.

    Gibt es ein Limit bei der Anzahl von Seiten?

    Wenn die Einstellungen im Plugin gespeichert werden, kommt ein 500 Internal Server Error. Wir sind aktuell bei 48.376 Seiten.

    Habt ihr Erfahrungen mit eurem Plugin bei so vielen Seiten?

    —————————————————————

    Hi,

    We use the plugin for a nicer URL structure.

    https://www.url.de/parent/child/name

    This works also everything so far quite well. Unfortunately, it does not build the URLs properly after a certain time.

    Is there a limit to the number of pages?

    When the settings are saved in the plugin, a 500 Internal Server Error occurs. We are currently at 48,376 pages.

    Do you have experience with your plugin with so many pages?

    Translated with https://www.DeepL.com/Translator (free version)

    • This topic was modified 2 years ago by sebiev.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Hello @sebiev,

    Thanks for your message.

    What are your memory_limit and max_execution_time values in your PHP configuration? You probably need to increase these values.

    Best,
    Mateusz

    Thread Starter sebiev

    (@sebiev)

    Hallo Mateusz,

    memory_limit = 4096M
    max_execution_time = 180sec ( The plugin only runs for about 20 seconds, then it stops. )

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thanks for your answer @sebiev,

    Do you have active debugging to the debug.log file in WordPress? What error is visible in debul.log under error 500?

    Thread Starter sebiev

    (@sebiev)

    There is nothing in the WP log.
    In the server log :
    [Fri Nov 18 17:53:27 2022] [core:error] [pid 72355:tid 140558473873152] [client 24.134.***.***:60486] End of script output before headers: options-general.php, referer: https://***/wp-admin/options-general.php?page=wbp_admin_page

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @sebiev Do you have active debugging to the debug.log file? There’s no way there could be a 500 error and there’s no information anywhere about what happened.

    Contact your hosting administrator and find out what error is generated – without this I don’t know how I can help you.

    Thread Starter sebiev

    (@sebiev)

    Hi Mateusz,

    There is no logging in debug.txt.
    In the query monitor and server log, the server reports a timeout.

    However, I have been able to locate the error.

    We automatically create a child category, depending on the user information. This has brought us to over 3600 subcategories in one main category. This brings us to a total of over 5000 subcategories.

    Can this be the reason?

    I think we have to change something.

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Thanks for your answer @sebiev,

    In this situation, the solution will be to increase the time limit or reduce the number of categories.

    Thread Starter sebiev

    (@sebiev)

    Wir reduzieren die Kategorien.

    We reduce the categories.

    Thanks for your quick response

    Thread Starter sebiev

    (@sebiev)

    It is not enough to increase the “max_execution_time” in the serverconfig (php.ini)

    php.ini = max_execution_time = 300;
    .htaccess = php_value max_execution_time 300;
    config.php = set_time_limit(300);

    It seems to work…

    Thanks

    Thread Starter sebiev

    (@sebiev)

    The plugin now no longer runs into a 500 error.
    However, it generates a wrong structure.
    We have 4 different categories.

    Cat1,Cat2,Cat3,Cat4

    These each get a brand and the brand different models.
    Url structure -> /cat/brand/model/slug
    In Cat1,Cat2 and Cat3 these work.
    In cat4 it comes occasionally to wrong structures .

    /cat4/kat2/brand-from-cat2/model-from-cat2/slug-from-cat4

    In the article the correct taxonomies are deposited.
    Would you have an idea?

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    @sebiev Could you please send me more information? Screenshots, URLs – so that I can better understand this situation.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Internal 500 Fehler’ is closed to new replies.