Wednesday, May 23rd

Last update05:36:30 AM GMT

Font Size

Screen

Profile

Layout

Menu Style

Cpanel
Welcome, Guest
Username Password: Remember me

Warning: file_put_contents failed to open stream: Permission denied in
(1 viewing) (1) Guest
Got a Joomla problem? Post as much detail about it as you can here to see if you can get a solution.

Where possible, include URL for the site or page having issues, what version of Joomla you're using, what type of server (eg Cpanel, WAMP, IIS), what components may be installed, and specific error messages you're encountering.

If you think your problem is particularly obscure, you might be better posting it to the forums at joomla.org as there's thousands more people to help you.
  • Page:
  • 1

TOPIC: Warning: file_put_contents failed to open stream: Permission denied in

Warning: file_put_contents failed to open stream: Permission denied in 5 months, 3 weeks ago #5343

  • littleET
  • OFFLINE
  • Senior Boarder
  • Posts: 79
  • Karma: 1
Hi,

I'm getting the following error on a form page on my site. The form is built with Forms for Joomla and I seem to be working with a difficult host - not quite optimum setup for Joomla.

The error is:
Warning: file_put_contents(...../components/com_form/plugins/layouts/custom/custom_1.tpl) [function.file-put-contents]: failed to open stream: Permission denied in ...../components/com_form/plugins/layouts/custom/custom.php on line 65

Joomla 1.5.25

Any help appreciated.

Thanks

Re: Warning: file_put_contents failed to open stream: Permission denied in 5 months, 3 weeks ago #5345

  • nikunj
  • OFFLINE
  • Expert Boarder
  • Posts: 153
  • Karma: 4
Ask them to change php setting for your website. they may have disabled file_put_contents for security reasons.

Re: Warning: file_put_contents failed to open stream: Permission denied in 5 months, 3 weeks ago #5346

  • littleET
  • OFFLINE
  • Senior Boarder
  • Posts: 79
  • Karma: 1
If I look in the backend of the site under Help > System Info > PHP Information should I be able to see that as a configuration to see if it is on/off?

Re: Warning: file_put_contents failed to open stream: Permission denied in 5 months, 3 weeks ago #5347

  • nikunj
  • OFFLINE
  • Expert Boarder
  • Posts: 153
  • Karma: 4
sorry my bad. looks like you don't have sufficient right to write that file. change the file permission and see if you fix the issue.

Re: Warning: file_put_contents failed to open stream: Permission denied in 5 months, 3 weeks ago #5348

  • littleET
  • OFFLINE
  • Senior Boarder
  • Posts: 79
  • Karma: 1
OK, I'll check on that. I can't alter the permissions myself - have to contact host - very frustrating!

Re: Warning: file_put_contents failed to open stream: Permission denied in 5 months, 3 weeks ago #5356

  • littleET
  • OFFLINE
  • Senior Boarder
  • Posts: 79
  • Karma: 1
Thanks Nikunj, seems to be working now after changing file permissions.
  • Page:
  • 1
Moderators: Partic
Time to create page: 0.53 seconds
You are here: Forum