Author |
Message |
Dawg
RavenNuke(tm) Development Team

Joined: Nov 07, 2003
Posts: 928
|
Posted:
Sat Dec 06, 2008 7:58 am |
|
Greetings All,
I have an editor that I just can not seem to get to work...
I have trouble shot this for a couple days....
It is not premissions...Have tried 777 on both the uploads and images folder.
No errors in the log files....
When I hit Image in the editor I get....Image properites...In image properties I click browse server....and I think this is a clue....Even if I have images in the folder....it does not show anything. If I hit Browse - pick a file - Upload.....I get Upload in progress...then nothing.
If I X out of that and go back to the image properties window and hit the upload tab....browse....pick a file....send it to the server....IT says "Your Upload was successful....kicks me back the image properites window with a broken image icon. If I select the image...and hit properties....I get the correct path.
My guess is something is not loading....becasue it is not reading the images in the DIR then If I FTP images in the folder.
I have reuploaded the editor DIR a couple of times. I am pretty sure that it is not the server....I have over 100 sites on this server and 20 or so use various flavors of RN.
I am stumped. Where can I look to trouble shot this?
Everything else about the editor seems to work just fine.
Thanks for the help!
Dawg |
|
|
|
 |
kguske
Site Admin

Joined: Jun 04, 2004
Posts: 6437
|
Posted:
Sat Dec 06, 2008 8:20 am |
|
We've seen this problem on some systems - mainly those that use FreeBSD as the operating system. The solution is to override the upload directory in includes/fckeditor/fckconfig.js |
_________________ I search, therefore I exist...
Only registered users can see links on this board! Get registered or login! |
|
|
 |
Dawg

|
Posted:
Sat Dec 06, 2008 10:05 am |
|
Kguske,
This is on FedoraCore 2 Linux 2.6.14
I have tried setting the upload dir in RN. I even tried moving the upload back to the former location.
I will try in the js file and report back.
Dave |
|
|
|
 |
Dawg

|
Posted:
Sat Dec 06, 2008 10:29 am |
|
Do you mean this?
Code://FCKConfig.ImageUpload = true ;
FCKConfig.ImageUpload = false ;
FCKConfig.ImageUploadURL = FCKConfig.BasePath + 'filemanager/connectors/' + _QuickUploadLanguage + '/upload.' + _QuickUploadExtension + '?Type=Image' ;
FCKConfig.ImageUploadAllowedExtensions = ".(jpg|gif|jpeg|png|bmp)$" ; // empty for all
FCKConfig.ImageUploadDeniedExtensions = "" ; // empty for no one
|
|
|
|
|
 |
Dawg

|
Posted:
Sat Dec 06, 2008 11:12 am |
|
Kevin,
I was just messing with this somemore.....I deleted the default install and uploaded the files from the last version of the editor from my old code base. It is known to work on this server. Got the same results....Is there something that needs to be called in the theme for this to work?
I am running on a 100% custom theme....
I will go upload one of the RN themes and try that....
Dawg |
|
|
|
 |
Dawg

|
Posted:
Sat Dec 06, 2008 11:25 am |
|
Tired it on SlashOcean as well.....No Go.
Another hint....
My dropdpwn once I get toi where you upload the files......only has "Images" in it vs Flash and bla bla bla.....
I am stuck!
Dawg |
|
|
|
 |
Dawg

|
Posted:
Sat Dec 06, 2008 11:42 am |
|
Do you think it could be the changes we made to the header for Gallery to work correctly?...HMmmmm....I will have to try that in a little while....
Dawg |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sat Dec 06, 2008 12:17 pm |
|
wait, wait.......
I think you found your own answer.
It should be images not Images - double check the cases. I had a problem a few months ago and found that although I was ftp'ing lowercase directory names because I already had directories that were the same name but with the first letter capitolised they were still reading wrong on the server.
I had to delete the direcotries completely and create them manually.
I'm not saying you may have the same issue but it might we worth a stab. |
|
|
|
 |
Dawg

|
Posted:
Sat Dec 06, 2008 12:28 pm |
|
No....The folder name is images....
Under Resource Type it says Images....with Cap I....
Well.....At least I am not asking simple questions anyway...LOL!
Dawg |
|
|
|
 |
Dawg

|
Posted:
Sat Dec 06, 2008 12:39 pm |
|
I got it........
Here is the deal....
I went into RN config and set it to....
$uploadpath = '/uploads/image/';
Then created the folder image so the real path is /uploads/image/image/whatever.jpeg
I went...well I guess I screwed up....so I went back and set the path to /uploads/.....nope that did not work. It had to be $uploadpath = '/uploads/image/'; and then add an extra image to it.
Why does this work? Hell if I know! but it does....
Dawg |
|
|
|
 |
Dawg

|
Posted:
Sat Dec 06, 2008 12:51 pm |
|
Correction....
I set it to
$uploadpath = '/uploads/image/';
and I had to let it create it's own image folder.
It turns out to be a premission sissue I believe. Owner and group were both apache
I have sent you a PM about something too....check that if you would...
Dawg |
|
|
|
 |
kguske

|
Posted:
Sat Dec 06, 2008 1:08 pm |
|
You shouldn't need to set the upload path to /uploads/image/, but I think the permissions issue may have been the problem. |
|
|
|
 |
kguske

|
Posted:
Sat Dec 06, 2008 1:11 pm |
|
If your uploads folder is in the nuke root folder, you shouldn't need to override in rnconfig. |
|
|
|
 |
|