Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/ixhoocn/index.php) is not within the allowed path(s): (/www/wwwroot/ixhoocn/mobile/:/tmp/:/proc/) in /www/wwwroot/ixhoocn/mobile/index.php on line 10
Warning: require(/www/wwwroot/ixhoocn/index.php): failed to open stream: Operation not permitted in /www/wwwroot/ixhoocn/mobile/index.php on line 10
Fatal error: require(): Failed opening required '../index.php' (include_path='.:/www/server/php/73/lib/php') in /www/wwwroot/ixhoocn/mobile/index.php on line 10
自然放在mobile目錄之下了,使用移動(dòng)端專業(yè)標(biāo)簽調(diào)用css
也就是 要在/mobile目錄下添加 /template/新模版/ 和 /static/新樣式/ 這兩個(gè)目錄 并用{MOBILE_THEME_PATH}標(biāo)簽調(diào)用 對(duì)吧?
二樓方案可行
https://m.ixhoo.cn/static/ixh/images/ra.png"
不行 還是找不到css ,我在原模版上修改了路徑也找不到,比如上面這個(gè)圖,我按照路徑放在 /mobile/static/ixh/images/下還是不行,訪問(wèn)不了
m.ixhoo.cn/static/ixh/images/ra.png 理論上指向的是 /mobile/static/ixh/images/ra.png
你可以新建一個(gè) /mobile/static/test.html,然后訪問(wèn)這個(gè)m.ixhoo.cn/static/test.html,理論上也是可以訪問(wèn)的
能找到這頁(yè)面
那就新建一個(gè)ra.png吧?
https://m.ixhoo.cn/static/ixh/images/ra.png 這個(gè)不能訪問(wèn)
http"//m.ixhoo.cn/static/ixh/images/ra.png 這個(gè)能訪問(wèn)
http://m.ixhoo.cn/static/ixh/images/ra.png 這個(gè)能訪問(wèn)
https在服務(wù)器里面的配置沒(méi)對(duì),這個(gè)問(wèn)題可以找服務(wù)商給你解決
https://www.ixhoo.cn 訪問(wèn)沒(méi)問(wèn)題 ,https://m.ixhoo.cn訪問(wèn) 就是有問(wèn)題,包括樣式等不出來(lái)
單獨(dú)用 http://m.ixhoo.cn訪問(wèn)出現(xiàn)錯(cuò)誤
Warning: require(): open_basedir restriction in effect. File(/www/wwwroot/ixhoocn/index.php) is not within the allowed path(s): (/www/wwwroot/ixhoocn/mobile/:/tmp/:/proc/) in /www/wwwroot/ixhoocn/mobile/index.php on line 10
Warning: require(/www/wwwroot/ixhoocn/index.php): failed to open stream: Operation not permitted in /www/wwwroot/ixhoocn/mobile/index.php on line 10
Fatal error: require(): Failed opening required '../index.php' (include_path='.:/www/server/php/73/lib/php') in /www/wwwroot/ixhoocn/mobile/index.php on line 10
m.ixhoo.cn是通過(guò)www.ixhoo.cn子目錄綁定 的。https://www.ixhoo.cn 的端口開放了的
這個(gè)
看來(lái)這個(gè)只能空間商解決了
如果不綁定 直接用 www 手機(jī)可以跳轉(zhuǎn)到正常的手機(jī)模式 但是 后臺(tái)的手機(jī)測(cè)試還是pc模式的
空間商給你處理下就行,多半是權(quán)限問(wèn)題,還有ssl不正常的目錄配置