Hi sorry for my expression but im french
so i have this message after my upgrade:
Quote:Warning: main(/homepages/20/d147751288/htdocs/wowmods/forum/inc/config.php) [function.main]: failed to open stream: No such file or directory in /homepages/20/d147751288/htdocs/wowmods/forum/install/upgrade.php on line 23
Fatal error: main() [function.require]: Failed opening required '/homepages/20/d147751288/htdocs/wowmods/forum/inc/config.php' (include_path='.:/usr/local/lib/php') in /homepages/20/d147751288/htdocs/wowmods/forum/install/upgrade.php on line 23
Please someone can help me please ?
thank you
Make sure your config.php is writable and that you uploaded it.
destroyer Wrote:Make sure your config.php is writable and that you uploaded it.
good thx, now I have
Quote:Direct initialization of this file is not allowed.
Please make sure IN_MYBB is defined.
but I have Uploaded all files and directories on my ftp.
And when i go on :
http://www.wowmods-fr.com/forum/install/upgrade.php
i have always:
Quote:Warning: main(/homepages/20/d147751288/htdocs/wowmods/forum/inc/db_.php) [function.main]: failed to open stream: No such file or directory in /homepages/20/d147751288/htdocs/wowmods/forum/install/upgrade.php on line 24
Fatal error: main() [function.require]: Failed opening required '/homepages/20/d147751288/htdocs/wowmods/forum/inc/db_.php' (include_path='.:/usr/local/lib/php') in /homepages/20/d147751288/htdocs/wowmods/forum/install/upgrade.php on line 24
What happen to your config file? Did you upload it from the zip file? What happen to your old one? If possible, please upload your old one from the old version.
Did you upload all of the files (with the exception of inc/config.php and inc/settings.php) from the zip? If no, please do so.
Please see this thread for more info on upgrading:
http://community.mybboard.net/showthread...4#pid83414
UP please
I know if this code was good with the 1.2.1
<?php
chdir('forum'); // path to MyBB
require './global.php';
?>
<?
if($mybb -> user['uid'])
{
if($mybbuser[username] == "*********") {
echo '<li><small><a href="......html">'......'</a></li></small>';
}
}
?>
Because, afte the upgrade the forum it's good (not screens) but my site with this code it's not good.
I hope you understand
Something like this should work.
<?php
define('IN_MYBB', 1);
require_once "./forum/global.php";
if($mybb ->user['uid'])
{
if($mybb->user['username'] == "*********")
{
echo '<li><small><a href="......html">'......'</a></li></small>';
}
}
?>
Just top to be clear, you're not having upgrade issues any more correct?
Err. Doh. Sorry I was in a hurry. I'll fix that now.