| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
CSS URL wrong when moving from localhost to live URL | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I installed 5.2.9 and then modified some of the template files.
The modified website looks great on my PC with WAMP. I zipped the entire website and moved it to DREAMHOST and unzipped it. I dumped my MYSQL DB and loaded it into a clean DB on my live server. The website does not look right and I found that 2 CSS files are not loading properly. Here are the links (2nd and 3rd below) on LOCALHOST: <link href="skins/common/css/font-awesome/font-awesome.min.css?1446106298" rel="stylesheet" type="text/css" media="all" /> <link href="http://localhost/freshradiance/xcart/var/resources/default/http/screen/63b4af06c61cd01fd96fc37c112ca038.css?1446106298" rel="stylesheet" type="text/css" media="screen" /> <link href="http://localhost/freshradiance/xcart/var/resources/default/http/screen/8d09ebbe4be4d82fe86a2461c944904f.css?1446106298" rel="stylesheet" type="text/css" media="screen" /> <link href="//fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600 italic%2C700italic%2C400%2C300%2C600%2C700&sub set=latin%2Ccyrillic%2Clatin-ext&1446106298" rel="stylesheet" type="text/css" media="not print" /> And here are the links (2nd and 3rd below, 1st and 2nd are same as on the localhost installation) on my live site: <link href="skins/common/css/font-awesome/font-awesome.min.css?1446106298" rel="stylesheet" type="text/css" media="all" /> <link href="?1446106298" rel="stylesheet" type="text/css" media="screen" /> <link href="?1446106298" rel="stylesheet" type="text/css" media="screen" /> <link href="//fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400italic%2C600 italic%2C700italic%2C400%2C300%2C600%2C700&sub set=latin%2Ccyrillic%2Clatin-ext&1446106298" rel="stylesheet" type="text/css" media="not print" /> Any ideas would be appreciated. Mark
__________________
Mark Wiggin |
|||||||
#2
|
|||||||||
|
|||||||||
![]() Mark,
I have approved your post. It was moderated as it was your first. It would be helpful to be able to view the source code of the site in question. Perhaps a link?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Forgot to include it.
http://freshradiance.com/xcart/ All the code seems the same except for the LOCALHOST vs FRESHRADIANCE URLs.
__________________
Mark Wiggin |
|||||||
#4
|
|||||||||
|
|||||||||
![]() You have edited config.php I am assuming. You changed localhost to freshradiance in there correct?
And then rebuilt the cache in the admin?
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#5
|
|||||||||
|
|||||||||
![]() Quote:
Meaning you are a forum moderator now Mike?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Quote:
__________________
Mike White - Now Accepting new clients and projects! Work with the best, get a US based development team for just $125 an hour. Call 1-502-773-6454, email mike at babymonkeystudios.com, or skype b8bym0nkey XcartGuru X-cart Tutorials | X-cart 5 Tutorials Check out the responsive template for X-cart. |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Quote:
Try to double check the X-Cart config to make sure http_host, https_host and web_dir parameters are correct, and then refresh the CSS/JS aggregation cache and widget cache in the 'Look & Feel' > 'Performance' section.
__________________
Best regards, Igor Pudovkin X-Cart hosting team |
|||||||||
|
|||
X-Cart forums © 2001-2020
|