Skip to content

Logo, icons and product images in product pages, dont show in frontend #3671

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jibrandlr opened this issue Mar 7, 2016 · 7 comments
Closed

Comments

@jibrandlr
Copy link

Just moved a Magento 2 site from a test hosting domain to my local PC.
Everything is ok except Magento logo and icons (cart, envelope inside the email subscribe form, search icon, etc) dont show on frontend.
On backend there are no problems.

I have already flushed cache, deleted pub/static folders, run setup:static-content:deploy.

Product images in product pages dont load. However, they load ok in catalog pages.

I found that the file var/resource_config.json still points to the test domain url:
{"media_directory":"/chroot/home/test.domain/html/pub/media/","allowed_resources":["css","css_secure","js","theme","favicon","email","wysiwyg","tmp","catalog","custom_options","dhl","captcha"],"update_time":"3600"}

Is it ok to edit this file manually?

(Also attached screenshot warning from browser console)
console

@mrkhoa99
Copy link
Contributor

mrkhoa99 commented Mar 7, 2016

Hello @lgarridoj

Delete all files under var folder.You try to enable developer mode and run deploy command again.
Enable developer mode from CLI: php bin/magento deploy:mode:set developer
You change web base url from core_config_data table?

@jibrandlr
Copy link
Author

@mrkhoa99 should I delete all files AND folders under var folder?

@mrkhoa99
Copy link
Contributor

mrkhoa99 commented Mar 7, 2016

@lgarridoj I checked var folder. We shouldn't delete .htaccess file. We can delete the rest.

@jibrandlr
Copy link
Author

I reinstalled the magento application and the problem was solved.

@jibrandlr
Copy link
Author

I reopen the issue since it is present again after updating the installation with my catalog, images, theme, etc. This happens on a WAMP environment.
I tested the same installation in a linux virtual machine and the issue is not present.
It only happens in windows.

@jibrandlr jibrandlr reopened this Mar 8, 2016
@jibrandlr
Copy link
Author

Update: Logo, icon images, etc.., are visible again when changing to English (United States) locale. If I change locale to Spanish (Mexico) those images dissapear.
When this installation was on a hosting server I could change between those locale settings with no problem. Now in my local installation, the issue is present when chosing locale Spanish.

@katmoon
Copy link
Contributor

katmoon commented Mar 12, 2016

Hi @lgarridoj

Windows is not a supported platform. See http://devdocs.magento.com/guides/v2.0/install-gde/system-requirements.html
I'm glad you have found a workaround to set English locale.

I'm closing the ticket since there's nothing can be done here if it happens on Windows only.
Feel free to reopen if you have any additional questions.

@katmoon katmoon closed this as completed Mar 12, 2016
magento-engcom-team pushed a commit that referenced this issue Feb 3, 2019
Fixed:
MAGETWO-64191 [GITHUB] Url rewrite for product is broken after using massaction #8227
MAGETWO-96411 [2.3.x] Default addresses not selected when checking out from cart
MAGETWO-96849 [2.3.x] Money are refunded to gift card during partial refund when it's not required
MAGETWO-96846 [2.3.x] Anchor categories are not showing products after enabling subcategories
MC-5573 Refactoring tests. Improve specified test cases.
MC-10934 Tests failures CreationScheduledUpdateForStagingDashboardTest and StorefrontPurchaseProductWithCustomOptions
MAGETWO-91676 related data missing in order rest api
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants