Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues
Author Message
tremor
Hangin' Around



Joined: Dec 31, 2008
Posts: 26
Location: NY

PostPosted: Fri Jan 23, 2009 11:13 am Reply with quote

ya it is a clean install and fckeditor is all lower case file structure... i've made some progress by editing fckeditor configs in various places... i can now browse the /uploads/mages/ directory, create new folders and even upload.. in the browse... the other fckeditor tab with the "send it to server" button still fails to upload... so now I guess i've eliminated permissions problems from the mix... and this has now become a game of, 'what's the right path' and where do i define it.. I'm going to assume that I'll be able to work the uploads out the same with the NSN submit downloads and coppermine... i've changed the path in rnconfig.php to a dozen various paths... either i'm stupid or that path declaration just is not passing to any of the modules.
 
View user's profile Send private message Visit poster's website
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Sat Feb 07, 2009 5:45 am Reply with quote

Just upgraded a 2.20.01 site to 2.3 and now when I try to "browse server" in FCKeditor -> edit/add image, I get a permissions error in:

/includes/FCKeditor/ <path to>/browser.html

This was covered somewhere here I think but no luck. Permissions "should" be ok. On FreeBSD if that makes a difference.

Cheers
 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sat Feb 07, 2009 6:06 am Reply with quote

I think there have been problems reported before with a user or two that has FreBSD but am unable to find the specific post in which a fix was mentioned.
In your path, FCKeditor should be fckeditor (all lower case) so it could be that your OS is doing the Windyblows things and not differentiating between 'cases'.
The problem of course is that if you simply remove the FCKeditor directory, you will lose the images in the sub directories which have been used for news and other content area data.

Do you have any surplus (FCKeditor) files left over from the 2.20.01 version?
 
View user's profile Send private message Send e-mail
dad7732







PostPosted: Sat Feb 07, 2009 6:19 am Reply with quote

I'll change to all lowercase but I have the Apache mod_spel active so it shouldn't matter but worth a shot.

And yes, I have left over editor files but haven't had the chance to run the compare utility yet. I'm betting on that to be the problem / answer.

Cheers

EDIT: /fckeditor/ is already lowercase so I'm betting on the leftovers. Will tackle that after work today.
 
dad7732







PostPosted: Sat Feb 07, 2009 6:31 am Reply with quote

Removed the entire previous /includes/FCKeditor/ and still a no-go:

Error:

You don't have permission to access /includes/fckeditor/editor/filemanager/browser/default/browser.html on this server.
 
Guardian2003







PostPosted: Sat Feb 07, 2009 6:38 am Reply with quote

Thats a valid path and I have certainly not across that one before. I cannot even imagine why you "don't have permission" as there is nothing special there. Could this be a firewall issue if you are at work?
 
dad7732







PostPosted: Sat Feb 07, 2009 7:06 am Reply with quote

At home, not a firewall issue. I'm narrowing down to a file and or grp owner issue. Will chown and chgrp to see what happens. On a VPS is probably the issue because of the way domains are handled, not the conventional www www or root root. We'll see later. Chmod to 777 down the path from root does nothing.
 
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Sun Feb 08, 2009 9:52 am Reply with quote

Or, do you have a .htaccess file with "Deny from all" somewhere up the directory path higher than kckeditor? But, if you did, I would suspect none of the editor would load... hhmmmm...

_________________
Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
dad7732







PostPosted: Sun Feb 08, 2009 10:04 am Reply with quote

Interesting that I can upload images, etc with no problem as well as "browse" my local system to upload an image, etc. just not browse the "server".

Browsing the server for category images in Content Plus works as intended as well. Dunno ..

Cheers
 
Guardian2003







PostPosted: Sun Feb 08, 2009 10:42 am Reply with quote

Just for gigles, what happens if you actually remove that browser.html file (remove as against rename).
 
dad7732







PostPosted: Sun Feb 08, 2009 10:49 am Reply with quote

Removed the file altogether and interestingly get the same exact error message.

Code:
Error: 


You don't have permission to access /includes/fckeditor/editor/filemanager/browser/default/browser.html on this server.


I assume this IS the correct path /includes/fckeditor/ ??

Cheers
 
dad7732







PostPosted: Sun Feb 08, 2009 11:20 am Reply with quote

I also had a peak at fckconfig.js and the path looks correct as well as the owner/permissions on the file are set correctly.

Cheers
 
montego







PostPosted: Sun Feb 08, 2009 11:52 am Reply with quote

Yeah, its bugging me that you have everything 777 and still this. you certainly do not want to leave it that way. Do you have a .htaccess file in your /includes directory by chance? If so, what is in it?

I have this working fine on both my Ubuntu PC and on one of my production web sites with no real changes. It may take kguske's expertise to debug this one.
 
dad7732







PostPosted: Sun Feb 08, 2009 12:05 pm Reply with quote

Was not left at 777, was only that for test purposes. No .htaccess files anywhere in the path.

I still think it's a FreeBSD and VPS issue. If this were on my UNIX server in the default root path rather than the VPS/vhosts/ path, the ownership would be the default www/wheel .. I may try that later when I get home as I can't ssh in from here. Interesting that I have no problem "browsing" my local system for an image to upload.
 
dad7732







PostPosted: Sun Feb 08, 2009 1:28 pm Reply with quote

Well, I am correct about how the files are uploaded and ownership is determined. I have an RN running on the root of the server and the file ownership is root/webadmin, that's how it was uploaded and guess what ... IT WORKS. So when I get home I'll have to ssh in to the vhosts domain and change the ownership. It SHOULD work if the other one works in the /server/root/htdocs/includes/FCKeditor/..../browserlhtml

Cheers
 
dad7732







PostPosted: Sun Feb 08, 2009 8:50 pm Reply with quote

Now it's getting more complicated. FCKeditor works in the domain uploaded to the /root/hddocs/ but it doesn't work in the /vhosts/ where the other domains are parked. I even went so far as to wipe /fckeditor/ out and re-upload as root and still doesn't work. I dunno .. completely stumped now.

I did notice something strange in the domain in the /htdocs/ location is that it doesn't work using Firefox but does work using IE. Clue maybe ??
 
Guardian2003







PostPosted: Mon Feb 09, 2009 4:48 am Reply with quote

Surely if you upload the files as root then they will have the wrong grp permission.
This is really weird though, I'll try and don my thinking cap...
 
dad7732







PostPosted: Mon Feb 09, 2009 7:09 am Reply with quote

Everything else works when uploaded as root but FCKeditor "browse server". The file permission is root but group is "webadmin" when uploading as root. However, changing owners has no effect.

Why it works in IE and not in Firefox or anything else "gecko" is a mystery. I did notice however, in in the config js file there is a sniff function that mentions "gecko", maybe that is worth pursuing, dunno.


Cheers
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> v2.3 RN Issues

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©