Forum Moderators: phranque

Message Too Old, No Replies

Problem with DOCTYPE and a PHP search engine

or PHP or Apache

         

lorax

4:02 am on Apr 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I've installed DGS Search on yet another website. It says it searches everything (a look in the cache verifies it has all of the files) yet it won't find the keywords within files that have a DOCTYPE. Yea, that's right. If the DOCTYPE exists - I get nothing. If I take it out it finds the keywords.

I've done a complete fresh, unadultured, reinstall just in case I made some typos while customizing. Same issue.

So I look back at a few other websites I've installed this on and those files have the DOCTYPE in them and the search works fine.

Hmm... I says.

So I check the webserver OS. The problem child is on a server with the PHP version 4.3.1. The other installs are on older versions of PHP (4.2.3 and 4.0.6).

Now I'm a bit perplexed as to how to tackle this issue and problem solve it. Should I read the changelog for PHP to see what if anything might be amiss? Or could the issue be the Apache module? I don't know what version of Apache each server has. How would I find out if phpinfo() doesn't tell me?

lorax

4:44 pm on Apr 4, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Problem solved. It does seem to be related to the version of PHP. Something I'll have to dig into but for now Westhost switched my PHP version over to 4.2.3 and it works.