I am problems with pages timing out or loading very slowly. Seems intermittent.
I have installed PT in several subdirectories and created different left side navigation menus for each. Within the html directory, I have created a leftnav.php for a left side menu. The menus contain custom categories using links based on $q.
Example:
<tr><td align="left" width="160" class="sidemenu">
<a href="http://appliance-sales.com/kitchen/search.php?q=coffee+makers">Coffee Makers</a><br>
Is this a wrong way to do this and could this be causing the error shown below?
Error log:
Sun Oct 07 19:20:22 2007] [error] [client xx] FastCGI: incomplete headers (0 bytes) received from server "/home/httpd/vhosts/default/fcgi-bin/phpfcgi"
[Sun Oct 07 19:20:57 2007] [error] [client xx] FastCGI: comm with (dynamic) server "/home/httpd/vhosts/default/fcgi-bin/phpfcgi" aborted: (first read) idle timeout (600 sec)
Thanks, Diana
Thank you for checking it out. test.php loaded quickly.I have not heard back yet from the web host, but I am looking for any other possible goofs I may have made.
I found that I had recently removed an old blog, but the database and a link in the footer remained, so maybe the dog was chasing it's tail trying to find the blog? Since I removed them, the site is loading properly. Don't know if it is related or not.
As far as creating navigation links in a left side menu, if I do not have an exact category, is it ok to use the address from using a search term,(.../search.php?q=) or is there a better way. I wasn't sure if that causes problems.
Diana
Hi,
Having links in the left hand column to specific searches is fine - lots of users do that!
Cheers,
David.
Hello Diana,
There seems to be a core PHP problem on your server. I can tell that it is nothing to do with your scripts, modifications or database, because when I browse to:
http://appliance-sales.com/kitchen/includes/tapestry.php
...which does does nothing (it is just a file full of functions), your server is still very slow to respond, if at all. Compare that to the same file running on the Price Tapestry demo server:
http://www.webpricecheck.co.uk/includes/tapestry.php
...which loads immediately and displays nothing.
What I would do now, is create an almost empty PHP file, and upload it to the root directory of your website, for example:
test.php
<?php
print "Testing";
?>
Then browse to that page, and assuming that you get the same slow reponse, send the URL of that page and a copy of the error log messages to your host and see if they are aware of any PHP installation problem. I notice that your server is using the CGI version of PHP, which doesn't have the same performance as the Apache module which most hosting companies use...
Cheers,
David.