Jump to content

CSS URL is correct, but browser fails to find file - Presta change URL


Recommended Posts

Hello.

 

I think, I have the most stupid problem on teh world (I feel like idiot), but...

 

Today, I've experimented with new template... after that, I returned to default prestashop template ... I've had some problems with modules from new template, but I solved it.

 

So, I have only one problem more:

 

When I open web page, browser've not dispayed background images of modules (for example: block_header.png).

 

I've checked global.css (themes/default/css/) and I think all URL's are correct (like: '../img/block_header.png').

 

But If i check in browser View background image (right click on location of missing images), browser reply: Server not found, Firefox can't find the server at www.DOMEIN.comhttp.

 

So, Presta add "www.DOMEIN.com" to URL of images like:

 

http://www.DOMEIN.comhttp//DOMEIN.com/themes/prestashop/img/block_header.png

(bold is correct url)

 

I have no idea, why browser add http://www.DOMEIN.com to "http//DOMEIN.com/themes/prestashop/img/block_header.png"

 

So, I am looking for any idea how to repair this and which file I need to check. Can anyone help me?

Edited by rika73 (see edit history)
Link to comment
Share on other sites

Yes, I have samicolon in all URL's. So all URL's are: http://DOMEIN.com/ (with semicolon)

The original location (URL) of img is :

http://DOMEIN.com/th...lock_header.png

 

But browser looking and return negative answer for:

 

http://www.DOMEIN.comhttp//DOMEIN.com/themes/prestashop/img/block_header.png

 

I could find why browsers generate http://www.DOMEIN.com and add it to http//DOMEIN.com/themes/prestashop/img/block_header.png (put together) and also I haven't idea why semicolon diseapired from the original URL(second part - bold).

 

p.s. DOMEIN.com is a fictional domain

Edited by rika73 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...