ogwinilo Posted December 28, 2010 Share Posted December 28, 2010 After an add-on, (supplier admin area), I get the following messages when browsing as a supplier Warning: require(fckeditor/fckeditor.php) [function.require]: failed to open stream: No such file or directory in /home/.../yebocom.com/myadmin/includes/functions/html_output.php on line 13 Warning: require(fckeditor/fckeditor.php) [function.require]: failed to open stream: No such file or directory in /home/../yebocom.com/myadmin/includes/functions/html_output.php on line 13 Fatal error: require() [function.require]: Failed opening required 'fckeditor/fckeditor.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/.../public_html/yebocom.com/myadmin/includes/functions/html_output.php on line 13 What does this mean? Regards Felix Link to comment Share on other sites More sharing options...
Guest Posted December 28, 2010 Share Posted December 28, 2010 Felix, It means that the fckeditor file(s) are not in the proper directory and/or not installed correctly. Chris Link to comment Share on other sites More sharing options...
MrPhil Posted December 28, 2010 Share Posted December 28, 2010 It means that on line 13 of <admin>/includes/functions/html_output.php, there was a require('fckeditor/fckeditor.php'); call. As a relative path was given, the PHP include_path was followed and PHP looked in <admin>/includes/functions/fckeditor/, then in /usr/lib/php/fckeditor/, and finally in /usr/local/lib/php/fckeditor/ for the file "fckeditor.php", and didn't find it in any of those places. Where exactly did you install FCKeditor? (Specifically, where in relation to .../includes/functions/ on both the catalog and admin sides?) By the way, that version is obsolete and has been replaced by CKeditor. There's a possibility that this problem is related to the problem of includes/application_top.php being unable to require includes/configure.php, something that pops up frequently but no one has an answer for. I don't know why, if the "current" directory is already in "includes/", why the relative path also says "includes/". I suspect something has changed in PHP's definition of what is the "current directory", for the purpose of where "." in the include_path is, but everyone I've asked swears that nothing has changed. Link to comment Share on other sites More sharing options...
♥FWR Media Posted December 28, 2010 Share Posted December 28, 2010 It means that on line 13 of <admin>/includes/functions/html_output.php, there was a require('fckeditor/fckeditor.php'); call. As a relative path was given, the PHP include_path was followed and PHP looked in <admin>/includes/functions/fckeditor/, then in /usr/lib/php/fckeditor/, and finally in /usr/local/lib/php/fckeditor/ for the file "fckeditor.php", and didn't find it in any of those places. Where exactly did you install FCKeditor? (Specifically, where in relation to .../includes/functions/ on both the catalog and admin sides?) By the way, that version is obsolete and has been replaced by CKeditor. There's a possibility that this problem is related to the problem of includes/application_top.php being unable to require includes/configure.php, something that pops up frequently but no one has an answer for. I don't know why, if the "current" directory is already in "includes/", why the relative path also says "includes/". I suspect something has changed in PHP's definition of what is the "current directory", for the purpose of where "." in the include_path is, but everyone I've asked swears that nothing has changed. realpath( '.' ) doesn't work ( supply the expected results ) on some servers so perhaps suggests the same problem? I'm tending to fall back on .. realpath( dirname( __FILE__ ) ) Or to go back a directory level .. realpath( dirname( __FILE__ ) . '/../' ) And thereby ignoring osCommerce settings as this way I seem to get no issues. Although I suppose arbitrary use of realpath could polute the realpath cache. Ultimate SEO Urls 5 PRO - Multi Language Modern, Powerful SEO Urls KissMT Dynamic SEO Meta & Canonical Header Tags KissER Error Handling and Debugging KissIT Image Thumbnailer Security Pro - Querystring protection against hackers ( a KISS contribution ) If you found my post useful please click the "Like This" button to the right. Please only PM me for paid work. Link to comment Share on other sites More sharing options...
ogwinilo Posted December 29, 2010 Author Share Posted December 29, 2010 Thanks guys for valuable input, looking into it Regards Felix Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.