Page 1 of 1
[SOLVED] Problems with images after clean installation
Posted: Tue Dec 08, 2020 9:51 am
by Blackout
1. Your Exact OpenCart Version (e.g. 1.5.6.4, 2.3.0.2, 3.0.6.0, etc.) : 3.0.3.6
2. Used Template/Theme: Original
3. (Additional) Installed Extension(s): Nothing
Hi. After clean installation i have problems with images on page. Everything is on my computer (localhost) actually.
https://imgur.com/a/Bd3EIIC
Someone know how to solve this problem? Beacuse im BIG NOOB in creating pages, try explain me the most clarify as you can guys, please.
Re: Problems with images after clean installation
Posted: Tue Dec 08, 2020 6:22 pm
by sw!tch
Check your server error logs and opencart error logs.
My guess is the image path is incorrect or you are exceeding the PHP memory limit set in your PHP.ini.
Re: Problems with images after clean installation
Posted: Wed Dec 09, 2020 12:24 am
by Blackout
You mean error logs in txt?
Can you tell me where i can find them? Beacuse after writing Error in search inside folder Upload i cant find anything overwrited
I attaching here php.ini from xampp
https://justpaste.it/7f76c
Re: Problems with images after clean installation
Posted: Wed Dec 09, 2020 9:03 am
by sw!tch
Admin -> System -> Maintenance -> Error log
Most important would be your server error log, should reside in a logs folder. I don't use xampp someone else here can comment where the logs would be on a local xampp setup.
Re: Problems with images after clean installation
Posted: Wed Dec 09, 2020 10:03 am
by Blackout
No errors then

Re: Problems with images after clean installation
Posted: Wed Dec 09, 2020 11:40 am
by sw!tch
Use chrome inspector to view source on an image what does the src="" look like?
Do the images show in the admin panel?
Re: Problems with images after clean installation
Posted: Wed Dec 09, 2020 1:24 pm
by Blackout
Code: Select all
<div class="image"><a href="http://localhost/upload/index.php?route=product/product&product_id=43"><img src="http://localhost/upload/image/cache/catalog/demo/macbook_1-200x200.jpg" alt="MacBook" title="MacBook" class="img-responsive" /></a></div>
<div class="caption">
Something like that.
Unlucky in admin panel not avaible too.
In console of source is writed too something like that:
Code: Select all
macbook_1-200x200.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Of course with many others pictures. I just gived 1 example.
Under information in console is something like that too.
Code: Select all
DevTools failed to load SourceMap: Could not load content for http://localhost/upload/catalog/view/javascript/jquery/swiper/js/maps/swiper.jquery.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Re: Problems with images after clean installation
Posted: Wed Dec 09, 2020 2:24 pm
by sw!tch
If you browse to upload/image/cache/catalog/demo/macbook_1-200x200.jpg. do you see that image there?
If so then probably permission issue.
Honestly hard to debug this, it could be a number of things. The fact your swiper banners are loading is bizarre as it uses the same principle as product images.
I don't use xampp, but someone else who uses xampp might chime in here.
Re: Problems with images after clean installation
Posted: Wed Dec 09, 2020 3:03 pm
by Blackout
Yes.. thank you! Im not sure why, the pack of OpenCart from site dont have these pictures..
I coppied from payed hosting, where i haved installed OpenCart and now everything works good.
You are the best
Hmm. I have the same problem with uploaded images where i put new product.
I dont know what i doing wrong..
Maybe Xampp is broken. Wamp is checked?
Edit;
I solved the problem. I installed older version of Xampp. Now everything works perfect.
Re: Problems with images after clean installation
Posted: Wed Dec 09, 2020 7:15 pm
by paulfeakins
Blackout wrote: ↑Wed Dec 09, 2020 3:03 pm
I solved the problem. I installed older version of Xampp. Now everything works perfect.
Please add [SOLVED] to the start of the post title.
Re: [SOLVED] Problems with images after clean installation
Posted: Wed Feb 24, 2021 11:44 am
by 440music
I had the same issue and found that it was my PHP version, I upgraded to PHP 8 and when I switched to php7.4 images worked again.
