PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 884

PostPosted: Sat Dec 06, 2008 7:58 am Reply with quote Back to top

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Sat Dec 06, 2008 8:20 am Reply with quote Back to top

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
View user's profile Send private message
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 884

PostPosted: Sat Dec 06, 2008 10:05 am Reply with quote Back to top

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
View user's profile Send private message
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 884

PostPosted: Sat Dec 06, 2008 10:29 am Reply with quote Back to top

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
View user's profile Send private message
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 884

PostPosted: Sat Dec 06, 2008 11:12 am Reply with quote Back to top

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
View user's profile Send private message
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 884

PostPosted: Sat Dec 06, 2008 11:25 am Reply with quote Back to top

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
View user's profile Send private message
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 884

PostPosted: Sat Dec 06, 2008 11:42 am Reply with quote Back to top

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
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6300
Location: Vsetin, Czech Republic

PostPosted: Sat Dec 06, 2008 12:17 pm Reply with quote Back to top

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.
View user's profile Send private message Send e-mail Visit poster's website
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 884

PostPosted: Sat Dec 06, 2008 12:28 pm Reply with quote Back to top

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
View user's profile Send private message
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 884

PostPosted: Sat Dec 06, 2008 12:39 pm Reply with quote Back to top

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
View user's profile Send private message
Dawg
RavenNuke(tm) Development Team


Joined: Nov 07, 2003
Posts: 884

PostPosted: Sat Dec 06, 2008 12:51 pm Reply with quote Back to top

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
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Sat Dec 06, 2008 1:08 pm Reply with quote Back to top

You shouldn't need to set the upload path to /uploads/image/, but I think the permissions issue may have been the problem.
View user's profile Send private message
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 5997

PostPosted: Sat Dec 06, 2008 1:11 pm Reply with quote Back to top

If your uploads folder is in the nuke root folder, you shouldn't need to override in rnconfig.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum