无法打开流:权限被拒绝 [英] failed to open stream: Permission denied

查看:427
本文介绍了无法打开流:权限被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,



我在godaddy windows共享主机上使用opencart。但是得到的错误就像



警告:fopen(D:\Hosting\10022389 \ html \ x.com / system / cache / cache.language。 1393914767)[function.fopen]:无法打开流:第32行D:\ Hosting \ 10022389 \html \ x.com \ system \ library \ cache.php中的权限被拒绝警告:fwrite()期望参数1是资源,布尔值在D:\Hosting \ 10022389 \html \ x.com \ system \library \cache.php中给出第34行警告:fclose()期望参数1是资源,布尔值在D:\Hosting \ 10022389 \html \ x.xom \ system \library \ cache.php中给出第36行警告:fopen(D:\ Hosting \ 10022389 \ html \ x.com/system/cache/cache.currency.1393914767)[function.fopen]:无法打开流:D:\ Hosting \ 10022389 \html \ x.com \ system \library中的权限被拒绝第32行上的\cache.php警告:fwrite()期望参数1是资源,布尔giv在第34行的D:\Hosting\10022389 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\第36行\\\\\\\\\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ $ b所有文件和文件夹permsiions都是从根文件夹继承的,或简称拥有777的权限。

php.ini有allow_url_fopen = on;





请帮帮我。我尝试了google很多东西以获得可能。但没有运气。



提前致谢。

解决方案

< blockquote> call godaddy。他们为我解决了同样的问题。诀窍是启用文件管理器的写入权限。



1.转到文件管理器

2.选择WEBROOT

3.转到你电脑屏幕的右侧(右边)

4.找到你的文件o fold ....( 右侧

5.眼睛图标向上屏幕现在可见,点击里面

6现在出现新屏幕(等待病人)

7只标记选项:

网页可见

网页可写

8.保存o ok

voila !!!!!


Dear all,

I am using opencart on godaddy windows shared hosting. But getting getting errors as

Warning: fopen(D:\Hosting\10022389\html\x.com/system/cache/cache.language.1393914767) [function.fopen]: failed to open stream: Permission denied in D:\Hosting\10022389\html\x.com\system\library\cache.php on line 32Warning: fwrite() expects parameter 1 to be resource, boolean given in D:\Hosting\10022389\html\x.com\system\library\cache.php on line 34Warning: fclose() expects parameter 1 to be resource, boolean given in D:\Hosting\10022389\html\x.xom\system\library\cache.php on line 36Warning: fopen(D:\Hosting\10022389\html\x.com/system/cache/cache.currency.1393914767) [function.fopen]: failed to open stream: Permission denied in D:\Hosting\10022389\html\x.com\system\library\cache.php on line 32Warning: fwrite() expects parameter 1 to be resource, boolean given in D:\Hosting\10022389\html\antivirus-cart.com\system\library\cache.php on line 34Warning: fclose() expects parameter 1 to be resource, boolean given in D:\Hosting\10022389\html\x.com\system\library\cache.php on line 36


all files & folders permisiions are inherited from root folder or in brief has a permission as 777.
php.ini has allow_url_fopen = on;


Please help me. i tried & googled a lot to get the possible.But no luck.

Thanks in advance.

解决方案

call godaddy. They solved that same problem for me. the trick is to enable the write permission from the file manager.

1. go to FILE MANAGER
2. select the WEBROOT
3. goto right side of you pc screen ( """"right side""""")
4. find you file o fold....( """"right side""""")
5. the eye icon up screen in now visible, click inside
6 now appear new screen (wait patient)
7 only mark the options:
web visible
web writeable
8. save o ok
voila!!!!!


这篇关于无法打开流:权限被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆