Forums

Help! My Wordpress Blog Contains 2,988 Categories (5 posts)

  1. alan-kay
    Member
    Posted 4 years ago #

    I recently translated a custom DB model to Wordpress and it has the above mentioned number of categories.

    When I go to MANAGE > CATEGORIES in order view my category list, after a few seconds of kaffufle the top of the page displays:

    Fatal error: Maximum execution time of 30 seconds exceeded in /home/organic/public_html/wp-admin/admin-functions.php on line 579

    I have checked this error out and most people seem to suggest it is an error with PHP. I have also looked on line 579 of the mentioned file and I found no PHP I see I can edit to prevent such an error occuring.

    How do I increase the amount of time to display categories?

  2. mniepert
    Member
    Posted 4 years ago #

    It's not an error it's a restriction.

    "This sets the maximum time in seconds a script is allowed to run before it is terminated by the parser. This helps prevent poorly written scripts from tying up the server. The default setting is 30."
    http://www.php.net/manual/en/ref.info.php#ini.max-execution-time

    If you have access to php.ini you can change this value. If you are hosted... good luck asking them.

  3. VaamYob
    Member
    Posted 4 years ago #

    Or you can try set_time_limit(0)

    See (note the WARNING):
    http://us3.php.net/set_time_limit

  4. alan-kay
    Member
    Posted 4 years ago #

    thanks.

  5. splosh
    Member
    Posted 4 years ago #

    I believe that If you can get into your MySQL database you can delete them easily using PHPMyAdmin

Topic Closed

This topic has been closed to new replies.

About this Topic