.php页面显示以下错误 [英] .php pages show below error
问题描述
大家好
我有云托管帐户,并在root下设置wordpress网站。
现在我创建了新的文件夹www.site.com/subfolder/并上传了微网站,该网站的所有页面都是.php扩展名并拥有自己的config.php文件
但是当我尝试打开微型网页时,它会显示以下错误。不知道从哪里添加/ website / pe /在我的网站前面url ???如果我在非云托管下上传相同的网站,它工作正常。
Hi guys
I have cloud hosting account and have wordpress website setup under root.
now i created new folder www.site.com/subfolder/ and uploaded micro site which has all pages in .php extension and have their own config.php file
But when i try to open microsite page it shows below error. Dont know from where it add /websites/pe/ on front of my site url ??? if i upload same site under non-cloud hosting and it works fine.
警告:require_once(/websites/pe/site.com/config.php)[function.require-once]:无法打开流:/ website /中没有这样的文件或目录第1行的pe / site.com /子文件夹/ index.php
致命错误:require_once()[function.require]:打开所需的'/ sites / pe失败/site.com/config.php'(include_path ='。:/ clientdata / php / pear-5-3:/ clientdata / php / lib')位于/websites/pe/site.com/subfolder/index.php上第1行
Warning: require_once(/websites/pe/site.com/config.php) [function.require-once]: failed to open stream: No such file or directory in /websites/pe/site.com/subfolder/index.php on line 1
Fatal error: require_once() [function.require]: Failed opening required '/websites/pe/site.com/config.php' (include_path='.:/clientdata/php/pear-5-3:/clientdata/php/lib') in /websites/pe/site.com/subfolder/index.php on line 1
感谢你的帮助。
Thanks for your help in advance.
推荐答案
这是我的脚本.php文件中的表单POST提交问题。我已将字符串值移除到变量并且工作正常。
It was my scripting issue in .php file for form POST submission. I have removed string value to variable and works fine.
这篇关于.php页面显示以下错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!