day2 Posted August 24, 2008 Share Posted August 24, 2008 Findings: Apparently the supplier ID in the admin are referring to Group ID in the supplier table. No 1, i donno what this group ID for No 2, it can't be altered. I changed it in the admin page to 1, when saved it and reopen, it will still reflect as 0. Even if i edit the group ID in database to "1", the admin page will show one. But once you reopen to edit and save it, it will automatically change back to 0. Problem!! i tried to insert a new supplier, it will still reflect as 0 for both suppliers. :angry: Quote Link to comment Share on other sites More sharing options...
levitor Posted November 16, 2008 Share Posted November 16, 2008 Hi to all, I have the same problem that day2. I think this contribution is very usefull and interesting, but it must to engine. Please, if somebody can solve it soon... My congratulatios to Rochdalemark and I hope that he can help us. Thank you. Quote Link to comment Share on other sites More sharing options...
j2r-info Posted February 19, 2009 Share Posted February 19, 2009 Hi everybody, I'm a new user of oscommerce and i've discoved this amazing contribution "Supplier Admin Area" I 've installed this in my test store and have some little problems. I'm using • STS (simple template system), installed ok ! • RMA_Returns_2-6, installed ok ! • Send HTML Email V2_1, installed ok ! and the last one, supplier admin area. When I type : http://www.ibanson.com/boutique/supplier/supplier_area.php I see the login box and have above Warning: main(includes/functions/refund_functions.php) [function.main]: failed to open stream: No such file or directory in /homepages/40/d232138210/htdocs/boutique/admin/includes/functions/general.php on line 1307 Warning: main() [function.include]: Failed opening 'includes/functions/refund_functions.php' for inclusion (include_path='.:/usr/lib/php') in /homepages/40/d232138210/htdocs/boutique/admin/includes/functions/general.php on line 1307 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /homepages/40/d232138210/htdocs/boutique/admin/includes/functions/general.php:1307) in /homepages/40/d232138210/htdocs/boutique/admin/includes/functions/sessions.php on line 97 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/40/d232138210/htdocs/boutique/admin/includes/functions/general.php:1307) in /homepages/40/d232138210/htdocs/boutique/admin/includes/functions/sessions.php on line 97 When I type : http://www.ibanson.com/boutique/supplier_area.php i got the loginbox without errors but no possibilities to log in and resend me a blank page ?? here is my configuration.php code : <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 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.ibanson.com/boutique/'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.ibanson.com/boutique/'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/homepages/40/d232138210/htdocs/boutique/'); // where the pages are located on the server define('DIR_WS_ADMIN', 'supplier/'); // absolute path required define('DIR_FS_ADMIN', '/homepages/40/d232138210/htdocs/boutique/supplier/'); // absolute pate required define('DIR_WS_CATALOG', 'catalog/'); // absolute path required define('DIR_FS_CATALOG', '/homepages/40/d232138210/htdocs/boutique/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/'); // define our database connection define('DB_SERVER', 'dbxxxx.perfora.net'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'dbo2770xxxxx'); define('DB_SERVER_PASSWORD', 'Mhxxxx5'); define('DB_DATABASE', 'db277xxxxxx'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' ?> Could you help me please ? Quote Link to comment Share on other sites More sharing options...
Guest Posted May 25, 2009 Share Posted May 25, 2009 i have installed the suppliers admin 07b and i havea slight problem. i am wondering if anyone can help me. when the suplier logs into the supplier admin at http://www.balisticmobile.com/supplier/supplier_area.php for every catagorey i set for the customer it shows 2 blank ones. does any one have a soultion for this problem. look if you like. username = test password=test any help would be greatly appericated thanks guys. great work on this one Quote Link to comment Share on other sites More sharing options...
kenjidd Posted May 26, 2009 Share Posted May 26, 2009 Hi guys ! great contrib, thanks a lot ! I just have 2 questions. 1) Is someone can tell me how to modify code in supplier_s_statistic.php, in order there is ONLY the product of the supplier (or the manufacturer, cause in my shop they are the same ! ) could be display. I don't want supplier can see the statistic of the others. Only his result ! 2) I tryed a lot of changement in configure.php ... but i still can't fix my pbm. I don't have access to my images. I means the scr is good, but images can't display. ( images and buttons ) in all supplier_files.php. But in my shop everything's great... pictures are display ! any clues ????????? Thanks Quote Link to comment Share on other sites More sharing options...
esquivel25 Posted September 22, 2009 Share Posted September 22, 2009 Hi, I just installed the supplier admin using the latest version on OSc 2.2 and need some help here; http://www.mydomain.com/store/supplier/supplier_area.php At the log in page, i entered the user and password and was accepted, but it doesn't redirect me to the next page, where the log in page stay still. Any idea what has gone wrong?? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
web-project Posted October 24, 2009 Share Posted October 24, 2009 (edited) after fixing the issue with incorrect session setup, great contribution. Edited October 24, 2009 by web-project newosc 1 Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
web-project Posted October 27, 2009 Share Posted October 27, 2009 I have updated few issues in whole module, but I have also discovered the following: The stats arent working properly If an item is bought 3 times on an order, in the supplier stats it only shows one was bought. newosc 1 Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
web-project Posted October 28, 2009 Share Posted October 28, 2009 I have updated few issues in whole module, but I have also discovered the following: The stats arent working properly If an item is bought 3 times on an order, in the supplier stats it only shows one was bought. I have updated this issue, you can find the new version 1.2 of module. newosc 1 Quote Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you. Link to comment Share on other sites More sharing options...
day2 Posted October 28, 2009 Share Posted October 28, 2009 Cool , does it work OSC 2.2RC2a version?? or still remain for 2.2 version as stated in the contribution page?? newosc 1 Quote Link to comment Share on other sites More sharing options...
Zane86 Posted October 30, 2009 Share Posted October 30, 2009 I have some issues with this add on. I can logg in as a supplyer, however, when i click one of the four liks that shows (Categories/Products for example) i get the following message: The page you were looking for doesn't exist. You may have mistyped the address or the page may have moved. It is being automaticly redirected to att strange URL wich starts with http://www.yeah.com/catalog/supplier/supplier_s_categories_products.php?.....and.so.on..... Could anyone please help me? Quote Link to comment Share on other sites More sharing options...
Zane86 Posted October 30, 2009 Share Posted October 30, 2009 Never mind. Think i got it! Quote Link to comment Share on other sites More sharing options...
Zane86 Posted October 30, 2009 Share Posted October 30, 2009 (edited) But i got a new problem. My pictures wont work. It says it is this URL: http://www.XXXXXX.com/admin/images/categories/supplier.gif But the right URL should be http://www.XXXXXX.com/testsite/admin/images/categories/supplier.gif Anyone know what the problem could be. This is my /testsite/supplier/includes/configure.php file <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.XXXXXX.com/testsite/'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.XXXXXX.com/testsite/'); define('HTTPS_CATALOG_SERVER', '/testsite/'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/customers/XXXXXX.com/XXXXXX.com/httpd.www/testsite/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_S_ADMIN', '/admin/'); define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_FS_S_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_S_ADMIN); // define our Catalog path / or /catalog/ define('DIR_WS_CATALOG', ''); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', DIR_WS_ADMIN . 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN . 'includes/'); define('DIR_WS_SUPPLIER_INCLUDES', DIR_FS_DOCUMENT_ROOT . DIR_WS_S_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'); define('DB_SERVER_USERNAME', 'xxxxx'); define('DB_SERVER_PASSWORD', 'xxxxxx'); define('DB_DATABASE', 'xxxxx'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Edited October 30, 2009 by Zane86 Quote Link to comment Share on other sites More sharing options...
erzincanli Posted October 31, 2009 Share Posted October 31, 2009 Hello product delete not full ok add product ok but product delete no Please help.... Quote Link to comment Share on other sites More sharing options...
erzincanli Posted November 2, 2009 Share Posted November 2, 2009 Hello product delete not full ok add product ok but product delete no Please help.... ok no problem echo tep_hide_session_id() . '</form>'; error echo '</form>'; ok Quote Link to comment Share on other sites More sharing options...
Zane86 Posted November 2, 2009 Share Posted November 2, 2009 In some strange way, all my image-url and language-url's (and so on) gets a strange adress. Anyone know why? I get this: http://www.your-domain.se/catalog/supplier/admin/images/categories/supplier.gif But the right one should be: http://www.your-domain.se/catalog/admin/images/categories/supplier.gif In other words: WHY does it add "supplier/" in the URL? This is my "catalog/supplier/includes/configure.php-file" <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', 'http://www.your-domain.se/catalog/'); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', 'http://www.your-domain.se/catalog/'); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/customers/your-domain.se/your-domain.se/httpd.www/catalog/'); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_S_ADMIN', ''); define('DIR_WS_ADMIN', 'admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_FS_S_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_S_ADMIN); // define our Catalog path / or /catalog/ define('DIR_WS_CATALOG', ''); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); define('DIR_WS_IMAGES', DIR_WS_ADMIN . 'images/'); define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/'); define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/'); define('DIR_WS_INCLUDES', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN . 'includes/'); define('DIR_WS_SUPPLIER_INCLUDES', DIR_FS_DOCUMENT_ROOT . DIR_WS_S_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'); define('DB_SERVER_USERNAME', 'user'); define('DB_SERVER_PASSWORD', 'password'); define('DB_DATABASE', 'databesename'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', 'mysql'); ?> Hope anyone can help me with this problem. Quote Link to comment Share on other sites More sharing options...
gameznet Posted November 3, 2009 Share Posted November 3, 2009 Is this contrib still being developed/supported? I have just installed it but there seems to be several issues. when adding a new supplier via Admin -> Supplier Admin -> Suppliers it seems to be mixed up with info from the manufactures tables. When I check the suppliers table in phpmyadmin I see it has the correct info but the suppliersadmin.php is not displaying the correct info Eg: it is not sshowing the new suppliers ID, (all suppliers show an id of 0 despite setting them as somthing other) and it seems to be getting some information from an existing manufacture such as displaying a manufactures URL for the ID number rather than a new url that I try and add, So it is getting the given ID and information from the manufactures tables not the suppliers_info table. Do I need to do a "find and replace" of "manufactures" to "suppliers" in the suppliersadmin.php or somthing similar? Quote Link to comment Share on other sites More sharing options...
erzincanli Posted November 3, 2009 Share Posted November 3, 2009 Hello system ok but No distinction in order suppliers. So see, all orders are suppliers. only the product of their own well göremezlermi orders? respects ... Quote Link to comment Share on other sites More sharing options...
iridium_cop Posted November 24, 2009 Share Posted November 24, 2009 (edited) Hi all, i have a BIG problem cause i dont know why, my supplier area dont shows.. sorry for my english. When i log with a newmember user, show this fucked window !!!! :angry: arrhh why? where is the other parts.. :'( PLEASE help me. Thanks, Juan Edited November 24, 2009 by iridium_cop Quote Link to comment Share on other sites More sharing options...
miqmoham Posted November 25, 2009 Share Posted November 25, 2009 (edited) Hi Rochdalemark, I have just install supplier admin on my oscommerce shop, however the installation is not successful. I add all files and modify other as accordingly but when I run supplier-admin-area-sql.sql from my supplier database from cpanel. It showing this error: Error SQL query: -- -- Dumping data for table `suppliers_products_groups` -- -- -- Table structure for the table 'categories' -- ALTER TABLE `categories` ADD COLUMN `supplier_id` tinyint( 4 ) NOT NULL default '0'; MySQL said: #1146 - Table 'database_supplier.categories' doesn't exist please help me out of this problem Edited November 25, 2009 by miqmoham Quote Link to comment Share on other sites More sharing options...
iridium_cop Posted November 27, 2009 Share Posted November 27, 2009 Hello system ok but No distinction in order suppliers. So see, all orders are suppliers. only the product of their own well göremezlermi orders? respects ... Hi, my suppliers area dont works, but i read in another posts you have to hidden prodducts of others suppliers, no? or anything like this. Quote Link to comment Share on other sites More sharing options...
Terminum Posted December 3, 2009 Share Posted December 3, 2009 Hi, thanks for making this great contribution, but I haven't been able to get it working yet. I have followed the installation instructions, but I get the following error when I login to the admin tool: Fatal error: Cannot redeclare do_magic_quotes_gpc() (previously declared in /home/content/j/u/k/jukebots/html/intuna/admin/includes/functions/compatibility.php:18) in /home/content/j/u/k/jukebots/html/intuna/admin/includes/functions/compatibility.php on line 30 I do not have and other contributions installed and I'm using osC version 2.2rc2a. Thanks Quote Link to comment Share on other sites More sharing options...
Terminum Posted December 3, 2009 Share Posted December 3, 2009 (edited) Sorry for double-posting, but it wouldn't let me edit the last post for some reason. There are few things missing in the installation instructions: There are files you have to add from the contrib file to your admin folder. One of these is functions/html_output. Do not replace the file if you are using version 2.2rc2a. Instead, copy the single function it contains and put it at the end of the existing html_output right before the closing php tag. There is one more problem I'm having. When I create a supplier in the admin section, it saves it but does not save an ID number. Also, I cannot log in as the supplier. The installation sql ran successfully and everything else looks fine so I'm not sure what the deal is. Edited December 3, 2009 by Terminum Quote Link to comment Share on other sites More sharing options...
Terminum Posted December 4, 2009 Share Posted December 4, 2009 (edited) To make the suppliers_group_id work, find the following code in admin/suppliersadmin.php case 'save': if (isset($HTTP_GET_VARS['hID'])) $suppliers_id = tep_db_prepare_input($HTTP_GET_VARS['hID']); $suppliers_group_name = tep_db_prepare_input($HTTP_POST_VARS['suppliers_group_name']); $suppliers_percentage = tep_db_prepare_input($HTTP_POST_VARS['suppliers_percentage']); $suppliers_name_login = tep_db_prepare_input($HTTP_POST_VARS['suppliers_name_login']); $suppliers_password = tep_db_prepare_input($HTTP_POST_VARS['suppliers_password']); Right below it, add: $suppliers_group_id = tep_db_prepare_input($HTTP_POST_VARS['suppliers_group_id']); Although I'm still not sure what suppliers_group_id does :P Edited December 4, 2009 by Terminum Quote Link to comment Share on other sites More sharing options...
Terminum Posted December 7, 2009 Share Posted December 7, 2009 I've tried installing this twice now and haven't been able to get it working. If anyone has successfully installed this contribution, can you please post your supplier_area_top.php? I'm still unable to login as a supplier. I'm having the same problem others have mentioned - the login page just refreshes when I hit the submit button. 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.