PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 08-02-2004, 07:01 AM   #1
Grantome
Green Mole
 
Join Date: Aug 2004
Posts: 3
XML error with spider.php...

Hi,
Sorry this error is in French.

My installation is correct, i have all tables, connect.php and config.php are OK.

When i pass on admin panel, i put my URL and select Depth and link to 10.
I click "Dig This" and... This:

Quote:
La page XML ne peut pas être affichée
Impossible d'afficher l'entrée XML en utilisant la feuille de style XSL. Corrigez l'erreur, puis cliquez sur le bouton Actualiser ou réessayez ultérieurement.


--------------------------------------------------------------------------------

Un seul élément de niveau supérieur est autorisé dans un document XML. Erreur de traitement de la ressource http://www.castlemaniac.com/[PHPDIG_DIR]/admin/spider.php. Ligne 2, Position 2

<b>Warning</b>: set_time_limit(): Cannot set time limit in safe mode in <b>/home/local/apache/htdocs/sites/c/castlemaniac.com/[PHPDIG_DIR]/admin/spider.php</b> on line <b>16</b><br />
-^
When i look my tables, i have 120 keywords, 1 site and 5 pages on tempspider.


Answers in french is possible? Because i have not goog in english. If not... not a problem.
Thx.
Grantome is offline   Reply With Quote
Old 08-02-2004, 09:01 AM   #2
Grantome
Green Mole
 
Join Date: Aug 2004
Posts: 3
This tread is not good for me...

http://www.phpdig.net/showthread.php?threadid=221
Grantome is offline   Reply With Quote
Old 08-02-2004, 08:38 PM   #3
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. The XML error is because of the PHP warning. The PHP warning is because PhpDig wants safe mode off. The thread you found shows how to try and deal with PhpDig when safe mode is on.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 08-03-2004, 12:27 PM   #4
Grantome
Green Mole
 
Join Date: Aug 2004
Posts: 3
...

Well...

When i have not discover the pb, i have index my website page to page.

My website has not some hundred pages...
Grantome is offline   Reply With Quote
Old 08-03-2004, 12:40 PM   #5
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi, from php.net...
Quote:
Notez que set_time_limit() n'a pas d'effet lorsque PHP fonctionne en mode safe mode. Il n'y a pas d'autre solution que de changer de mode, ou de modifier la durée maximale d'exécution dans le php.ini.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Old 09-07-2004, 12:49 AM   #6
babyboy
Green Mole
 
Join Date: Sep 2004
Posts: 2
Listen, is there a solution for the safe mode on situation, ...help please
babyboy is offline   Reply With Quote
Old 09-07-2004, 01:57 AM   #7
Magnetic Core
Green Mole
 
Join Date: Sep 2004
Location: Switzerland
Posts: 2
Hello,

I have a similary problem with set_time_limit, my provider has disabled it (but safe mode is off). Then I have commented every line in sources codes where it was used.

Is a problem to make like this (comment) ?
Thanks
Magnetic Core
Magnetic Core is offline   Reply With Quote
Old 09-07-2004, 05:03 PM   #8
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
To babyboy, from php.net in English:
Quote:
set_time_limit() has no effect when PHP is running in safe mode. There is no workaround other than turning off safe mode or changing the time limit in the php.ini.
To Magnetic Core, not unless you run into a timeout issue.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache2 error on spider Gzus Troubleshooting 1 07-10-2006 05:56 PM
Spider Indexes an Error Page alisan Troubleshooting 2 02-13-2006 12:14 PM
XML error babyboy External Binaries 1 09-07-2004 05:00 PM
Spider Error TradeMark Troubleshooting 4 02-03-2004 07:15 PM
XML error paullind Troubleshooting 3 01-18-2004 01:28 PM


All times are GMT -8. The time now is 08:44 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.