joomlaのRsgallery2で、エラーが出て単体の画像が表示されなくなってしまった。

まあ原因はISP側の問題でもあるが、その設定変更の時にパーミッションを変更されてしまった為のエラーだった、該当箇所のパーミッションは666でなければいけないのだが644になっていた…….(ーー;)
666に変えて問題解決、画像も表示されるようになった。


<b>Warning</b>:  fopen(/xxx/media/display_temp.jpg)
[<a href='function.fopen'>function.fopen</a>]:
failed to open stream: Permission denied in 
<b>/xxx/administrator/components/com_/includes/img.utils.php</b>
 on line <b>912</b><br />
<br />
<b>Warning</b>:  fclose(): supplied argument is not a valid stream resource in 
<b>/xxx/administrator/components/com_rsgallery2/includes/img.utils.php</b>
 on line <b>913</b><br />
<br />
<b>Warning</b>:  imagejpeg()
[<a href='function.imagejpeg'>function.imagejpeg</a>]:
 Unable to open '/xxx/media/display_temp.jpg' for writing in 
<b>/xxx/administrator/components/com_rsgallery2/includes/img.utils.php</b>
 on line <b>914</b><br />

おそらく、原因は同じなのだろうが、もう一つのエラーは未解決

Warning: chmod() [function.chmod]: Operation not permitted in /xxx/includes/patTemplate/patTemplate/TemplateCache/File.php on line 98

/cacheの一時ファイルが所有者apacheだったので、このファイルを消したらエラーは消えました。

ついでに、

xxx/includes/feedcreator.class.phpの175行目
// your local timezone, set to “” to disable or for GMT
define(“TIME_ZONE”,”+01:00″);

を+07:00にする。