Pedrook
Advanced OT User
- Joined
- May 24, 2009
- Messages
- 442
- Solutions
- 3
- Reaction score
- 183
- Location
- Brazil
- GitHub
- pedrogiampietro
Attachments
-
Envy.rar4.2 MB · Views: 293 · VirusTotal
thx bro. :]great work people like u are the people that make the ot community great
Fatal error: Uncaught Error: Call to a member function fetch() on bool in C:\Users\VAIO\Desktop\xampe\htdocs\classes\account.php:33 Stack trace: #0 C:\Users\VAIO\Desktop\xampe\htdocs\classes\account.php(44): Account->load('1', 'name') #1 C:\Users\VAIO\Desktop\xampe\htdocs\classes\visitor.php(39): Account->loadByName('1') #2 C:\Users\VAIO\Desktop\xampe\htdocs\classes\visitor.php(30): Visitor::loadAccount() #3 C:\Users\VAIO\Desktop\xampe\htdocs\classes\visitor.php(67): Visitor::getAccount() #4 C:\Users\VAIO\Desktop\xampe\htdocs\system\load.compat.php(40): Visitor::isLogged() #5 C:\Users\VAIO\Desktop\xampe\htdocs\index.php(33): include_once('C:\\Users\\VAIO\\D...') #6 {main} thrown in C:\Users\VAIO\Desktop\xampe\htdocs\classes\account.php on line 33
if(Website::getServerConfig()->isSetKey('mysqlHost'))
{
define('SERVERCONFIG_SQL_HOST', 'mysqlHost');
define('SERVERCONFIG_SQL_PORT', 'mysqlPort');
define('SERVERCONFIG_SQL_USER', 'mysqlUser');
define('SERVERCONFIG_SQL_PASS', 'mysqlPass');
define('SERVERCONFIG_SQL_DATABASE', 'mysqlDatabase');
define('SERVERCONFIG_SQLITE_FILE', 'sqlFile');
}
else
Incorrect integer value: '' for column 'premium_points' at row 1
Might be able to tell me what's causing the issue?
Code:Incorrect integer value: '' for column 'premium_points' at row 1
My thoughts so far,
INT, the issue = having Issues with decimal? like 0,0 <- the ,0
Value = 11INT is a whole number, decimal is commonly known as a FLOAT.
In your SQL table, set 'premium_points' default to 0, and amend any records to 0 if this isnt automated.
(I haven't checked the code so I am not sure if it is stored as you say, "0,0" and splitting the string and converting to int)
Might be cus I installed the latest/newest updated Gesior?The length/value in the structure tab is just the display width. Int can be any number between -2147483648 and 2147483647.
Post a screenshot of the browse tab.