Posted by matulis on December 21, 2012 at 8:21am
3 followers
Jump to:
| Project: | CKEditor - WYSIWYG HTML editor |
| Version: | 7.x-1.9 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Warning: file_exists(): open_basedir restriction in effect. File(/sites/all/libraries/ckeditor/contents.css) is not within the allowed path(s): (/sites/mysite/www/htdocs:/sites/mysite/www/tmp:/sites/mysite/lib/php) in ckeditor_profile_settings_compile() (line 1213 of /sites/mysite/www/htdocs/sites/all/modules/ckeditor/includes/ckeditor.lib.inc).
Comments
#1
Do u try to use last DEV version to check that? There was fix for paths...
Greetings
#2
So I changed Line 1213 (sites/all/modules/ckeditor/includes/ckeditor.lib.inc)
<?phpif (file_exists($editor_path . '/contents.css')) {
?>
to
<?phpif (file_exists($editor_local_path . '/contents.css')) {
?>
The warning is gone now.
#3
Hi Damian,
warning still present with last DEV,
so I stay with my quick fix from previous comment.
#4
Really thx for info and solution for this bug.
I commit it to GIT (diff).
Pls update to last DEV to see changes.
Greetings
#5