Pagina 1 di 2

Link Checker Bot.

Inviato: 05/01/2010, 11:29
da gennyna
Ho installato questa mod:

http://www.phpbb.com/community/viewtopi ... 35&start=0

ed ho i seguenti errori:

quando lancio il file linkbot.php ( non posso postare l'errore perchè è troppo lungo e non me lo fa inviare)

ecco una piccola parte:

Codice: Seleziona tutto

[phpBB Debug] PHP Notice: in file /linkbot.php on line 43: Use of undefined constant bot_userid - assumed 'bot_userid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 44: Use of undefined constant bot_percent - assumed 'bot_percent'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 45: Use of undefined constant bot_binid - assumed 'bot_binid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 46: Use of undefined constant bot_topic - assumed 'bot_topic'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 47: Use of undefined constant bot_pm - assumed 'bot_pm'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 48: Use of undefined constant bot_pm_title - assumed 'bot_pm_title'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 49: Use of undefined constant bot_topic_title - assumed 'bot_topic_title'
e quando apro un topic mi da solo questo piccolo errore:

Codice: Seleziona tutto

[phpBB Debug] PHP Notice: in file /viewtopic.php on line 1996: Undefined index: links_to_check

Re: Link Checker Bot.

Inviato: 05/01/2010, 11:53
da Carlo
Nel file linkbot.php, trova questo:

Codice: Seleziona tutto

$linkbot_name = $linkbot['bot_name'];
        $linkbot_userid = $linkbot[bot_userid];
        $linkbot_percentage = $linkbot[bot_percent];
        $linkbot_binid = $linkbot[bot_binid];
        $linkbot_topic = $linkbot[bot_topic];
        $linkbot_pm = $linkbot[bot_pm];
        $linkbot_pm_title = $linkbot[bot_pm_title];
        $linkbot_topic_title = $linkbot[bot_topic_title]; 
e sostituiscilo con:

Codice: Seleziona tutto

$linkbot_name = $linkbot['bot_name'];
        $linkbot_userid = $linkbot['bot_userid'];
        $linkbot_percentage = $linkbot['bot_percent'];
        $linkbot_binid = $linkbot['bot_binid'];
        $linkbot_topic = $linkbot['bot_topic'];
        $linkbot_pm = $linkbot['bot_pm'];
        $linkbot_pm_title = $linkbot['bot_pm_title'];
        $linkbot_topic_title = $linkbot['bot_topic_title']; 

Re: Link Checker Bot.

Inviato: 05/01/2010, 12:04
da gennyna
perfetto la mod funge e si è messa già al lavoro hahahha che bello..!

pero questa sostituzione mi ha risolto il 2°problema..

se io provo a lnciare ancora il file linkbot.php

mi dda un pagina piena di errori:

Codice: Seleziona tutto

phpBB Debug] PHP Notice: in file /includes/functions_linkbot.php on line 24: Constant IN_PHPBB already defined
[phpBB Debug] PHP Notice: in file /linkbot.php on line 64: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
[phpBB Debug] PHP Notice: in file /linkbot.php on line 66: curl_setopt() [function.curl-setopt]: Unable to access cookie.txt
[phpBB Debug] PHP Notice: in file /linkbot.php on line 67: curl_setopt() [function.curl-setopt]: Unable to access cookie.txt
[phpBB Debug] PHP Notice: in file /linkbot.php on line 218: Use of undefined constant topicid - assumed 'topicid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 219: Use of undefined constant postid - assumed 'postid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 218: Use of undefined constant topicid - assumed 'topicid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 219: Use of undefined constant postid - assumed 'postid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 218: Use of undefined constant topicid - assumed 'topicid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 219: Use of undefined constant postid - assumed 'postid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 218: Use of undefined constant topicid - assumed 'topicid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 219: Use of undefined constant postid - assumed 'postid'
INSERT INTO rs_links (id, last_checked, status, postid,topicid) VALUES (178505854, 1262689337, '1', 742,699)
[phpBB Debug] PHP Notice: in file /linkbot.php on line 218: Use of undefined constant topicid - assumed 'topicid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 219: Use of undefined constant postid - assumed 'postid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 218: Use of undefined constant topicid - assumed 'topicid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 219: Use of undefined constant postid - assumed 'postid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 218: Use of undefined constant topicid - assumed 'topicid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 219: Use of undefined constant postid - assumed 'postid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 218: Use of undefined constant topicid - assumed 'topicid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 219: Use of undefined constant postid - assumed 'postid'
INSERT INTO rs_links (id, last_checked, status, postid,topicid) VALUES (178499344, 1262689337, '1', 742,699)
[phpBB Debug] PHP Notice: in file /linkbot.php on line 218: Use of undefined constant topicid - assumed 'topicid'
[phpBB Debug] PHP Notice: in file /linkbot.php on line 219: Use of undefined constant postid - assumed 'postid'
ma è molto lunga tanto da non poter postare l'intero errore qui

Re: Link Checker Bot.

Inviato: 05/01/2010, 12:24
da Carlo
1) Questa MOD contiene un sacco di errori, quindi è meglio che la sostituisci.
2) La MOD richiede che la libreria cURL sia installata ed attiva. Ma da alcuni errori sempre che sul tuo sito non sia attiva.

Re: Link Checker Bot.

Inviato: 05/01/2010, 13:57
da gennyna
Le librerie culr sul mio server sono ben e attive.

L amod funge anche se a rilento.. ( ci mette un pò di tempo per fare la segnalazione)

ma se mi dici dove sono gli errori io li faccio notare al creatore

Re: Link Checker Bot.

Inviato: 05/01/2010, 14:40
da Carlo
Beh, da come potevi notare sul .com la MOD non si trovava nella sezione delle "mod rilasciate", ma in "richiesta mod". E, da quel che ho capito, quella è una MOD che l'utente stava sviluppando per se, e aveva bisogno di un aiuto...

Re: Link Checker Bot.

Inviato: 05/01/2010, 14:45
da gennyna
capito...

Re: Link Checker Bot.

Inviato: 24/01/2010, 21:52
da Carlo
Ciao,
volevo informarti che ho trovato questa MOD che potrebbe fare al caso tuo.

http://www.mssti.com/phpbb3/viewtopic.p ... =383#p2679

Re: Link Checker Bot.

Inviato: 25/01/2010, 15:08
da gennyna
ottimo, ma non capisco se è stata rilasciata o è semplicemente in costruzione?

Re: Link Checker Bot.

Inviato: 25/01/2010, 15:27
da Carlo
Da quello che ho capito io, tale funzione è inclusa nella MOD presente nel primo post di tale topic.