Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

After magento move to another server skin/css not working

Tags:

magento

After migrating magento from one to another hosting with different domain, I'm getting one problem - http://vinylshop.lt/ don't loading skin/css..

Any solutions?

I found similar solution - http://blog.wayyi.com/incorrect-css-and-js-path-varwwwmagentoskin-after-moving-magento-to-new-server

but in table core_config_data where are no dev/js/merge_files and dev/css/merge_css_files and don't know how to add them

like image 654
Brek Avatar asked Jan 26 '26 12:01

Brek


1 Answers

Your source indicates that merging is enabled. You can run the following sql to update your core_config_data table; backup first!

UPDATE `core_config_data` SET `value` = 0 WHERE `path` = "dev/js/merge_files" OR `path` = "dev/css/merge_css_files";

You should see at least two rows affected. Remove everything from var/cache/.

Also, it looks like you need to move over your .htaccess file as well, as the value for web/seo/use_rewrites seems to be enabled. Depending on your version, you can grab the original file from the repo (version number points to latest stable patch level):

http://svn.magentocommerce.com/source/branches/1.6/.htaccess
like image 117
benmarks Avatar answered Jan 29 '26 04:01

benmarks



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!