Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
BrainCMS Online Counter Error
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="uttmmmm5" data-source="post: 408599" data-attributes="member: 68424"><p>This isn't really an error because the console don't show anything.</p><p>But the online counter at the client is not very important - i can disable it.</p><p>But this message is popup a few times on the homepage but only for 2 seconds and then the onlinecounter works perfect.</p><p>"Notice: session.start() : error at line 9 in global.php"</p><p></p><p>This is the global.php</p><p>[CODE]<?php</p><p>if(!defined('BRAIN_CMS'))</p><p> {</p><p> die('Sorry but you cannot access this file!');</p><p> }</p><p> session_start();</p><p> ob_start();</p><p> define('Z', $_SERVER['DOCUMENT_ROOT'].'/');</p><p> define('A', Z . 'system/');</p><p> define('B', 'app/');</p><p> define('C', 'classes/');</p><p> define('E', 'languages/');</p><p> define('G', 'content/');</p><p> define('H', 'templates/');</p><p> define('I', 'maintenance/');</p><p> define('J', Z . 'adminpan/');</p><p> define('K', 'plugins/');</p><p> require_once A . '/brain-config.php';</p><p> require_once A . E . '/'.$config['lang'].'.php';</p><p> require_once A . B . C . '/functions.php';</p><p> require_once A . B . C . '/class.game.php';</p><p> require_once A . B . C . '/class.user.php';</p><p> require_once A . B . C . '/class.html.php';</p><p> require_once A . B . C . '/class.admin.php';</p><p> require_once A . B . C . '/class.db.php';</p><p> define('S', $config['skin']);</p><p> Html::loadPlugins();[/CODE]</p></blockquote><p></p>
[QUOTE="uttmmmm5, post: 408599, member: 68424"] This isn't really an error because the console don't show anything. But the online counter at the client is not very important - i can disable it. But this message is popup a few times on the homepage but only for 2 seconds and then the onlinecounter works perfect. "Notice: session.start() : error at line 9 in global.php" This is the global.php [CODE]<?php if(!defined('BRAIN_CMS')) { die('Sorry but you cannot access this file!'); } session_start(); ob_start(); define('Z', $_SERVER['DOCUMENT_ROOT'].'/'); define('A', Z . 'system/'); define('B', 'app/'); define('C', 'classes/'); define('E', 'languages/'); define('G', 'content/'); define('H', 'templates/'); define('I', 'maintenance/'); define('J', Z . 'adminpan/'); define('K', 'plugins/'); require_once A . '/brain-config.php'; require_once A . E . '/'.$config['lang'].'.php'; require_once A . B . C . '/functions.php'; require_once A . B . C . '/class.game.php'; require_once A . B . C . '/class.user.php'; require_once A . B . C . '/class.html.php'; require_once A . B . C . '/class.admin.php'; require_once A . B . C . '/class.db.php'; define('S', $config['skin']); Html::loadPlugins();[/CODE] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
BrainCMS Online Counter Error
Top