erix138 Posted December 29, 2014 Share Posted December 29, 2014 Image File Manager seems to be working fine, but image file list (under the Image tab) when a product is opened up for editing, the list is missing - completely blank window. I can upload and the new image will appear with the product, but I cannot select or deselect images (as I cannot see them listed at all). The error in the log was PHP Notice: GD::gdLoadFile - Unknown file type: /home/sbarro12/public_html/pizzanow/images/source/index.php in /home/sbarro12/public_html/pizzanow/classes/gd.class.php on line 75 But I saw a code line substitution in a different Cubecart Forum page and tried it, now I get this error: Warning: implode() [function.implode.php]: Invalid arguments passed in /home/sbarro12/public_html/pizzanow/classes/gd.class.php on line 75 Here's the code line substitution i made to gd.class: original line 75: trigger_error(__METHOD__.' - Unknown file type: '.$file); New line trigger_error(__METHOD__.' - Unknown file type:' . $file . ': ' . implode(',',$this->_gdImageData)); Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 29, 2014 Share Posted December 29, 2014 $this->_gdImageData may not be holding an array, which the implode() function is wanting. Please remove this file as it causes these Notice entries in the log file - /images/source/index.php. However, the presence of this file does not crash CubeCart, nor, in my opinion, should it cause an empty File Manager file picker window. Let me check my notes to see if I can find what may be causing this problem. Quote Link to comment Share on other sites More sharing options...
bsmither Posted December 29, 2014 Share Posted December 29, 2014 If you have the ability to log traffic going in and out of your browser, check to see if a request has been logged to: admin.php?_g=xml&type=files&q=list&dir=%2F&group=1 If not, then maybe the /js/plugins/jquery.filetree.js has become damaged. Quote Link to comment Share on other sites More sharing options...
erix138 Posted December 29, 2014 Author Share Posted December 29, 2014 Removel of the index.php from the directory solved it: the picker began showing the image list again. Thanks. 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.