• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

[WEBSITE] Undefined Variable.

mbruzaca

New Member
Joined
Jun 8, 2012
Messages
93
Reaction score
1
Location
Brazil
Hello guys! I'm using Debian 6.0 and I got my website, it was runnin' fine for lots of days, now I just woke up and now there's this big problem.

Code:
Notice: Undefined index: sqliteDatabase in /var/www/config-and-functions.php on line 30 Notice: Undefined index: action 
in /var/www/index.php on line 14 Notice: Undefined index: account_login in /var/www/index.php on line 36 Notice: Undefined index: 
password_login in /var/www/index.php on line 37 Notice: Undefined variable: main_content in /var/www/latestnews.php on line 22
 Notice: Use of undefined constant div - assumed 'div' in /var/www/latestnews.php on line 24 Notice: Undefined variable:
 news_content in /var/www/latestnews.php on line 47 Notice: Undefined variable: tickers_to_add in /var/www/latestnews.php
 on line 113 Notice: Undefined variable: group_id_of_acc_logged in /var/www/latestnews.php on line 115 Notice: Undefined variable: 
group_id_of_acc_logged in /var/www/latestnews.php on line 121 Notice: Undefined variable: group_id_of_acc_logged in 
/var/www/latestnews.php on line 115 Notice: Undefined variable: group_id_of_acc_logged in /var/www/latestnews.php on line 121 Notice: 
Undefined variable: group_id_of_acc_logged in /var/www/latestnews.php on line 115 Notice: Undefined variable: group_id_of_acc_logged in 
/var/www/latestnews.php on line 121 Notice: Undefined variable: group_id_of_acc_logged in /var/www/latestnews.php on line 115 Notice: 
Undefined variable: group_id_of_acc_logged in /var/www/latestnews.php on line 121 Notice: Undefined variable: group_id_of_acc_logged in 
/var/www/latestnews.php on line 135 Notice: Undefined variable: group_id_of_acc_logged in /var/www/latestnews.php on line 212 Notice: 
Undefined variable: server in /var/www/latestnews.php on line 248 Notice: Undefined variable: group_id_of_acc_logged in 
/var/www/latestnews.php on line 260 Notice: Undefined variable: server in /var/www/latestnews.php on line 248 Notice: Undefined variable: 
group_id_of_acc_logged in /var/www/latestnews.php on line 260 Notice: Undefined variable: server in /var/www/latestnews.php on line 248 
Notice: Undefined variable: group_id_of_acc_logged in /var/www/latestnews.php on line 260

Or if you want to see for yourself: Throne OT - Latest News

Can anyone help me with this?
 
Last edited:
Another variables, but same kind of errors.. It seems that the website can't recognize the variables declared at config.php..

like

Code:
$config['site']['access_news'] = 5;
$config['site']['access_tickers'] = 3;
$config['site']['access_admin_panel'] = 5;

and all those things..

- - - Updated - - -

But it was runnin 100% fine till I woke up.. So, what could happened?
 
Back
Top