Database Errors
-
Hi
Great theme but it is causing havoc with our servers. This is the chat log I had with tech support which does not mean much to me. can anyone help please. it is theme version 1.2.3
Mark L: As per checking by our techs again, your theme is self-hitting which would explain why this query is run so many times.
Mark L: 33436 hits just today from your theme, it is an endless loop that looks like this:
Mark L: Mar 29 14:18:58 web180 mywebsite.co.uk: /wp-content/themes/point/header.php:41 – fopen connected to tcp://mywebsite.co.uk:80Mark L: Line 36 is part of this if function:
Mark L: if( is_front_page() || is_home() || is_404() ) { ?>
Mark L: <h1 id=”logo” class=”image-logo”>
Mark L: <?php list($width, $height, $type, $attr) = getimagesize($mts_options[‘mts_logo’]); ?>
Mark L: “><img src=”<?php echo $mts_options[‘mts_logo’]; ?>” alt=”<?php bloginfo( ‘name’ ); ?>” <?php echo $attr; ?>>
Mark L: </h1><!– END #logo –>
Mark L: <?php }
Mark L: It isn’t possible to say with 100% certainty that this doesn’t, but our techncians assume that it has something to do with the page logo,I have turned the page logo off for the minute which has improved it a bit but we need the logo back
The topic ‘Database Errors’ is closed to new replies.
