我正在從我們的服務器安裝magento到我的本地主機。我想我已經成功地完成了這個過程。但是,css和js文件正嘗試從本地主機的根目錄引用,而不是安裝它的子文件夾。如何在本地主機的子文件夾中安裝magento
我已經沒有任何影響
Delete from core_config_data where path = 'web/cookie/cookie_domain';
update core_config_data set value="http://127.0.0.1/xxxx/web/" where path='web/secure/base_url' or path='web/unsecure/base_url';
我也刪除了裏面的一切變種成功執行以下兩個SQL命令。
附上兩張圖片顯示問題
更改管理員密碼後,我能夠登錄到管理部分。但是,CSS和JS文件(又名皮膚文件)仍然還在試圖從
http://127.0.0.1/skin...
引用,而應該作爲
http://127.0.0.1/xxx/web/skin/...
我無法訪問管理部分,因爲您可以看到所有js和css文件都是tr要引用根而不是文件夾結構。此外,我已經執行了SQL命令,基本上這樣做 –
執行SQL命令後,確保刪除緩存文件('var/cache/*')。 –
完成。還是同樣的問題。另外,我不能登錄到管理員 –