![]() |
User submit link
Hi CHARTER,
I need that people could submit link, I tried this script http://www.phpdig.net/forum/showthread.php?t=751 all work well, but I have this error message : Notice: Use of undefined constant urlfiles - assumed 'urlfiles' in c:\program files\easyphp1-8\www\phpdig-1.8.9-rc1\includes\config.php on line 30 at the line 30 there is : // Add URL // define('URL_FILE_DIRECTORY',urlfiles); // Directory under [PHPDIG_DIR]/admin where url files for indexing are stored The script is yet really fine, just this small problem. For information it works with 1.8.9 perhaps to include in an other version of PHPDIG ;) THANK YOU VERY MUCH Noël |
Hi CHARTER,
I had this error just in local it disappeared when I put the script on the web. But just for information, do you know what was this error ? Thank You Noël |
But I see now that if I use shell command I have this error :
[root@ admin]# php -f spider.php http://www.asite.com PHP Notice: Use of undefined constant urlfiles - assumed 'urlfiles' in /home/httpd/vhosts/asite.com/httpdocs/google/includes/config.php on line 30 7912: old priority 0, new priority 18 Exploration des liens en cours... Do you have an idea ? Thank You Noël |
Whether or not you see the error depends on the PHP error reporting levels.
Find this code: define('URL_FILE_DIRECTORY',urlfiles); Replace it with: define('URL_FILE_DIRECTORY','urlfiles'); |
Thank You ;-)
All is Ok now ! Noel |
All times are GMT -8. The time now is 09:23 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.