PHP Problem...

They have: 35 posts

Joined: Aug 2001

I recently installed a PHP search engine (internal for my site only) and I tried asking on their help forums but got no reply so I am wondering if anyone here can tell me what is causing my error.

Warning: Cannot set time limit in safe mode in /web/sites/298/MYUSERNAME/www.centrepointstation.net/galaxy/search.php on line 221

When I try and Meta Tag Index my site I get that error. Any ideas?

The URL for the search engine proggy is:
http://au.download.php.warpedweb.net/win/sitesearch.zip

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Apparently, PHP is running in Sage Mode on your server. Safe Mode doesn't allow scripts to call set_time_limit().

To fix this...
You'll need to run PHP outside of Safe Mode.
Or, set the timeout in the php.ini file.

If you do not have this kind of access to the server, then there is no way that I know of to fix this problem.

Another option is to suppress the error reporting, but the script will timeout before completion.

Mark Hensler
If there is no answer on Google, then there is no question.

They have: 35 posts

Joined: Aug 2001

bugger, thanks ne way

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.