Hi David, a little while ago I noticed the server error log indicating that " /home/domain/public_html/merchant/nameofmerchant/reviews.php" was not found.
It didn't occur to me this was a problem, so I just copied the file into that folder. However, I realized the same error message wasn't appearing on my other PT site. I've now copied the relevant part of .htaccess to match from the good site, but I still see some server error messages. One is the googlebot, which could be a delayed reaction.
Is there a way to check if I have this setup properly? The review links were working from every page, but I have disabled them in the meantime. I'm not sure what happened.
Thanks a mil!
Hi David, thanks for your offer! I may have found my problem...
When I tried to disable reviews, I noticed the review-box was still sitting at the bottom of the page. I have since updated products.php to state if (isset($interaction)) require("html/ratings.php") as I had just added the "require" without "if".
To be honest, I suspect I messed up reviews when I added them to the product page - they are disabled now, and I'll revisit the process a bit later.
On another note, the error message "[09-Aug-2008 13:41:49] PHP Warning: Invalid argument supplied for foreach() in /home/domain/public_html/includes/widget.php on line 19" continues to appear, and not only when files are imported. It's pretty consistent every day, any ideas how I would troubleshoot?
Thanks a mil!
T.
Hi,
The invalid argument warning should only occur when you go the /admin/ section as this is the only part of the site that uses widget.php; however I'm not sure why it's happening as i've looked at each point that calls the function in question and it should have a valid array under normal circumstances; however if a feed has been registered with an incorrect format string and hence there are no fields in the drop down boxes on Feed Registration (Step 2) this could cause the error. Does this tally at all...? Are you able to identify which page view is causing the error by going to /admin/ and checking the error log as you browse pages...
Cheers,
David.
Hi,
It's not unusual for amateur bots to request silly pages having mis-interpreted the HTML; but assuming that you are getting an error from a genuine Googlebot (it's not uncommon to see bots pretending to be Googlebot!) it's worth investigating.
Personally, I just thoroughly check that all links on the site are correct and working. This is relatively quick to do on a Price Tapestry based site as there are only a small number of different page types.
If you're still concerned, feel free to email me a snippet from the error log, your current .htaccess and the site URL and i'll check it over for you...
Cheers,
David.