MyBB Community Forums

Full Version: Superadmin & config.php problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

We have a forum that was setup by a host tech. I have been appointed Admin and require Superadmin access.
I have used Dreamweaver to edit the config.php file to include my uid along with uid 1. This is the only thing ive changed.

On attempting to open the forum I have received this error:
Parse error: syntax error, unexpected T_VARIABLE in /clientdata/apache-www/p/d/pdcu.vu/www/forum/inc/config.php on line 80

This is line 80:
$config['database']['encoding'] = 'utf8';

What have I done wrong?

Cheers
Joe
actually you should check the line you have modified. does it include ; at the end ?
$config['super_admins'] = '1, x';
(x is your user id)

I'd suggest to use a advanced text editor like notepad++ to edit the php files.
the files should be saved with utf8 without BOM encoding (image)
Hi,

Doh... I replaced his uid1 with my uid25 and all is good.
I gather only 1 superadmin is permitted ?

Cheers
Joe

Wow... that was super fast .m.
Im just a newbee so still learning the ropes.

Thanks, will look at notepad++

Cheers
Joe
super admins can be in any number. for security reasons limit to 2 or 3
Thanks .m.

I didnt put the ; at the end, so yes, that was my problem with multi SA

Cheers