PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 11-15-2005, 08:10 AM   #1
noel
Orange Mole
 
Join Date: Aug 2005
Posts: 44
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
noel is offline   Reply With Quote
Old 11-15-2005, 04:37 PM   #2
noel
Orange Mole
 
Join Date: Aug 2005
Posts: 44
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
noel is offline   Reply With Quote
Old 11-16-2005, 04:00 PM   #3
noel
Orange Mole
 
Join Date: Aug 2005
Posts: 44
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
noel is offline   Reply With Quote
Old 11-18-2005, 03:22 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
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');
__________________
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 11-19-2005, 01:34 PM   #5
noel
Orange Mole
 
Join Date: Aug 2005
Posts: 44
Thank You ;-)

All is Ok now !

Noel
noel 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
um new user help mspmsp How-to Forum 1 09-16-2004 07:35 PM
Submit crawler Mindrot Mod Requests 5 08-26-2004 08:36 PM
how to change user-agent ? 123av Mod Requests 11 04-21-2004 05:29 AM
User Titles Charter The Mole Hole 0 01-30-2004 11:55 PM


All times are GMT -8. The time now is 09:53 AM.


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