[SOLVED] Permission error adding new feed in CGFeedMaker

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
postiffm
Forum Members
Forum Members
Posts: 124
Joined: Tue Nov 30, 2010 12:16 am

[SOLVED] Permission error adding new feed in CGFeedMaker

Post by postiffm »

CMS 1.9.2
CGBlog 1.7.1
CGExtensions 1.22.1
CGFeedMaker 1.0.11
CGSimpleSmarty 1.4.7

When trying to Add a New Feed in CGFeedMaker, I get this:

Warning: mkdir() [function.mkdir]: Permission denied in /blah/blah/public_html/cms/modules/CGExtensions/lib/class.cge_dir.php on line 174
directory still does not exist

I tried with cms/modules and cms/modules/CGFeedMaker and cms/modules/CGFeedMaker/templates chmod 777 to no avail.

Thanks for any ideas you might have.
Last edited by postiffm on Tue Dec 21, 2010 9:59 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Permission error adding new feed in CGFeedMaker

Post by Dr.CSS »

Check your unmask to see owners etc. you may have to change it and test again...
postiffm
Forum Members
Forum Members
Posts: 124
Joined: Tue Nov 30, 2010 12:16 am

Re: Permission error adding new feed in CGFeedMaker

Post by postiffm »

A little extra debugging information in the code helped me find which directory was the problem.

I'd suggest this change in CGFeedMaker/action.addfeed.php, line 192:

if( !is_dir($destdir) ) die('directory ' . $destdir . ' still does not exist');

Then the user can see what directory is the problem when the script dies. In my case, the directory that could not be created was /blah/blah/public_html/cms/uploads/CGFeedMaker. A quick
        chmod 777 cms/uploads
did the trick.
Post Reply

Return to “Modules/Add-Ons”