Post by Blackout » Tue Dec 08, 2020 9:51 am

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.
Last edited by Blackout on Wed Dec 09, 2020 7:17 pm, edited 1 time in total.

Newbie

Posts

Joined
Tue Dec 08, 2020 9:17 am

Post by sw!tch » Tue Dec 08, 2020 6:22 pm

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.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by Blackout » Wed Dec 09, 2020 12:24 am

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

Newbie

Posts

Joined
Tue Dec 08, 2020 9:17 am

Post by sw!tch » Wed Dec 09, 2020 9:03 am

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.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by Blackout » Wed Dec 09, 2020 10:03 am

No errors then :-\

Newbie

Posts

Joined
Tue Dec 08, 2020 9:17 am

Post by sw!tch » Wed Dec 09, 2020 11:40 am

Use chrome inspector to view source on an image what does the src="" look like?

Do the images show in the admin panel?

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by Blackout » Wed Dec 09, 2020 1:24 pm

Code: Select all

 <div class="image"><a href="http://localhost/upload/index.php?route=product/product&amp;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

Newbie

Posts

Joined
Tue Dec 08, 2020 9:17 am

Post by sw!tch » Wed Dec 09, 2020 2:24 pm

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.

Full Stack Web Developer :: Send a PM for Custom Work.
Backup and learn how to recover before you make any changes!


Active Member

Posts

Joined
Sat Apr 28, 2012 2:32 pm

Post by Blackout » Wed Dec 09, 2020 3:03 pm

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.

Newbie

Posts

Joined
Tue Dec 08, 2020 9:17 am

Post by paulfeakins » Wed Dec 09, 2020 7:15 pm

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.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Legendary Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by 440music » Wed Feb 24, 2021 11:44 am

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.

8)

Tommy TBones
Owner
440Music Entertainment Co
Chicago, IL
Indie Music Radio


User avatar
New member

Posts

Joined
Wed Jun 24, 2020 8:19 am
Location - Chicago, IL USA
Who is online

Users browsing this forum: No registered users and 52 guests