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目錄之下了,使用移動端專業標簽調用css
也就是 要在/mobile目錄下添加 /template/新模版/ 和 /static/新樣式/ 這兩個目錄 并用{MOBILE_THEME_PATH}標簽調用 對吧?
二樓方案可行
https://m.ixhoo.cn/static/ixh/images/ra.png"
不行 還是找不到css ,我在原模版上修改了路徑也找不到,比如上面這個圖,我按照路徑放在 /mobile/static/ixh/images/下還是不行,訪問不了
m.ixhoo.cn/static/ixh/images/ra.png 理論上指向的是 /mobile/static/ixh/images/ra.png
你可以新建一個 /mobile/static/test.html,然后訪問這個m.ixhoo.cn/static/test.html,理論上也是可以訪問的
能找到這頁面
那就新建一個ra.png吧?
https://m.ixhoo.cn/static/ixh/images/ra.png 這個不能訪問
http"//m.ixhoo.cn/static/ixh/images/ra.png 這個能訪問
http://m.ixhoo.cn/static/ixh/images/ra.png 這個能訪問
https在服務器里面的配置沒對,這個問題可以找服務商給你解決
https://www.ixhoo.cn 訪問沒問題 ,https://m.ixhoo.cn訪問 就是有問題,包括樣式等不出來
單獨用 http://m.ixhoo.cn訪問出現錯誤
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是通過www.ixhoo.cn子目錄綁定 的。https://www.ixhoo.cn 的端口開放了的
這個
看來這個只能空間商解決了
如果不綁定 直接用 www 手機可以跳轉到正常的手機模式 但是 后臺的手機測試還是pc模式的
空間商給你處理下就行,多半是權限問題,還有ssl不正常的目錄配置