PDA

View Full Version : Bit of Coding Help



LegendOfNoob
19-02-2008, 08:45 PM
I'll probally get burned to hell or warned or something for this but i didnt think it was exactly designing
on mybb when i go to my plugin manager i get

Warning: require_once(./inc/init.php) [function.require-once (http://habbofury.com/forum/admin/function.require-once)]: failed to open stream: No such file or directory in /home/*site*/public_html/forum/global.php on line 13

Fatal error: require_once() [function.require (http://habbofury.com/forum/admin/function.require)]: Failed opening required './inc/init.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/*site*/public_html/forum/global.php on line 13

i replaced the name with *site* so that is not the error any suggestions?

redtom
19-02-2008, 08:51 PM
EDIT: actualy nvm sorry read the error wrong lol

LegendOfNoob
19-02-2008, 08:57 PM
Yes there is

H0BJ0B
19-02-2008, 09:10 PM
It says you're opening a file, in a file?
Maybe that's the reason, I don't know.

LegendOfNoob
19-02-2008, 09:23 PM
fixed it i removed ./ from the coding i dunno why that was even there big glitch

theJOSH
19-02-2008, 09:29 PM
Probably because you tried stealing MyBB

Edited by H0BJ0B (Forum Moderator): Please do not accuse someone of stealing.

php.net
19-02-2008, 09:34 PM
Please post line 12, 13 and 14 from globals.php.

Blob
19-02-2008, 09:38 PM
Use chdir to change the directory to the forum.

Want to hide these adverts? Register an account for free!