Rezolles_Net Posted April 12, 2006 Share Posted April 12, 2006 Hello :( I've try this contrib but...there was an error... When I go to :- http://www.rezolles.com/supplier/supplier_area.php Warning: main(../idadmin/includes/database_tables.php): failed to open stream: No such file or directory in /home/rezolles/public_html/supplier/includes/application_top.php on line 47 Warning: main(../idadmin/includes/database_tables.php): failed to open stream: No such file or directory in /home/rezolles/public_html/supplier/includes/application_top.php on line 47 Fatal error: main(): Failed opening required '../idadmin/includes/database_tables.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rezolles/public_html/supplier/includes/application_top.php on line 47 How?? :( :( Really need help here.... Quote Link to comment Share on other sites More sharing options...
Rezolles_Net Posted April 12, 2006 Share Posted April 12, 2006 BUMP Quote Link to comment Share on other sites More sharing options...
lvanderb Posted April 12, 2006 Share Posted April 12, 2006 Hi, I just installed this awesome mod myself and my client thinks it's the bees knees :). Did you modify supplier/includes/configure.php to reflect your store? It's this line that's giving you grief define('DIR_WS_INCLUDES', '../idadmin/includes/'); Linda Quote Link to comment Share on other sites More sharing options...
Rezolles_Net Posted April 13, 2006 Share Posted April 13, 2006 Hi, I just installed this awesome mod myself and my client thinks it's the bees knees :). Did you modify supplier/includes/configure.php to reflect your store? It's this line that's giving you grief define('DIR_WS_INCLUDES', '../idadmin/includes/'); Linda :blush: No.... I didn't modify yet my configure.php --------------------------------------------------------------------------------------------------------- I've try to edit the configure.php but there is still an error... Please take a look at my coding. define('HTTP_SERVER', 'http://www.rezolles.com/'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.rezolles.com/'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/rezolles/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', 'supplier/'); // absolute path required define('DIR_FS_ADMIN', '/home/rezolles/public_html/supplier/'); // absolute pate required define('DIR_WS_CATALOG', 'catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/rezolles/public_html/supplier'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); // define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); old line define('DIR_WS_CATALOG_IMAGES', '../images/'); define('DIR_WS_INCLUDES', '../idadmin/includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); define('DIR_WS_INCLUDES', '../idadmin/includes/'); = What should i change??idadmin?? Quote Link to comment Share on other sites More sharing options...
Rezolles_Net Posted April 13, 2006 Share Posted April 13, 2006 need help here.... :( Quote Link to comment Share on other sites More sharing options...
Rezolles_Net Posted April 13, 2006 Share Posted April 13, 2006 I'm still waiting here.... Quote Link to comment Share on other sites More sharing options...
Rezolles_Net Posted April 13, 2006 Share Posted April 13, 2006 BUMP Quote Link to comment Share on other sites More sharing options...
Rezolles_Net Posted April 13, 2006 Share Posted April 13, 2006 :( Quote Link to comment Share on other sites More sharing options...
lvanderb Posted April 13, 2006 Share Posted April 13, 2006 define('DIR_WS_INCLUDES', '../idadmin/includes/'); = What should i change??idadmin?? Yes, change it to the path for your admin folder... I changed mine to define('DIR_WS_INCLUDES', '../admin/includes/'); Linda Quote Link to comment Share on other sites More sharing options...
Rezolles_Net Posted April 13, 2006 Share Posted April 13, 2006 // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.rezolles.com/'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.rezolles.com/'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/rezolles/public_html/'); // where the pages are located on the server define('DIR_WS_ADMIN', 'supplier/'); // absolute path required define('DIR_FS_ADMIN', '/home/rezolles/public_html/supplier/'); // absolute pate required define('DIR_WS_CATALOG', ''); // absolute path required define('DIR_FS_CATALOG', '/home/rezolles/public_html/supplier'); // absolute path required define('DIR_WS_IMAGES', 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); // define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); old line define('DIR_WS_CATALOG_IMAGES', '../images/'); define('DIR_WS_INCLUDES', '../admin/includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); I've edit it...But it seem there is still errors... Errors:- Warning: main(includes/functions/support_functions.php): failed to open stream: No such file or directory in /home/rezolles/public_html/admin/includes/functions/general.php on line 1442 Warning: main(includes/functions/support_functions.php): failed to open stream: No such file or directory in /home/rezolles/public_html/admin/includes/functions/general.php on line 1442 Warning: main(): Failed opening 'includes/functions/support_functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rezolles/public_html/admin/includes/functions/general.php on line 1442 Warning: main(includes/functions/refund_functions.php): failed to open stream: No such file or directory in /home/rezolles/public_html/admin/includes/functions/general.php on line 1444 Warning: main(includes/functions/refund_functions.php): failed to open stream: No such file or directory in /home/rezolles/public_html/admin/includes/functions/general.php on line 1444 Warning: main(): Failed opening 'includes/functions/refund_functions.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rezolles/public_html/admin/includes/functions/general.php on line 1444 Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/rezolles/public_html/admin/includes/functions/general.php:1442) in /home/rezolles/public_html/admin/includes/functions/sessions.php on line 67 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/rezolles/public_html/admin/includes/functions/general.php:1442) in /home/rezolles/public_html/admin/includes/functions/sessions.php on line 67 Warning: main(includes/languages/english_support.php): failed to open stream: No such file or directory in /home/rezolles/public_html/admin/includes/languages/english.php on line 364 Warning: main(includes/languages/english_support.php): failed to open stream: No such file or directory in /home/rezolles/public_html/admin/includes/languages/english.php on line 364 Warning: main(): Failed opening 'includes/languages/english_support.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/rezolles/public_html/admin/includes/languages/english.php on line 364 Help me outta here.... Quote Link to comment Share on other sites More sharing options...
lvanderb Posted April 13, 2006 Share Posted April 13, 2006 define('DIR_WS_ADMIN', 'supplier/'); // absolute path required Errors:- [code]Warning: main(includes/functions/support_functions.php): failed to open stream: No such file or directory in /home/rezolles/public_html/admin/includes/functions/general.php on line 1442 Help me outta here.... [/quote] Check any one path that says absolute path required and put a '/' in front of it.. here's what I have used... [code] define('HTTP_SERVER', 'http://www.our-domain.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.our-domain.com'); define('HTTPS_CATALOG_SERVER', 'https://our-secure-domain.com/~<username>'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/<username>/public_html/oscnuked/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/supplier/'); // absolute path required define('DIR_FS_ADMIN', '/home/<username>/public_html/supplier/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/<username>/public_html/'); // absolute path required define('DIR_WS_IMAGES', '/admin/images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); // define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); // old line define('DIR_WS_CATALOG_IMAGES', '../images/'); define('DIR_WS_INCLUDES', '../admin/includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); Linda Quote Link to comment Share on other sites More sharing options...
Rezolles_Net Posted April 13, 2006 Share Posted April 13, 2006 It's working but...when i add a product..... this error appear 1054 - Unknown column 'pd.products_head_title_tag' in 'field list' select pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_desc_tag, pd.products_head_keywords_tag, pd.products_url, p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, date_format(p.products_date_available, '%Y-%m-%d') as products_date_available, p.products_status, p.products_tax_class_id, p.manufacturers_id, p.products_price_myself, p.suppliers_id from products p, products_description pd where p.products_id = '247' and p.products_id = pd.products_id and pd.language_id = '1' and p.suppliers_id = '3' :( Quote Link to comment Share on other sites More sharing options...
lvanderb Posted April 13, 2006 Share Posted April 13, 2006 I think there is a earlier in this thread... but you need to edit supplier/supplier_s_categories_products.php so it looks like the following, around lines 290 or so $sql_data_array = array('products_name' => tep_db_prepare_input($HTTP_POST_VARS['products_name'][$language_id]), 'products_description' => tep_db_prepare_input($HTTP_POST_VARS['products_description'][$language_id]), 'products_url' => tep_db_prepare_input($HTTP_POST_VARS['products_url'][$language_id])); // 'products_head_title_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_title_tag'][$language_id]), // 'products_head_desc_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_desc_tag'][$language_id]), // 'products_head_keywords_tag' => tep_db_prepare_input($HTTP_POST_VARS['products_head_keywords_tag'][$language_id]) ); It's working but...when i add a product..... this error appear 1054 - Unknown column 'pd.products_head_title_tag' in 'field list' select pd.products_name, pd.products_description, pd.products_head_title_tag, pd.products_head_desc_tag, pd.products_head_keywords_tag, pd.products_url, p.products_id, p.products_quantity, p.products_model, p.products_image, p.products_price, p.products_weight, p.products_date_added, p.products_last_modified, date_format(p.products_date_available, '%Y-%m-%d') as products_date_available, p.products_status, p.products_tax_class_id, p.manufacturers_id, p.products_price_myself, p.suppliers_id from products p, products_description pd where p.products_id = '247' and p.products_id = pd.products_id and pd.language_id = '1' and p.suppliers_id = '3' :( Linda Quote Link to comment Share on other sites More sharing options...
Rezolles_Net Posted April 14, 2006 Share Posted April 14, 2006 Thx a lot...it's working now :) Quote Link to comment Share on other sites More sharing options...
tom@nexme.com Posted April 18, 2006 Share Posted April 18, 2006 hi! All i new to here ..so hope u all can help me ..SOS I installed Supplier-Admin-Area-V0.7. I follow actually all the instruction in install.txt but just not sure about how to edit configure.php in supplier/includes: when i acess : http://www.1yahoostore.com/catalog/supplie...pplier_area.php it show blank page follwing is my code in configure.php: <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://www.1yahoostore.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.1yahoostore.com/catalog/'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/yahoosto/public_html/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/supplier/'); // absolute path required define('DIR_FS_ADMIN', '/home/yahoosto/public_html/catalog/supplier/); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/yahoosto/public_html/'); // absolute path required define('DIR_WS_IMAGES', '/admin/images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); // define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); // old line define('DIR_WS_CATALOG_IMAGES', '../images/'); define('DIR_WS_INCLUDES', '../admin/includes/'); define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/'); define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/'); define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/'); define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/'); define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/'); define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/'); define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/'); define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/'); define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/'); // define our database connection define('DB_SERVER', 'localhost'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'username'); define('DB_SERVER_PASSWORD', 'lpass'); define('DB_DATABASE', 'db'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> i installed OSC at http://www.1yahoostore.com/catalog i installed supplier at http://www.1yahoostore.com/catalog/supplier CAN ANYONE HELP ME : SOS :( Quote Link to comment Share on other sites More sharing options...
lvanderb Posted April 18, 2006 Share Posted April 18, 2006 Hi, Can I suggest you change the following lines? define('DIR_WS_ADMIN', '/supplier/'); // absolute path required define('DIR_FS_ADMIN', '/home/yahoosto/public_html/catalog/supplier/); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/home/yahoosto/public_html/'); // absolute path required define('DIR_WS_IMAGES', '/admin/images/'); to define('DIR_WS_ADMIN', '/catalog/supplier/'); // absolute path required define('DIR_FS_ADMIN', '/home/yahoosto/public_html/catalog/supplier/); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/home/yahoosto/public_html/catalog/'); // absolute path required define('DIR_WS_IMAGES', '/catalog/admin/images/'); That's assuming your admin path is /catalog/admin. Hope that helps Linda Quote Link to comment Share on other sites More sharing options...
marcellosales Posted April 18, 2006 Share Posted April 18, 2006 This contribution is a good step to transform OsCommerce into a nice open-source enterprise application... Congratulations!!!! I want to contribute to this, since I really need it... so, I'd like to know the development stage this moment because I have a few problems with my installation. We could open a bugzilla place with the problems to be solved and we could contribute from the website, fix the problems together without the need of duplication of work. So, I got the following problems and requirements for the V1.0, besides the requirements stated by the creator. I installed this contribution and things that need to be fixed/contributed are: 1. Why there are 2 columns in the products table suppliers_id, supplier_id??? 2. Manufacturers list does not appear. Include the list on the create new product area; 2.a Let the supplier create and delete their own manufacturer on the main list. (create a relation between manufacturers and suppliers too) 3. Create a section or an infobox for the featured suppliers on the website. It can be through the use of their manufacturers or products... Like featured products of the day etc. Thanks! Quote Marcello Sales Software Systems Architect Computer Science Link to comment Share on other sites More sharing options...
marcellosales Posted April 18, 2006 Share Posted April 18, 2006 I cannot create the product with the image When I create a product using the suppliers section :( the image is created like /tmp/phpIxluW4... any solution? Quote Marcello Sales Software Systems Architect Computer Science Link to comment Share on other sites More sharing options...
lvanderb Posted April 18, 2006 Share Posted April 18, 2006 I cannot create the product with the image When I create a product using the suppliers section :( the image is created like /tmp/phpIxluW4... any solution? What version of osCommerce are you using? Do you have any image mods implemented? are you getting any errors? Linda Quote Link to comment Share on other sites More sharing options...
marcellosales Posted April 18, 2006 Share Posted April 18, 2006 I cannot create the product with the image When I create a product using the suppliers section :( the image is created like /tmp/phpIxluW4... any solution? I found the cause. Just add the following on the configure.php define('HTML_AREA_WYSIWYG_DISABLE','Disable'); Thanks for whom analyzed! Quote Marcello Sales Software Systems Architect Computer Science Link to comment Share on other sites More sharing options...
marcellosales Posted April 18, 2006 Share Posted April 18, 2006 (edited) Creating a new product the date is created as 0000-00-00 00:00:00 The following lines does not update the date of the addition of the product, once the $insert_sql_data array is being redefined on the second line... Find the code on supplier_s_categories_products.php if ($action == 'insert_product') { $insert_sql_data = array('products_date_added' => 'now()'); $insert_sql_data = array('suppliers_id' => $suppliers_id); Change it to if ($action == 'insert_product') { $insert_sql_data = array('products_date_added' => 'now()', 'suppliers_id' => $suppliers_id); :thumbsup: Edited April 18, 2006 by marcellosales Quote Marcello Sales Software Systems Architect Computer Science Link to comment Share on other sites More sharing options...
marcellosales Posted April 18, 2006 Share Posted April 18, 2006 Delete a junk "?>" code that shows on the page supplier_s_categories_products.php </table> ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> :thumbsup: Quote Marcello Sales Software Systems Architect Computer Science Link to comment Share on other sites More sharing options...
tom@nexme.com Posted April 23, 2006 Share Posted April 23, 2006 hi! Linda thk you for trying to help my store locate at : http://www.1yahoostore.com/catalog/ admin: http://www.1yahoostore.com/catalog/admin supplier http://www.1yahoostore.com/catalog/supplier i hv try ur sugguestion , but still hv a blank page at : http://www.1yahoostore.com/catalog/supplie...pplier_area.php Is there possible because of other problem , no the congfigure.php problem. I been try to solve the problem for the pass 2 weeks Quote Link to comment Share on other sites More sharing options...
tom@nexme.com Posted April 23, 2006 Share Posted April 23, 2006 hi!Rezolles , where i can find the "how to install the admin login page" at contribution too ? Quote Link to comment Share on other sites More sharing options...
DarcMaster Posted May 23, 2006 Share Posted May 23, 2006 Hi all, Bit of a newbie to Oscommerce but learning fast. Have just tried to install the supplier module and have had mixed results. I can get to the http://www.your-domain.com/catalog/supplie...pplier_area.php area ok. However, I understand there should also be an area to add the suppliers and configure. There doesn't seem to be any icon to login and administer the suppliers. I am not sure where this should appear? I assume the icon would be visible in the http://www.your-domain.com/catalog/admin area, but no luck. Any suggestions? If it should be appearing somewhere in the admin area can you tell my what files a should be focusing on? Instructions as per download - Once installed you will have a supplier box in the left admin menu where you add new suppliers, select there markup % and also which categories they can add products too. Many thanks Darcy :) Quote Link to comment 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.