StreamAlex Posted March 24, 2015 Share Posted March 24, 2015 Hi, I get the following error messages in my error log. Anyone who know if it's something that need to be taken care of? I sometimes get an "Internal Server Error" on my admin page. [Mon Mar 23 22:30:54 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 1077, referer: http://www.mysite.com/admin.php?_g=products&sort%5Bupdated%5D=DESC&cat_id=135&action=edit&product_id=991 [Mon Mar 23 22:31:06 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 342, referer: http://www.mysite.com/admin.php?_g=products&sort%5Bupdated%5D=DESC&cat_id=135&action=edit&product_id=991 [Mon Mar 23 22:34:04 2015] [error] [client 37.2.146.2] PHP Notice: GD::gdLoadFile - Unknown file type in /www/mysite/classes/gd.class.php on line 75, referer: http://www.mysite.com/admin.php?_g=categories&parent=111&action=edit&cat_id=200 [Mon Mar 23 22:35:49 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/classes/ajax.class.php on line 163, referer: http://www.mysite.com/admin.php?_g=categories&parent=111&action=edit&cat_id=200 [Mon Mar 23 22:36:29 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/categories.index.inc.php on line 19, referer: http://www.mysite.com/admin.php?_g=categories&parent=111&action=edit&cat_id=200 [Mon Mar 23 23:18:10 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 1059, referer: http://www.mysite.com/admin.php?_g=products [Mon Mar 23 23:18:10 2015] [error] [client 37.2.146.2] PHP Warning: implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Invalid arguments passed in /www/mysite/admin/sources/products.index.inc.php on line 1073, referer: http://www.mysite.com/admin.php?_g=products [Mon Mar 23 23:18:10 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 1077, referer: http://www.mysite.com/admin.php?_g=products [Mon Mar 23 23:18:12 2015] [error] [client 37.2.146.2] PHP Notice: GD::gdLoadFile - Unknown file type in /www/mysite/classes/gd.class.php on line 75, referer: http://www.mysite.com/admin.php?_g=products&action=add [Mon Mar 23 23:18:14 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 1059, referer: http://www.mysite.com/admin.php?_g=products&action=add [Mon Mar 23 23:18:14 2015] [error] [client 37.2.146.2] PHP Warning: implode() [<a href='http://docs.php.net/manual/en/function.implode.php'>function.implode.php</a>]: Invalid arguments passed in /www/mysite/admin/sources/products.index.inc.php on line 1073, referer: http://www.mysite.com/admin.php?_g=products&action=add [Mon Mar 23 23:18:14 2015] [error] [client 37.2.146.2] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/admin/sources/products.index.inc.php on line 1077, referer: http://www.mysite.com/admin.php?_g=products&action=add [Tue Mar 24 00:07:07 2015] [error] [client 95.211.238.108] PHP Notice: GD::gdLoadFile - Unknown file type in /www/mysite/classes/gd.class.php on line 75 [Tue Mar 24 00:08:27 2015] [error] [client 95.109.121.109] PHP Warning: Invalid argument supplied for foreach() in /www/mysite/classes/cubecart.class.php on line 1691, referer: http://mysite.com//index.php?_a=category&cat_id=125&page=1 [Tue Mar 24 00:08:27 2015] [error] [client 95.109.121.109] PHP Warning: ksort() expects parameter 1 to be array, null given in /www/mysite/classes/cubecart.class.php on line 1718, referer: http://mysite.com//index.php?_a=category&cat_id=125&page=1 Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 24, 2015 Share Posted March 24, 2015 The "Invalid Arguments", "implode", and "ksort" errors are known log entries from 'not-the-latest' versions of CubeCart. They cause no real problems. But if possible, consider upgrading. GD::gdLoadFile is also a known issue and is resolved by removing the index.php file from the /images/source/ folder. Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted March 24, 2015 Share Posted March 24, 2015 I sometimes get an "Internal Server Error" on my admin page. As Brian has said the warnings and notices are not major issues and would all go away by upgrading to the latest version. The Internal Server Error wpuld be much more serious and needs action but there are no details here indicating that. Again, an upgrade to the latest version is advised and then look to see if there are any remaing issues Ian Quote Link to comment Share on other sites More sharing options...
StreamAlex Posted March 25, 2015 Author Share Posted March 25, 2015 Thank you both for the answers. If I choose to upgrade to latest CubeCart version, can anything go wrong? I have made some css and code changes in the skin kuoruto. Will they be removed? Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted March 25, 2015 Share Posted March 25, 2015 If I choose to upgrade to latest CubeCart version, can anything go wrong? I have made some css and code changes in the skin kuoruto. Will they be removed?If you have changed the standard skin without creating a copy then yes they will be over-written and lostIan Quote Link to comment Share on other sites More sharing options...
StreamAlex Posted March 25, 2015 Author Share Posted March 25, 2015 If I choose to upgrade to latest CubeCart version, can anything go wrong? I have made some css and code changes in the skin kuoruto. Will they be removed? If you have changed the standard skin without creating a copy then yes they will be over-written and lost Ian Ok, thank you for the info. I will make a backup of the files and database and try to upgrade either way. If it fails or something stop working I can just reupload the backup. One more question though. I use Klarna payment method that you provide. Will that still work with latest CC version? Quote Link to comment Share on other sites More sharing options...
havenswift-hosting Posted March 25, 2015 Share Posted March 25, 2015 Ok, thank you for the info. I will make a backup of the files and database and try to upgrade either way. If it fails or something stop working I can just reupload the backup.A backup is better than nothing of course but would be MUCH better if you followed https://support.cubecart.com/index.php?/Knowledgebase/Article/View/202/46/how-do-i-create-a-custom-skin-or-template-in-cubecart-v5One more question though. I use Klarna payment method that you provide. Will that still work with latest CC version?Please log a ticket via our website for custom module supportIan Quote Link to comment Share on other sites More sharing options...
bsmither Posted March 25, 2015 Share Posted March 25, 2015 "If you have changed the standard skin without creating a copy then yes they will be over-written and lost." Generally, technically, and practically, this is very true. However, CubeCart 6 ships with one skin, Foundation. CC6 does not ship with Kurouto, and so therefore, specifically in this case, the existing (CC5) Kurouto skin folder will not be disturbed. Quote Link to comment Share on other sites More sharing options...
StreamAlex Posted April 1, 2015 Author Share Posted April 1, 2015 I tried upgrading and all error messages is now gone. Good. But I have other problems that didn't get solved. Please see '?do=embed' frameborder='0' data-embedContent>>. Now all Swedish characters looks weird and the mods for Blog and Image Gallery dissapeared. Also I still can't remove any images or folders from the CC admin (File Manager - Images). Seems like I will have to upload the backup.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.