Aţi uitat parola? Aţi uitat utilizatorul? Creaţi un cont

 
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Warning: file_put_contents() failed to open stream

Warning: file_put_contents() failed to open stream 3 years 7 months ago #10427

  • endeekay
  • endeekay's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Hi there,
I hope someone can help me.
I have installed it numerous times on other sites and never got anything like this before.
Every time I try to install aicontactsafe I get the following error:
* JFolder::create: Could not create directory
* It was not possible to copy the selected file.
* It was not possible to copy the selected file.
* JFolder::create: Could not create directory
* It was not possible to copy the selected file.
* JFolder::create: Could not create directory
* It was not possible to copy the selected file.
* JFolder::create: Could not create directory
* It was not possible to copy the selected file.
* JFolder::create: Could not create directory
* It was not possible to copy the selected file.

Warning: file_put_contents() failed to open stream: Permission denied in C:\inetpub\vhosts\ripsewinkel.co.za\httpdocs\libraries\joomla\utilities\compat\php50x.php on line 70

Warning: file_put_contents() failed to open stream: Permission denied in C:\inetpub\vhosts\ripsewinkel.co.za\httpdocs\libraries\joomla\utilities\compat\php50x.php on line 70

I have given 777 permissions to almost all the folders just to try and narrow down which one it could be, but I am stumped.
Any advise would be appreciated.
The administrator has disabled public write access.

Warning: file_put_contents() failed to open stream 3 years 7 months ago #10428

  • Alex
  • Alex's Avatar
  • OFFLINE
  • Administrator
  • Posts: 8033
  • Thank you received: 279
  • Karma: 66
Hi,

You guessed right. It is a permission problem.
See the administrator page, top menu, "Help", "System Info", "Directory Permissions" tab for the list with folders that have to be writable.
The administrator has disabled public write access.

Warning: file_put_contents() failed to open stream 3 years 7 months ago #10429

  • endeekay
  • endeekay's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Thats the part that confuses me.
Everything is writable...
I have tried everything bar setting the PC on fire. I can't trace the problem.
The administrator has disabled public write access.

Warning: file_put_contents() failed to open stream 3 years 7 months ago #10430

  • Alex
  • Alex's Avatar
  • OFFLINE
  • Administrator
  • Posts: 8033
  • Thank you received: 279
  • Karma: 66
You might have the owner of some of the folders changed. You can try asking your hosting provider to reset the owner of all your files and folders either to the user you're using for FTP ( if you activated FTP in Joomla ) or the user under which php is running.
The administrator has disabled public write access.

Warning: file_put_contents() failed to open stream 3 years 7 months ago #10431

  • endeekay
  • endeekay's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Thanks Alex, that did the trick!
Now I can put the fire extinguisher away.
The administrator has disabled public write access.

Warning: file_put_contents() failed to open stream 3 years 7 months ago #10432

  • Alex
  • Alex's Avatar
  • OFFLINE
  • Administrator
  • Posts: 8033
  • Thank you received: 279
  • Karma: 66
Glad you solved the problem. :)
The administrator has disabled public write access.
  • Page:
  • 1