goldoi Posted September 7, 2011 Posted September 7, 2011 Hello everyone, I try to make a new box with dynamenu included in! All my code is ready but i must to fix something before. My box is here: /wsb5375180001/shop/includes/modules/boxes/bm_flyout.php For working, i need to call files with: require_once'includes/functions/dynamenu/lib/PHPLIB.php'; or require_once(DIR_WS_FUNCTIONS . './dynamenu/lib/layersmenu-common.inc.php'); In: /wsb5375180001/shop/includes/functions/dynamenu/lib/PHPLIB.php I got the error : Warning: require_once(includes/functions/dynamenu/lib/PHPLIB.php) [function.require-once]: failed to open stream: No such file or directory in /homepages/46/d289027439/htdocs/wsb5375180001/shop/includes/modules/boxes/bm_flyout.php on line 27 Fatal error: require_once() [function.require]: Failed opening required 'includes/functions/dynamenu/lib/PHPLIB.php' (include_path='.:/usr/lib/php5') in /homepages/46/d289027439/htdocs/wsb5375180001/shop/includes/modules/boxes/bm_flyout.php on line 27 I know that include_path doesn't work how to solve the problem ? Thanx for your help! Goldoi
Jack_mcs Posted September 7, 2011 Posted September 7, 2011 Are you sure the file is at that location? I'm not familiar with that contribution but such directories are not usually placed in the functions directory. Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
goldoi Posted September 7, 2011 Author Posted September 7, 2011 Yes, but in fact normally this addon when working on 2.2 have the box.php file in includes/boxes instead of includes/modules/boxes. So, i have check the path another time, but it still be the same. See the file attached on line 27&28. And this pictures for the content of dynamenu file. Where should i place this libraries ? bm_flyout.php
Jack_mcs Posted September 7, 2011 Posted September 7, 2011 Are you sure it works with oscommerce V 2.3? Have you tried asking in its support thread (which is where all questions regarding contributions should be asked, by the way)? Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
goldoi Posted September 7, 2011 Author Posted September 7, 2011 Yes it's works fine with 2.3.1 if i include it in header or footer. But it's why i want to rewrite the code to use in a box.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.