MyBB Community Forums

Full Version: Error after changing admin directory
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i changed the admin directory and made changes in the config.php file as file but now however i get a lot or errors lke


$config['admindir'] = "censored";
The following warnings occurred:
Warning [2] Cannot modify header information - headers already sent by (output started at /home/glenv/public_html/inc/config.php:100) - Line: 1536 - File: inc/functions.php PHP 5.2.5 (Linux)
File 	Line 	Function
[PHP] 	  	errorHandler->error
/inc/functions.php 	1536 	header
/inc/class_session.php 	106 	my_setcookie
/global.php 	56 	session->init
/index.php 	18 	require_once

just to say that the problem is solved as i got a config.php file from a site backup of mine.
Can you post your inc/config.php here? (remove any passwords before posting here).
There's probably just an error in the line where you changed the directory, that line will probably be enough.