Welcome to Geeklog Thursday, May 23 2013 @ 12:27 AM EDT
|
||||||||
![]() |
Forum Index > Support > Plugin Support |
New Topic
|
Post Reply
|
Media Gallery & PHP5 |
|||
| drafty |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior ![]() Status: offline ![]() Registered: 09/05/07 Posts: 16 |
I've recently switched server to PHP5 ... managed to resolve a few issues with website, but have just found this one. When I try to add photos to Media Gallery the error below comes up - although the pic does upload.
If I click on the RSS icon in the gallery I get an XML file - I've turned RSS off in Media Gallery settings and the RSS now seems to be appearing correctly. Can someone please explain what I need to do to rectify this error .... many thanks in advance PHP Formatted Code An error has occurred: 2 - fopen(/home/users/uks59246/html/idhsgb.com/web/mediagallery/rss/mgmedia.rss) [function.fopen]: failed to open stream: Permission denied @ /home/users/uks59246/html/idhsgb.com/web/mediagallery/classes/feedcreator.class.php line 725 array(2) { ["filename"]=> string(69) "/home/users/uks59246/html/idhsgb.com/web/mediagallery/rss/mgmedia.rss" ["displayContents"]=> int(0) } (This text is only displayed to users in the group 'Root') "Patience is never more important than when you're at the edge of losing it !!" |
||||||
|
|||||||
| ::Ben |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 01/14/05 Posts: 1359 |
Hi,
You can try to create a empty mgmedia.rss file and put it in your mediagallery/rss folder. Ben We speak french on http://geeklog.fr |
||||||
|
|||||||
| drafty |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior ![]() Status: offline ![]() Registered: 09/05/07 Posts: 16 |
Thanks Ben, tried this .... no difference !!
I've had a look at 'mediagallery/classes/feedcreator.class.php line 725' but cannot see anything to change ? Also all the .rss files in 'mediagallery/rss/' are numbered for the different galleries - i.e. mgmedia000001.rss'; etc . Clicking the RSS icon in a gallery displays the XML file. "Patience is never more important than when you're at the edge of losing it !!" |
||||||
|
|||||||
| ::Ben |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 01/14/05 Posts: 1359 |
We speak french on http://geeklog.fr |
||||||
|
|||||||
| drafty |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior ![]() Status: offline ![]() Registered: 09/05/07 Posts: 16 |
1.5.0 ... I appreciate it's not the latest, but everything was fine until the server change to PHP5
"Patience is never more important than when you're at the edge of losing it !!" |
||||||
|
|||||||
| ::Ben |
|
||||||
![]() ![]() ![]() ![]() ![]() Full Member ![]() Status: offline ![]() Registered: 01/14/05 Posts: 1359 |
I suggest you to update the mediagallery plugin to take advantage of all the bug fixes and new features.
Also, according to Mark the plugin author: This error is a permission issue. We need to make sure that the web server can write to the public_html/mediagallery/rss/ directory. So you'll either need to change the owner to the same user the web server is running as, or change permissions to allow full read / write access (777). Ben We speak french on http://geeklog.fr |
||||||
|
|||||||
| drafty |
|
||||||
![]() ![]() ![]() ![]() ![]() Junior ![]() Status: offline ![]() Registered: 09/05/07 Posts: 16 |
Hi Ben
Thanks for this ....... I agree that perhaps updating may be my best option. I'll try read/write permissions first many thanks Dave "Patience is never more important than when you're at the edge of losing it !!" |
||||||
|
|||||||
| Content generated in: 1.50 seconds |
|
|
|