Error when restoring [URGENT!]

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeError when restoring [URGENT!]

This topic has been marked as not resolved.

I found a really bad error in the backup function of Pavilion.

Although you describe that Pavilion has its own SQL table (tb_setting), which is true, all the important things are stored in the table oc_setting with code “pavilion” and key “theme_pavilion”.

Now – after upgrading to OpenCart 2.0.2.0 I’m left with a completely broken Pavilion, because restoring the values to this key will result in following errors:

JSON ERROR 1:


SyntaxError: JSON Parse error: Unexpected identifier "Notice"
OK

Notice: unserialize(): Error at offset 579 of 65535 bytes in /var/www/vhosts/[mydomain.com]/httpdocs/admin/index.php on line 41
{"order":{"label":"Orders","data":[[1,0],[2,0],[3,0],[4,0],[5,0],[6,0],[7,0],[8,0],[9,0],[10,0],[11,0],[12,0],[13,0],[14,0],[15,0],[16,0],[17,0],[18,0],[19,0],[20,0],[21,0],[22,0],[23,0],[24,0],[25,0],[26,0],[27,0],[28,0],[29,0],[30,0]]},"customer":{"label":"Customers","data":[[1,"1"],[2,0],[3,0],[4,0],[5,"3"],[6,"1"],[7,"3"],[8,"3"],[9,"3"],[10,"3"],[11,0],[12,"1"],[13,0],[14,0],[15,"2"],[16,0],[17,0],[18,"2"],[19,"3"],[20,"2"],[21,"3"],[22,"2"],[23,0],[24,"1"],[25,"2"],[26,"2"],[27,"1"],[28,"1"],[29,"5"],[30,0]]},"xaxis":[["1","01"],["2","02"],["3","03"],["4","04"],["5","05"],["6","06"],["7","07"],["8","08"],["9","09"],["10","10"],["11","11"],["12","12"],["13","13"],["14","14"],["15","15"],["16","16"],["17","17"],["18","18"],["19","19"],["20","20"],["21","21"],["22","22"],["23","23"],["24","24"],["25","25"],["26","26"],["27","27"],["28","28"],["29","29"],["30","30"]]}

JSON ERROR 2:


SyntaxError: JSON Parse error: Unexpected identifier "Notice"
OK

Notice: unserialize(): Error at offset 579 of 65535 bytes in /var/www/vhosts/[mydomain.com]/httpdocs/admin/index.php on line 41
{"au":{"total":"14","amount":"662.91\u20ac"},"at":{"total":"313","amount":"21,904.36\u20ac"},"cn":{"total":"1","amount":"40.96\u20ac"},"cz":{"total":"3","amount":"156.86\u20ac"},"fi":{"total":"1","amount":"42.85\u20ac"},"fr":{"total":"45","amount":"4,174.40\u20ac"},"fx":{"total":"7","amount":"251.21\u20ac"},"gm":{"total":"2","amount":"68.48\u20ac"},"de":{"total":"2035","amount":"91,289.23\u20ac"},"it":{"total":"12","amount":"1,030.93\u20ac"},"lv":{"total":"2","amount":"100.89\u20ac"},"li":{"total":"2","amount":"91.98\u20ac"},"lt":{"total":"6","amount":"566.07\u20ac"},"lu":{"total":"1","amount":"54.99\u20ac"},"nl":{"total":"3","amount":"94.84\u20ac"},"sk":{"total":"1","amount":"44.94\u20ac"},"si":{"total":"1","amount":"106.88\u20ac"},"ch":{"total":"42","amount":"2,954.51\u20ac"},"gb":{"total":"5","amount":"308.12\u20ac"},"us":{"total":"5","amount":"266.87\u20ac"}}

and this on the backend:


Notice: unserialize(): Error at offset 579 of 65535 bytes in /var/www/vhosts/[mydomain.com]/httpdocs/admin/index.php on line 41

and this on the Pavilion CP:


Notice: unserialize(): Error at offset 579 of 65535 bytes in /var/www/vhosts/[mydomain.com]/httpdocs/admin/index.php on line 41 Notice: unserialize(): Error at offset 579 of 65535 bytes in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/library/DbSettingsHelper.php on line 55Notice: unserialize(): Error at offset 579 of 65535 bytes in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/library/DbSettingsHelper.php on line 55Notice: unserialize(): Error at offset 579 of 65535 bytes in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/library/DbSettingsHelper.php on line 55Notice: unserialize(): Error at offset 65536 of 65535 bytes in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/library/DbSettingsHelper.php on line 55Notice: unserialize(): Error at offset 65536 of 65535 bytes in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/library/DbSettingsHelper.php on line 55Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547Notice: Undefined index: style in /var/www/vhosts/[mydomain.com]/httpdocs/tb_themes/pavilion/admin/model/layoutBuilderModel.php on line 547

  • This reply was modified 3277 days ago by  kempma.
  • This reply was modified 3277 days ago by  kempma.
 kempma
April 30, 2015 at 11:54 am #40440
You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
May 5, 2015 at 2:37 pm #40608
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.