Product Images Are Now Showing For My Development Copy Of Cs-Cart

Hi all,

I followed this guide https://docs.cs-cart.com/4.4.x/install/useful_info/copying_store_to_subdirectory.htmlto create a copy of my store for testing and development.

I am facing the following issues:

1- When SEO addon is active: All pages are not reachable. I see 404 error - Page not found. Deactivating SEO addon solved the issue. I believe SEO should not do this. Anybody knows how to solve it?

2- Product images are not showing. All images are imported successfully. In product edit page, images thumbnails are shown as in this snapshot https://prnt.sc/kjr2zaHoweve, when I click on preview (the eye icon shows when mouse hover), the product image opens correctly in a new window. Thus no broken links.

By the way, I tried deleting images and uploading new ones, the same result.

Anyone faced this issue?

Note: I did a development copy before this one, and eveything had been as expected. NO issues at all. My current version is 4.8.2 MV

Thank you!

Hello.

Did you remove directory /var/cache after copy ?

Best regards

Robert.

Did you remove directory /var/cache after copy ?


Yes, I did Robert. I followed the tutorial line by line.

Hello

Please try uncomment line

# RewriteBase /

in file .htaccess

Best regards

Robert.

Please try uncomment line
# RewriteBase /
in file .htaccess


I already did and set it to the following

RewriteBase /sub_folder_name

Hello

Did you try COMMENT this line ?

Best regards

Robert.

Did you try COMMENT this line ?

Commenting and uncommenting the RewriteBase /sub_folder_name in htaccess doesn't work. Tried both but no luck!

Hello.

Did you copy files via ssh ?

Best regards

Robert.

Did you copy files via ssh ?

Yes, I am connecting to my server via SSH. I compressed CS-Cart root folder and extracted it on a subfolder. Updated the conf.local.php. For the database, I dumped it using SSH command line. Then imported the dumb file. Every step was going with no errors.

Try to set up file permissions for the dev store according to CS-Cart docs

Try to set up file permissions for the dev store according to CS-Cart docs


Can you share a link to this part of CS - Cart tutorial?

Can you share a link to this part of CS - Cart tutorial?

Hello! Here is the link.

Thank you all for your replies.

The first issue is still not fixed; 404 error when SEO is active. But if SEO addon is disabled, the issue goes. Anyway, I can deactivate SEO addon because it is a Dev copy.

The second issue was fixed after I set 'lazy_thumbnails' => false, in config.local.php file.

Thank you all for your replies.

The first issue is still not fixed; 404 error when SEO is active. But if SEO addon is disabled, the issue goes. Anyway, I can deactivate SEO addon because it is a Dev copy.

The second issue was fixed after I set 'lazy_thumbnails' => false, in config.local.php file.

I would guess that you have SSL enabled for your development site but your SSL certificate is not supporting it. Is your site in a sub-folder of your production site (example.com/dev)? Or is it as a subdomain (dev.example.com)? If the former, then you shouldn't have any SSL issues but if the latter it's a different domain and will generate errors when an SSL cert does not support the configuration.