MyBB Community Forums

Full Version: HELP ME PLEASE
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
my problem:

I have deleted my Admin and i havent a second Admin.
I have phpadmin to my MYSQL but i dont know what i must do now. PLS help me fast!
Try running this SQL in phpMyAdmin:
INSERT INTO `mybb_users` (`uid`, `username`, `password`, `salt`, `loginkey`, `email`, `postnum`, `avatar`, `avatardimensions`, `avatartype`, `usergroup`, `additionalgroups`, `displaygroup`, `usertitle`, `regdate`, `lastactive`, `lastvisit`, `lastpost`, `website`, `icq`, `aim`, `yahoo`, `msn`, `birthday`, `signature`, `allownotices`, `hideemail`, `emailnotify`, `invisible`, `receivepms`, `pmpopup`, `pmnotify`, `remember`, `threadmode`, `showsigs`, `showavatars`, `showquickreply`, `showredirect`, `ppp`, `tpp`, `daysprune`, `dateformat`, `timeformat`, `timezone`, `dst`, `buddylist`, `ignorelist`, `style`, `away`, `awaydate`, `returndate`, `awayreason`, `pmfolders`, `notepad`, `referrer`, `reputation`, `regip`, `language`, `timeonline`, `showcodebuttons`, `totalpms`, `newpms`, `unreadpms`) VALUES 
(1, 'A', '21232f297a57a5a743894a0e4a801fc3', '', '', '[email protected]', 0, '', '', '0', 4, '', 0, '', 1197756340, 1197764921, 1197756941, 1197762952, '', '', '', '', '', '', '', 'yes', 'no', 'no', 'no', 'yes', 'yes', 'yes', 'yes', '', 'yes', 'yes', 'yes', 'yes', 0, 0, 0, '', '', '0', 'no', '', '', 0, '', 0, '', '', '1**$%%$2**$%%$3**$%%$4**', '', 0, 0, '10.11.12.106', '', 4345, 1, 0, 0, 0);
Then run this:
INSERT INTO `mybb_adminoptions` (`uid`, `cpstyle`, `notes`, `permsset`, `caneditsettings`, `caneditann`, `caneditforums`, `canmodposts`, `caneditsmilies`, `caneditpicons`, `caneditthemes`, `canedittemps`, `caneditusers`, `caneditpfields`, `caneditugroups`, `caneditaperms`, `caneditutitles`, `caneditattach`, `canedithelp`, `caneditlangs`, `canrunmaint`, `canrundbtools`) VALUES 
(1, '', '', 1, 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes', 'yes');

Change mybb_ to your forum's table prefix, if different.

Then try logging in with:
Username: Admin
Password: admin
i dont understand anything from php or MYSQL

i dont know what you mean with that... sry...
no wi have understand it. but at the second he say me:

#1062 - Duplicate entry '1' for key 1

what i must do now?
Try to log in;
if i want to go to my forum its show m enow only a white page without anything!

http://styler2go.dt.funpic.de/

but its german... i cant go there!
now i can go to my Homepage but i cant login
and now its white again!
Please edit your post using the [Image: postbit_edit.gif] button below your post, if you have to add something when nobody else replied.

Did you upload your MyBB files to the right place? I don't understand German but maybe it means the file wasn't found?
i know now whats wrong he say:

SecureSSI: Das Script (/usr/export/www/vhosts/funnetwork/hosting/styler2go/admin/index.php) hat versucht, ausserhalb von seinem Userverzeichniss, auf die Datei /proc/loadavg zuzugreifen.
Aus Sicherheitsgruenden ist dies nicht erlaubt!

translated:

SecureSSI: The script (/ usr/export/www/vhosts/funnetwork/hosting/styler2go/admin/index.php) has tried outside of his Userdirectory, on the file / proc / loadavg access.
For security reasons, this is not allowed!

what i must do now?
why nobody answer me now?


sry...
We're not active 24/7 and the support is free. Please wait 24 hours before bumping your threads.
Tikitiki i´m sry but i have so much errors with mybb and i dont know why...
We understand you have problems, but we have lives too and we aren't on here the entire day. The time you posted I was asleep, there's no way I could have responded, so next time, just go out for a walk or get a cup of coffee and do something else Smile

Try opening inc/functions.php and find:
function get_server_load()
{
	global $lang;

	$serverload = array();

	if(my_strtolower(substr(PHP_OS, 0, 3)) !== 'win')
	{
		if(@file_exists("/proc/loadavg") && $load = @file_get_contents("/proc/loadavg"))
		{
			$serverload = explode(" ", $load);
			$serverload[0] = round($serverload[0], 4);
		}
		if(!$serverload)
		{
			// Suhosin likes to throw a warning if exec is disabled then die - weird
			if($func_blacklist = @ini_get('suhosin.executor.func.blacklist'))
			{
				if(strpos(",".$func_blacklist.",", 'exec') !== false)
				{
					return $lang->unknown;
				}
			}
			// PHP disabled functions?
			if($func_blacklist = @ini_get('disabled_functions'))
			{
				if(strpos(",".$func_blacklist.",", 'exec') !== false)
				{
					return $lang->unknown;
				}
			}
			$load = @exec("uptime");
			$load = split("load averages?: ", $load);
			$serverload = explode(",", $load[1]);
			if(!is_array($serverload))
			{
				return $lang->unknown;
			}
		}
	}
	else
	{
		return $lang->unknown;
	}

	$returnload = trim($serverload[0]);

	return $returnload;
}
Replace with:
function get_server_load()
{
	global $lang;
	return $lang->unknown;
}