Internal link error FCKeditor ?

Questions about how to use the online - editors and suggestions how to improve them
Post Reply
Nicky
Posts: 164
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Internal link error FCKeditor ?

Post by Nicky » Sat Feb 27, 2010 9:23 am

Following error in fck editor when clicking the 'Internal link' item to apply a link to other page in the site :
------
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(../../../..//..) is not within the allowed path(s): (/var/www/vhosts/robertson-outback.com/httpdocs:/tmp) in /var/www/vhosts/robertson-outback.com/httpdocs/FCKeditor/editor/plugins/sitelink/sitelink.php on line 88
-------

However, even though this error appears, the feature is working and does add link to the page you want.
Any ideas how to remove the error message?

Gert
Posts: 3078
Joined: Fri May 30, 2008 4:53 pm
Location: Berlin
Contact:

Re: Internal link error FCKeditor ?

Post by Gert » Sat Feb 27, 2010 10:21 am

Hallo Nicky, unfortunately no idea, maybe a problem of your server settings (open_basedir).

But I had a look at line 88 of sitelink.php:

Code: Select all

if (is_dir("$start_folder/$value") == true && ...  
Hi Holger, do you remember? ;)

http://www.cmsimpleforum.com/viewtopic. ... 678#p10673
Gert Ebersbach | CMSimple | Templates - Plugins - Services

Holger
Site Admin
Posts: 3470
Joined: Mon May 19, 2008 7:10 pm
Location: Hessen, Germany

Re: Internal link error FCKeditor ?

Post by Holger » Tue Mar 02, 2010 8:54 am

Hi Nicky & Gert!

The problem are the "../../../" characters in the code.
Mod_security don't like that sometimes and will drop such requests as a hacking attempt.

It's the same problem as here (already fixed):
http://www.cmsimpleforum.com/viewtopic. ... 1228#p6891

I'll look on it ASAP to provide a patch.

Holger

Nicky
Posts: 164
Joined: Sun Feb 08, 2009 9:50 am
Location: Antwerp, Belgium

Re: Internal link error FCKeditor ?

Post by Nicky » Tue Mar 02, 2010 8:56 am

Hey, thanks Holger, I will be watching this topic!

Post Reply