jopabe Posted June 6, 2014 Share Posted June 6, 2014 Can anyone help? Last few days, I started having my disk getting full, because of an error.log and several core.xxxxx, after checking the APC extension on, on the PHP options. Finaly, I unchecked that option, and it got better, but an error.log is still showing up, with the following message: [06-Jun-2014 19:45:31 Europe/Paris] PHP Notice: unserialize(): Error at offset 8192 of 8192 bytes in /home/pintalo1/public_html/classes/cache/CacheFs.php on line 40[06-Jun-2014 18:46:11 Europe/Lisbon] PHP Notice: Undefined offset: 33 in /home/pintalo1/public_html/modules/gamification/gamification.php on line 384[06-Jun-2014 19:46:40 Europe/Paris] PHP Notice: unserialize(): Unexpected end of serialized data in /home/pintalo1/public_html/classes/cache/CacheFs.php on line 40[ The content of line 40 is: $this->keys = unserialize(file_get_contents($keys_filename)); The content of line 384 is : Db::getInstance()->insert('condition_badge', array('id_condition' => $cond_ids[$cond], 'id_badge' => $bdg->id)); Help will be welcome! Link to comment Share on other sites More sharing options...
metacreo Posted July 11, 2014 Share Posted July 11, 2014 (edited) UP gamification.php on line 384 PHP Version 5.4.30this error in apache log after access admin (AdminDashboard) on PrestaShop 1.6.0.8 (1.6.x.x) [Fri Jul 11 13:13:17 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined offset: 11 in /var/sites/mysite/www/modules/gamification/gamification.php on line 384, referer: http://shop.mysitedomain.com/adminfolder/index.php?controller=AdminDashboard&token=f9ff635b2ef36cd591091845b3d0aab6 [Fri Jul 11 13:13:30 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined offset: 43 in /var/sites/mysite/www/modules/gamification/gamification.php on line 384, referer: http://shop.mysitedomain.com/adminfolder/index.php?controller=AdminDashboard&token=f9ff635b2ef36cd591091845b3d0aab6 [Fri Jul 11 13:13:33 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined offset: 47 in /var/sites/mysite/www/modules/gamification/gamification.php on line 384, referer: http://shop.mysitedomain.com/adminfolder/index.php?controller=AdminDashboard&token=f9ff635b2ef36cd591091845b3d0aab6 [Fri Jul 11 13:13:36 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined offset: 54 in /var/sites/mysite/www/modules/gamification/gamification.php on line 384, referer: http://shop.mysitedomain.com/adminfolder/index.php?controller=AdminDashboard&token=f9ff635b2ef36cd591091845b3d0aab6 [Fri Jul 11 13:14:09 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined offset: 107 in /var/sites/mysite/www/modules/gamification/gamification.php on line 384, referer: http://shop.mysitedomain.com/adminfolder/index.php?controller=AdminDashboard&token=f9ff635b2ef36cd591091845b3d0aab6 [Fri Jul 11 13:14:10 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined offset: 106 in /var/sites/mysite/www/modules/gamification/gamification.php on line 384, referer: http://shop.mysitedomain.com/adminfolder/index.php?controller=AdminDashboard&token=f9ff635b2ef36cd591091845b3d0aab6 [Fri Jul 11 13:14:14 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined offset: 167 in /var/sites/mysite/www/modules/gamification/gamification.php on line 384, referer: http://shop.mysitedomain.com/adminfolder/index.php?controller=AdminDashboard&token=f9ff635b2ef36cd591091845b3d0aab6 [Fri Jul 11 13:14:16 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined offset: 172 in /var/sites/mysite/www/modules/gamification/gamification.php on line 384, referer: http://shop.mysitedomain.com/adminfolder/index.php?controller=AdminDashboard&token=f9ff635b2ef36cd591091845b3d0aab6 [Fri Jul 11 13:14:27 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined offset: 158 in /var/sites/mysite/www/modules/gamification/gamification.php on line 452, referer: http://shop.mysitedomain.com/adminfolder/index.php?controller=AdminDashboard&token=f9ff635b2ef36cd591091845b3d0aab6 [Fri Jul 11 13:14:32 2014] [error] [client xxx.xxx.xxx.xxx] PHP Notice: Undefined offset: 158 in /var/sites/mysite/www/modules/gamification/gamification.php on line 452, referer: http://shop.mysitedomain.com/adminfolder/index.php?controller=AdminModules&token=4f9b6f0cbd6145b62dccc820c8207be1 Edited July 11, 2014 by metacreo (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted July 11, 2014 Share Posted July 11, 2014 simply set your reporting levels to not include notices learn more here: http://php.net/manual/en/function.error-reporting.php Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now