Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 9 Years, 11 Months, 1 Week ago Superadmin & config.php problems
#1
Solved: 9 Years, 11 Months, 1 Week ago
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
#2
Solved: 9 Years, 11 Months, 1 Week ago
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)
#3
Solved: 9 Years, 11 Months, 1 Week ago
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
#4
Solved: 9 Years, 11 Months, 1 Week ago
super admins can be in any number. for security reasons limit to 2 or 3
#5
Solved: 9 Years, 11 Months, 1 Week ago
Thanks .m.

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

Cheers
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)