Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> FCKeditor/WYSIWYG Issues
Author Message
dutchnuker
Hangin' Around



Joined: Apr 01, 2006
Posts: 30

PostPosted: Sat Mar 17, 2007 3:20 pm Reply with quote

I dont see the image when I edit a page with FCKeditor in Ravennuke 2.1

You can see the image when you visit the site as a visitor.

Do I need something in the FCK editor to configurate before it works.

my site [url] Only registered users can see links on this board! Get registered or login![/url]
 
View user's profile Send private message
kguske
Site Admin



Joined: Jun 04, 2004
Posts: 6437

PostPosted: Sat Mar 17, 2007 6:30 pm Reply with quote

You should be able to see both. You can either use the full URL for the image, or a relative URL with / in front.

_________________
I search, therefore I exist...
Only registered users can see links on this board! Get registered or login!
 
View user's profile Send private message
dutchnuker







PostPosted: Sun Mar 18, 2007 6:33 am Reply with quote

I know what I should see. But I see in the editor not the image.

I can Browse through the image and select it. But then is see a little image what means that the FCK editor can't find the image.

Old pages and new pages are the same. In the prior version off my site ravennuke 2.02.02 I could see the images in the FCK editor.
 
kguske







PostPosted: Sun Mar 18, 2007 6:42 am Reply with quote

What is the URL of the image?
 
dutchnuker







PostPosted: Sun Mar 18, 2007 7:07 am Reply with quote

It is not one image,

All the image at www.kleindierplaza.nl are not shown in the FCK editor.

at one off the pages is by example this image.
<p align="center"><img height="268" alt="" width="354" src="/includes/FCKeditor/upload/Image/sierduiven/kleindierhouden.jpg" /><br />

Where can I see the path in the FCKeditor View
 
dutchnuker







PostPosted: Sun Mar 18, 2007 7:09 am Reply with quote

In the Source I found this.

src=&quot;/includes/FCKeditor/upload/Image/sierduiven/kleindierhouden.jpg&quot;

What is the Path where FCK editor begins to search.
 
kguske







PostPosted: Sun Mar 18, 2007 7:34 am Reply with quote

Is magic_quotes on? I haven't seen this issue, but it sounds like it might be related.

What happens if you edit the source via the editor and change &quot; to " ?
 
dutchnuker







PostPosted: Sun Mar 18, 2007 7:49 am Reply with quote

Where can i see that.

in can't find it in config.php and in rnconfig.php
 
kguske







PostPosted: Sun Mar 18, 2007 7:54 am Reply with quote

It's a PHP setting. You can create a file like this:
Code:
<?php phpinfo(); ?>
and load that on your server. Run it, and you'll see the PHP settings.

Also, did you also try editing the source, changing &quot; to " and view the WYSIWYG editor again?
 
dutchnuker







PostPosted: Sun Mar 18, 2007 8:47 am Reply with quote

magic_quotes_gpc On On
magic_quotes_runtime Off Off
magic_quotes_sybase Off Off
 
dutchnuker







PostPosted: Sun Mar 18, 2007 8:49 am Reply with quote

in the source in FCK are quotes but when i opened the source via Internet Explorer.
 
dutchnuker







PostPosted: Sun Mar 18, 2007 2:59 pm Reply with quote

I have Know 2 different website's with the same problem
the website's are on different webservers and with different profiders.
 
Guardian2003
Site Admin



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

PostPosted: Sun Mar 18, 2007 4:25 pm Reply with quote

What is the image file type?
I'm wondering if the editor will only 'preview' certain file types.
 
View user's profile Send private message Send e-mail
kguske







PostPosted: Mon Mar 19, 2007 10:11 am Reply with quote

dutchnuker wrote:
I dont see the image when I edit a page with FCKeditor in Ravennuke 2.1

Just to confirm, is it only when you edit a page and not when you create a page? And is it only news, or did you see this on other types of content?
 
dutchnuker







PostPosted: Mon Mar 19, 2007 11:22 am Reply with quote

All images are .jpg
 
dutchnuker







PostPosted: Mon Mar 19, 2007 11:25 am Reply with quote

Kguske,

It is with editing and creating.

Would you have an admin entry for testing.

Mathijs
 
kguske







PostPosted: Mon Mar 19, 2007 3:32 pm Reply with quote

Yes, if you send me a PM with admin info (user and password), I can test editing. If you send a PM with a link to your site (if you haven't already done so), I can test creating.

Thanks,
 
kguske







PostPosted: Mon Mar 19, 2007 7:24 pm Reply with quote

Looks like this is a problem with IE! It works fine on FF 1.5. I tested FCKeditor 2.3.1 with IE 6 and 7 and with FF 1.5 and 2.0, but I don't remember if I checked images. That seemed to be one of the enhancements that was fixed in 2.3.1, though, so I'm surprised I didn't verify that. Did you make any changes to the fckconfig.js file or any other FCKeditor files?
 
kguske







PostPosted: Mon Mar 19, 2007 7:27 pm Reply with quote

Darn...same thing happened on my test copy of RN210. Let me see what I can find.
 
kguske







PostPosted: Mon Mar 19, 2007 8:00 pm Reply with quote

SOLUTION!

In includes/FCKeditor/fckconfig.js, change this:
Code:
FCKConfig.BaseHref = '../';
to
Code:
FCKConfig.BaseHref = '';

That old BaseHref setting was a carryover from the previous version. I must have tested the demo version of FCKeditor for this, rather than the nukeWYSIWYG version.
 
dutchnuker







PostPosted: Tue Mar 20, 2007 12:14 pm Reply with quote

KGuske,

Thank you very much I have changed the code and it works in Firefox 2.0.0.2 as in IE 7.0

Thank you for helping me so soon.

Greetings,
Mathijs Lubbertsen
 
dad7732
RavenNuke(tm) Development Team



Joined: Mar 18, 2007
Posts: 1242

PostPosted: Mon May 12, 2008 9:30 am Reply with quote

What works here is to add the / to the beginning of the path, such as:

Code:
images/image.jpg to /images/image.jpg


Cheers
 
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> FCKeditor/WYSIWYG 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 ©