Topics

User Functions

Events

There are no upcoming events

What's New

Stories last 2 weeks

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Wednesday, April 16 2014 @ 03:36 AM EDT


 Forum Index > Support > Plugin Support New Topic Post Reply
 Media Gallery & PHP5
   
drafty
 11/25/11 04:11PM (Read 1114 times)  
++---
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 !!"
 
Profile Email
 Quote
::Ben
 11/26/11 10:24AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
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
 
Profile Email Website
 Quote
drafty
 11/27/11 01:45PM  
++---
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 !!"
 
Profile Email
 Quote
::Ben
 11/27/11 05:20PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
What is your mediagallery version? Last available is Media Gallery WKZ 1.6.12.

Ben

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
drafty
 11/28/11 06:14AM  
++---
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 !!"
 
Profile Email
 Quote
::Ben
 11/28/11 07:13AM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1442
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
 
Profile Email Website
 Quote
drafty
 11/28/11 07:39AM  
++---
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 !!"
 
Profile Email
 Quote
Content generated in: 0.56 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content