清除缓存和Temporaly文件:rm -rf downloader/pearlib/cache/*rm -rf downloader/pearlib/download/*rm -rf var/cache/*rm -rf var/session/*rm -rf var/report/*rm -rf var/tmp/*此外,如果您的目录随着时间而改变,则可能需要清除所有图像缓存文件.rm -rf media/catalog/product/cache/*rm -rf media/tmp/*I have a really irritating problem with my magento installation. I have a magento(1.4.x) installed under www.domain.com address. I've cloned it to /beta/ directory to make an upgrade on test environment and also cloned database but i'm not able to resolve one simple-looking problem.Every link on my test installation is missing a slash between base url and 'the rest' of URL so, for example, if magento tries to include a js file, URL to this file is rendered like this: www.domain.com/betajs/filetoinclude.jsinstead ofwww.domain.com/beta/js/filetoinclude.js. I have edited URLs of my test environment in database, cleared cache and done all the other things poeople were suggesting on bulletin boards but i'm still missing this slash.This problem is descibed a bit wider here: http://www.magentocommerce.com/boards/viewthread/234373Have you any idea what can i do to make it working ? Thanks in advance. 解决方案 Recently i faced such problem.After deleting cache folder solve the issue.You can try either delete from cpanel or ftp or use below commands to remove cache.Clear Cache and Temporaly files:rm -rf downloader/pearlib/cache/*rm -rf downloader/pearlib/download/*rm -rf var/cache/*rm -rf var/session/*rm -rf var/report/*rm -rf var/tmp/*Additionally, if your catalog has changed over time, you may want to clean all image cache files.rm -rf media/catalog/product/cache/*rm -rf media/tmp/* 这篇关于基础URL,各个环节之间缺少斜杠的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-27 05:35