I am dealing with a very strange and rather simple problem about 2 days now.
I bet the solutions is obvious but i just dont know what else to do.
I am working in Kohana framework.
In my C:/wamp/www folder i have two different sites: mysite1 and mysite2.
So i have the fckeditor working in the mysite1 site included like this:
include(url::base(FALSE)."static/scripts/fckeditor/fckeditor.php"); -> include(mysite/web/admin/static/scripts/fckeditor/fckeditor.php)
and works like a charm!
Well i decided to incorporate fckeditor in mysite2, and i use the very same command..
and it just does not work and there is an erro message:
no such file or directory..
I assure you that fckeditor exists in
mysite2/web/admin/static/scripts/fckeditor/fckeditor.php
The full path (C:/wamp/www/mysite2/web/admin/static/scripts/fckeditor/fckeditor.php ) path include works. I just want to get include(url::base(FALSE).”static/scripts/fckeditor/fckeditor.php”) working…
What could possibly be wrong??
Thanks!
If the full path works fine, but the path using the url helper doesn’t work, it’s probably a site configuration error.
Do any of your includes using
url::basework?Looking at the output of your page, what does
url::base(FALSE)."static/scripts/fckeditor/fckeditor.php"evaluate to?Take a look at config.php, make sure your site_domain is set up properly.