brough Posted May 6, 2011 Share Posted May 6, 2011 Hi All, Great contribution but I'm having some problems. I've searched the thread and made sure that the tep_merge_array isn't in my code and it's not. But here are the errors I'm getting. Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/tranquilsense/admin/admin_members.php on line 358 Warning: reset() [function.reset]: Passed variable is not an array or object in /var/www/tranquilsense/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /var/www/tranquilsense/admin/includes/classes/object_info.php on line 18 Any help is greatly appreciated! Thanks - Zack I have an identical problem - has anyone found a solution? The same problem is outlined on at least one other EN Oscommerce forum and some foreign language ones too. For instance: http://forums.digitalpoint.com/showthread.php?t=1547680 (not holding breath as this thread is rather old) Quote Link to comment Share on other sites More sharing options...
brough Posted May 6, 2011 Share Posted May 6, 2011 I have an identical problem - has anyone found a solution? The same problem is outlined on at least one other EN Oscommerce forum and some foreign language ones too. For instance: http://forums.digitalpoint.com/showthread.php?t=1547680 (not holding breath as this thread is rather old) Solution: Find $mInfo_array = array_merge($admin, $admin_group); Change to: $mInfo_array = array_merge((array)$admin, (array)$admin_group); do same to two other similar lines Quote Link to comment Share on other sites More sharing options...
steffanih Posted May 27, 2011 Share Posted May 27, 2011 I installed this and did a little customization with the access files on admin_accexx.php so the salespeople would only have access to the admin areas they need to view or update, unfortunately is still granting access to all areas. I have the osCommerce open source Point of Sale contib (http://addons.oscommerce.com/info/3016/v,22) installed versus the The package at www.oscommerce-pos.com. I have altered the accessible files to areas such as reviews.php, faq.php and those sorts of files. When I test using their usernames and passwords, they are still granted access to the entire admin. Can you tell me where or what might be causing these error, so I can correct it? Quote Link to comment Share on other sites More sharing options...
mendoh Posted December 8, 2012 Share Posted December 8, 2012 Hi everybody. I have installed this contribution and apparently everything went smooth except when I try to add a new member to a group of administrators: in this case, I get the following error 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and categories_id=20' at line 1 select categories_name from categories_description where language_id= and categories_id=20 [TEP STOP] I get the following error I have tried to search for previous posts regarding this error but nothing shows up. Other similar posts dealing with the 1064 error either have different description or are not related to this contribution. Anybody has any idea on how to solve this issue? Thanks a lot in advance Mendoh 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.