PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   XML error with spider.php... (http://www.phpdig.net/forum/showthread.php?t=1146)

Grantome 08-02-2004 06:01 AM

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 08-02-2004 08:01 AM

This tread is not good for me...

http://www.phpdig.net/showthread.php?threadid=221

Charter 08-02-2004 07:38 PM

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.

Grantome 08-03-2004 11:27 AM

...
 
Well...

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

My website has not some hundred pages...

Charter 08-03-2004 11:40 AM

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.

babyboy 09-06-2004 11:49 PM

Listen, is there a solution for the safe mode on situation, ...help please

Magnetic Core 09-07-2004 12:57 AM

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

Charter 09-07-2004 04:03 PM

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.


All times are GMT -8. The time now is 01:10 PM.

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