• Hi, a client of mine wanted a new theme for his affiliate website, which contained a lot of links and attachments (about 4000+) and was running fine, except for it looked bad as design.

    Now, the site was with WP version 3.0.1 , and after the automatic update to 3.1.2 I got the message “Fatal Error: Maximum execution time of 30 seconds exceeded in rewrite.php on line 829” .

    After I removed the execution limit, the site takes like 1 minute to load, and when it loads it doesn’t show any posts/pages/categories or any content, only the layout. I installed 3.0.1 back with the old settings, but that didn’t work either.

    I’ve made a test DB, and filled it with the data I had backed up. When I delete most of the entries in wp_posts (especially the attachments) the site loads normally.

    Is there any possible fix for this? Thank you!

Viewing 1 replies (of 1 total)
  • Thread Starter sparkle92

    (@sparkle92)

    An Update: I’ve come to the conclusion that the only problem with the site are the many attached images. When I leave like 100 attachments the site runs smoothly.

    When I inject the DB with the backup, containing data of all 4000+ attachments (which are all stored in the wp-content/uploads directory so there are no broken links) the rewrite.php file lags at this line

    $page_attachment_uris[$attach_uri] = $attachment->ID;

    after which it brakes (if 30 sec execution time is set) or returns 0 categories/posts/pages.

    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Affiliate site lagging and not showing content after update’ is closed to new replies.