Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

failed to open stream error
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: failed to open stream error

failed to open stream error 12 years, 9 months ago #27878

  • lanz
  • OFFLINE
  • Posts: 3
Hi,

When Global SEF URLs is enabled i get the following error at the top of the screen:
Warning: file_put_contents(/usr/local/www/htdocs/absentie/tmp/header) [function.file-put-contents]: failed to open stream: Permission denied in /usr/local/www/htdocs/absentie/components/com_sef/joomsef.php on line 1326


Any help would be appreciated.
The topic has been locked.

Re: failed to open stream error 12 years, 9 months ago #27903

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,
This means that your /tmp directory is not writable.
But thank you for your report, this is also a bug in JoomSEF, as it shouldn't store anything there. We'll fix it in next version.
ARTIO Support Team
The topic has been locked.

Re: failed to open stream error 12 years, 9 months ago #27917

  • lanz
  • OFFLINE
  • Posts: 3
Really? Because i tried changing rights of tmp folder to 777 and even created a folder inside called header, also with 777 but results stay the same...
The topic has been locked.

Re: failed to open stream error 12 years, 9 months ago #27927

  • dajo
  • OFFLINE
  • Posts: 5069
The "header" is not a folder name, it's a file. Try creating the file header in /usr/local/www/htdocs/absentie/tmp and setting it to 777.
Or you can just delete the reported line number 1326 in joomsef.php file, so it won't store anything there. The line to remove is:
file_put_contents(JPATH_SITE.DS.'tmp'.DS.'header',$header."\n",FILE_APPEND);
ARTIO Support Team
The topic has been locked.

Re: failed to open stream error 12 years, 9 months ago #27929

  • lanz
  • OFFLINE
  • Posts: 3
It worked! Thanks for the support!
The topic has been locked.
  • Page:
  • 1
User Login Empty