benjAeby Posted January 2, 2017 Share Posted January 2, 2017 Hello and Happy new year! I'm a new user of cubecart. Everything worked fine from installation to paiement methods (paypal + print order... only) but I can't put any image to a product! I already tried to reinstall but the problem remains : loading an image (<500kb) from product/image loads the image, save display the confirmation message, but no image is linked to the product... Thanks for helping me to solve this issue... Regards Benjamin Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 2, 2017 Share Posted January 2, 2017 Hi @benjAeby Welcome to the forums. Once the image is uploaded you have to find the image name in the Product Listing FileManager box on the Images tab. There is a check box to the right that you should double click in to get a star for the first image and click to get check mark for any additional images. This "connects" the images with the correct product. PS: This is an awkward process in 6.1.1, but will be considerably improved when 6.1.2 is released. Quote Link to comment Share on other sites More sharing options...
benjAeby Posted January 3, 2017 Author Share Posted January 3, 2017 Hi Dirty Butter, Thank you for your answer. Even if I manage to upload photos, the Product Listing FileManager box on the Images tab is still empty. If I try to update the file list, an error happens : "file list update impossible" Would you have any idea of what I'm doing wrong? Could the french language pack be an issue? Thanks Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 3, 2017 Share Posted January 3, 2017 I was hoping this was a simple problem of the new image process being unfamiliar. No such luck. I'm not skilled enough to help you with this, but hopefully someone else will be along soon who can tell what's wrong. The screenshots should help a lot! Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 3, 2017 Share Posted January 3, 2017 If I try to update the file list, an error happens : "file list update impossible" The language key for that phrase is filemanager:error_list_update. The English language pack for that key has the phrase, "No changes were detected." Both phrases are completely misleading. But a language pack cannot cause this kind of trouble. You say you can get images uploaded, and they get listed in the Image Filemanager listing, but cannot see them in the Add/Edit Product, Images tab filepicker window. We will need to concentrate our troubleshooting starting there. Please create the error_log to see if any clues can help. Quote Link to comment Share on other sites More sharing options...
benjAeby Posted January 3, 2017 Author Share Posted January 3, 2017 Hi bsmither, error_log file is attached. Hope it will be solvable. Thanks Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 3, 2017 Share Posted January 3, 2017 While you're waiting for Bsmither to be back on the forum, it might be helpful if you Search for open_basedir and read through the threads. Is your install local or with a commercial host? How much control do you have over server settings? Quote Link to comment Share on other sites More sharing options...
bsmither Posted January 3, 2017 Share Posted January 3, 2017 For some reason, PHP is getting confused about what folders should be searched in, and in what order, for files to execute. The current folder (denoted by a period), where CubeCart is running, should be searched first. For some reason , the current folder is not being searched first, or at all. The folders /usr/share/pear/ and /usr/share/php/ are being searched, and these folders are not allowed to be searched by the restrictions imposed by openbase_dir. However: the allowed path(s): (/home/httpd/vhosts/asaeby.ch/:/tmp/) in /home/httpd/vhosts/asaeby.ch/benjaeby.ch/oc/classes/autoloader.class.php suggests that the allowed path(s):/home/httpd/vhosts/asaeby.ch/:/tmp/ does not include the current working directory. I am probably wrong (I don't know much about Linux systems), but maybe the path statement should be: .:/home/httpd/vhosts/asaeby.ch/:/tmp/ Note the period as the first path in the series of paths (separated by the colon). Or maybe the list of allowed paths for open_basedir need a different delimiter -- a comma or new line??? Quote Link to comment Share on other sites More sharing options...
benjAeby Posted January 4, 2017 Author Share Posted January 4, 2017 Hi Dirty Butter and bsmither, I'm using a commercial host with plesk (12.5.30). I have access to open_basedir settings. cubecart is installed on a subdomain (not on the primary domain). I tried several open_basedir settings without success. I've send the error log to the hosting support... Regards Quote Link to comment Share on other sites More sharing options...
benjAeby Posted January 5, 2017 Author Share Posted January 5, 2017 Hi all, My problem is solved now. That was my fault, and had no link with open_basedir or php settings. The mistake I made was to rename the admin_xxxxx.php file into a more convenient name! Renaming this file as it was at install solved the empty file list problem. Thank you for your help and for the good job done on cubecart! Benjamin Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 5, 2017 Share Posted January 5, 2017 2 minutes ago, benjAeby said: The mistake I made was to rename the admin_xxxxx.php file into a more convenient name! Renaming this file as it was at install solved the empty file list problem. You CAN rename the admin folder/file to suit yourself AS LONG AS you make corresponding changes in the global.inc.php file. Quote Link to comment Share on other sites More sharing options...
benjAeby Posted January 5, 2017 Author Share Posted January 5, 2017 Good news! Could you please tell me where to find this file? I am unable to find it Quote Link to comment Share on other sites More sharing options...
Dirty Butter Posted January 5, 2017 Share Posted January 5, 2017 global.inc.php is in the includes folder. (Don't edit the global.inc.php-dist file by accident.) You will have to change the permission on the file in order to be able to edit it. Be sure to change the permission back to 444 when you are finished. Once you have a naming system that suits you, please be sure in any future posts on the forum that involve showing your code (perhaps error_log entries?) that you XXX out whatever you renamed your admin file/folder. Quote Link to comment Share on other sites More sharing options...
benjAeby Posted January 6, 2017 Author Share Posted January 6, 2017 That worked like a charm, thank you Dirty Butter! 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.