NaniG Posted April 29, 2013 Share Posted April 29, 2013 Hi to all, Am tryed to install / configure the KCFinder with CKEditor into my admin side. Am successfully configured and it is working fine in localhost (local machine) as well as in Remote Server Desktop (Test machine). But when i uploaded into production server, am getting the following type of error. Warning: require(core/browser.php) [function.require]: failed to open stream: No such file or directory in /home/content/a/i/o/test/html/admin/ckeditor/kcfinder/core/autoload.php on line 30 Fatal error: require() [function.require]: Failed opening required 'core/browser.php' (include_path='.;C:\xampp\php\PEAR') in /home/content/a/i/o/test/html/admin/ckeditor/kcfinder/core/autoload.php on line 30 Am developing the site in Smarty (PHP) as well as MySQL as backend and my site is hosted in goDaddy shared hosting. Please help me out form these issue Quote Link to comment https://forums.phpfreaks.com/topic/277400-failed-to-open-stream-no-such-file-or-directory/ Share on other sites More sharing options...
jugesh Posted April 29, 2013 Share Posted April 29, 2013 It seems your file is not getting proper path.Check php ini and set the folder path. Quote Link to comment https://forums.phpfreaks.com/topic/277400-failed-to-open-stream-no-such-file-or-directory/#findComment-1427085 Share on other sites More sharing options...
NaniG Posted April 29, 2013 Author Share Posted April 29, 2013 Thanks for reply Jugesh. Yes, the include path is different in PHP.ini file and it is include_path:.;C:\xampp\php\PEAR. I uploaded PHP5.ini file due to my site was hosted in goDaddy Shared hosting. i changed the include path in php.ini file as "home\content\a\i\o\test\html", but getting the same error. Is the include path is right syntax, or shall i changed to other way. More ever i included the path on top of the page (config.php of KCFinder) with ini_set('include_path', 'home\content\a\i\o\test\html'); Please let me know the correct one. Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/277400-failed-to-open-stream-no-such-file-or-directory/#findComment-1427111 Share on other sites More sharing options...
jugesh Posted April 30, 2013 Share Posted April 30, 2013 create a php file and write the command: <? echo phpinfo()?> upload file on server and run the file to check php settings to get the path Quote Link to comment https://forums.phpfreaks.com/topic/277400-failed-to-open-stream-no-such-file-or-directory/#findComment-1427226 Share on other sites More sharing options...
jugesh Posted April 30, 2013 Share Posted April 30, 2013 use / instead of \ Quote Link to comment https://forums.phpfreaks.com/topic/277400-failed-to-open-stream-no-such-file-or-directory/#findComment-1427227 Share on other sites More sharing options...
jugesh Posted April 30, 2013 Share Posted April 30, 2013 (edited) ini_set('include_path', '/home/content/a/i/o/est/html/'); Edited April 30, 2013 by jugesh Quote Link to comment https://forums.phpfreaks.com/topic/277400-failed-to-open-stream-no-such-file-or-directory/#findComment-1427228 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.