News:

Join the Facebook Fan Page.

Main Menu

Bot scout errors

Started by Blade73, January 16, 2019, 06:32:18 AM

Previous topic - Next topic

Blade73

getting 2 error in the log about the bot scout
my smf version is 2.0.15

/forum/index.php?action=register2
2: include(): Failed opening 'public_html/forum/Sources/BotScout.php' for inclusion (include_path='.:/usr/local/php71/lib/php')
File: /public_html/forum/Sources/Register.php
Line: 274 :

273:
==>274: include ('public_html/forum/Sources/BotScout.php');


same line again on second error

/forum/index.php?action=register2
2: include(public_html/forum/Sources/BotScout.php): failed to open stream: No such file or directory
File: /public_html/forum/Sources/Register.php
Line: 274

273:
==>274: include ('public_html/forum/Sources/BotScout.php');


have checked the botscout.php is in the right place (sources)
since i put in the api key for it

Shambles

Does it exist as botscout.php or BotScout.php?

Arantor

I would also assume the path is wrong and probably should be require_once($sourcedir . '/BotScout.php');

Kindred

As a note...mod specific questions should be asked/addressed in the thread dedicated to supporting that specific mod.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

Quote from: Arantor on January 16, 2019, 07:20:05 AM
I would also assume the path is wrong and probably should be require_once($sourcedir . '/BotScout.php');

I thought the error message would have the full path where the source would have the code you quoted.

Arantor

The error message does have the full path, it's written in as public_html/forum/Sources... which is almost certainly wrong.

Blade73

Quote from: Sh@mbles on January 16, 2019, 07:15:24 AM
Does it exist as botscout.php or BotScout.php?

exist as BotScout.php

Quote from: Arantor on January 16, 2019, 07:20:05 AM
I would also assume the path is wrong and probably should be require_once($sourcedir . '/BotScout.php');

this is the complete line
so what do i change out to try your  suggestion?
274: include ('public_html/forum/Sources/BotScout.php');


Quote from: Kindred on January 16, 2019, 07:22:07 AM
As a note...mod specific questions should be asked/addressed in the thread dedicated to supporting that specific mod.

Sry didt find it in this huge forum, just found the actually mod.

Quote from: Arantor on January 16, 2019, 07:52:13 AM
The error message does have the full path, it's written in as public_html/forum/Sources... which is almost certainly wrong.

So what can i do getting about 150-200 errors in 48-36 hours

Kindred

mod support thread is linked from the mod page.



the issue is that your paths could be wrong.

What is your forum URL?
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Arantor

To try out my suggestion, I gave you the entire line to replace it with.

Blade73

Quote from: Arantor on January 16, 2019, 04:56:30 PM
To try out my suggestion, I gave you the entire line to replace it with.

did change it now and made a new acount  on the forum no errors came in
Thx

Quote from: Kindred on January 16, 2019, 04:54:04 PM

the issue is that your paths could be wrong.

What is your forum URL?
full path is www.xxxxxxxx.com/public_html/forum/Sources

im not a php wizard so i will say thanks for all the help, and still no errors on that subject

Illori

we need to see the exact URL you are using, this way we can tell you how to fix the problem.

Arantor

Seems like it's fixed now?

Though I refuse to believe the actual url includes public_html in it, even if the web server path does.

Blade73

full url was file: /home/virtual/3para-gu.com/public_html/forum/Sources/Register.php

but that error is gone now after changing the line to the line Arantor posted

So thanks again.

Arantor

Yeah, that's kind of what I thought.

Kindred

Blade73

please learn the difference between PATH and URL.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: