OssnDatabaseException' with message Incorrect integer value

odu tolu Posted in Technical Support 8 years ago

my website is www.keepacada.com
A system error has occurred. Please try again later. You may email the details of this error to

the system administrator at [email protected].
exception 'OssnDatabaseException' with message 'Incorrect integer value: '' for column 'time_updated' at row 1 INSERT INTO ossn_entities (`owner_guid`, `type`, `subtype`, `time_created`, `time_updated`, `permission`, `active`) VALUES ('1', 'user', 'cover_time', '1463751402', '', '2', '1'); ' in /home/keepacad/public_html/classes/OssnDatabase.php:77 Stack trace: #0 /home/keepacad/public_html/classes/OssnDatabase.php(44): OssnDatabase->execute() #1 /home/keepacad/public_html/classes/OssnEntities.php(99): OssnDatabase->insert(Array) #2 /home/keepacad/public_html/classes/OssnEntities.php(202): OssnEntities->add() #3 /home/keepacad/public_html/classes/OssnUser.php(1056): OssnEntities->save() #4 /home/keepacad/public_html/components/OssnProfile/classes/OssnProfile.php(184): OssnUser->save() #5 /home/keepacad/public_html/components/OssnProfile/plugins/default/profile/pages/profile.php(16): OssnProfile->getCoverURL(Object(OssnUser)) #6 /home/keepacad/public_html/libraries/ossn.lib.views.php(27): include('/home/keepacad/...') #7 /home/keepacad/public_html/libraries/ossn.lib.views.php(50): ossn_include('/home/keepacad/...', Array) #8 /home/keepacad/public_html/libraries/ossn.lib.plugins.php(75): ossn_view('components/Ossn...', Array) #9 /home/keepacad/public_html/components/OssnProfile/ossn_com.php(248): ossn_plugin_view('profile/pages/p...', Array) #10 [internal function]: profile_page_handler(Array, 'u') #11 /home/keepacad/public_html/libraries/ossn.lib.page.php(67): call_user_func('profile_page_ha...', Array, 'u') #12 /home/keepacad/public_html/index.php(21): ossn_load_page('u', 'keepacad/edit') 

#13 {main}
Replies
Indonesian Arsalan Shah Replied 8 years ago

The error is same as you indicated before, did you followed @Wilgo solution?

ng Odu tolu Replied 8 years ago

Thanks for your reply.
I am now believing in people in this site.
The challenge I have now is this.
What can I do

A system error has occurred. Please try again later. You may email the details of this error to the system administrator at [email protected].

exception 'OssnDatabaseException' with message 'Incorrect integer value: '' for column 'time_updated' at row 1 INSERT INTO ossn_entities (`owner_guid`, `type`, `subtype`, `time_created`, `time_updated`, `permission`, `active`) VALUES ('1', 'user', 'cover_time', '1466716017', '', '2', '1'); ' in /home/keepacad/public_html/time/classes/OssnDatabase.php:77 Stack trace: #0 /home/keepacad/public_html/time/classes/OssnDatabase.php(44): OssnDatabase->execute() #1 /home/keepacad/public_html/time/classes/OssnEntities.php(99): OssnDatabase->insert(Array) #2 /home/keepacad/public_html/time/classes/OssnEntities.php(202): OssnEntities->add() #3 /home/keepacad/public_html/time/classes/OssnUser.php(1056): OssnEntities->save() #4 /home/keepacad/public_html/time/components/OssnProfile/classes/OssnProfile.php(184): OssnUser->save() #5 /home/keepacad/public_html/time/components/OssnProfile/plugins/default/profile/pages/profile.php(16): OssnProfile->getCoverURL(Object(OssnUser)) #6 /home/keepacad/public_html/time/libraries/ossn.lib.views.php(27): include('/home/keepacad/...') #7 /home/keepacad/public_html/time/libraries/ossn.lib.views.php(50): ossn_include('/home/keepacad/...', Array) #8 /home/keepacad/public_html/time/libraries/ossn.lib.plugins.php(75): ossn_view('components/Ossn...', Array) #9 /home/keepacad/public_html/time/components/OssnProfile/ossn_com.php(248): ossn_plugin_view('profile/pages/p...', Array) #10 [internal function]: profile_page_handler(Array, 'u') #11 /home/keepacad/public_html/time/libraries/ossn.lib.page.php(67): call_user_func('profile_page_ha...', Array, 'u') #12 /home/keepacad/public_html/time/index.php(21): ossn_load_page('u', 'ologo/friends') #13 {main}
Breton Wilgo sales Replied 8 years ago

1 - Open the file classes/OssnEntities.php
2 - in line 20 change from $this->timeupdated=''; to $this->timeupdated=time();
3 - Save

ng Odu tolu Replied 8 years ago

please can you help me out here

Indonesian Arsalan Shah Replied 8 years ago