delickate Posted July 28, 2008 Share Posted July 28, 2008 Hi, I've foloowing error. Warning: implode() [function.implode]: Bad arguments. in general.php any body knows how to solve it? i tried to attach two store with single admin panel. plz help Link to comment https://forums.phpfreaks.com/topic/116968-warning-implode-functionimplode-bad-arguments-in-generalphp/ Share on other sites More sharing options...
Wolphie Posted July 28, 2008 Share Posted July 28, 2008 It'd be useful if you provided some code. Link to comment https://forums.phpfreaks.com/topic/116968-warning-implode-functionimplode-bad-arguments-in-generalphp/#findComment-601540 Share on other sites More sharing options...
TempleDMDKrazd Posted July 28, 2008 Share Posted July 28, 2008 basically, you're calling the function with bad arguments.. string implode(string $glue, array $pieces) for example: $animals = array("Dolphin", "Dog", "Cat"); print "Animals I've seen: " . implode(", ", $animals); Link to comment https://forums.phpfreaks.com/topic/116968-warning-implode-functionimplode-bad-arguments-in-generalphp/#findComment-601544 Share on other sites More sharing options...
delickate Posted July 28, 2008 Author Share Posted July 28, 2008 hi, This error occure when i try the Add-on "separate_price_414 per customer". so there was no of files where i made changes. the complete error is : Warning: implode() [function.implode]: Bad arguments. in C:\wamp\www\osc\catalog\admin\includes\functions\general.php on line 1438 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 ') order by stores_name' at line 1 select stores_id, stores_name, stores_config_table from stores where stores_id in() order by stores_name [TEP STOP] so plz help. how to resolve it. Link to comment https://forums.phpfreaks.com/topic/116968-warning-implode-functionimplode-bad-arguments-in-generalphp/#findComment-601547 Share on other sites More sharing options...
samshel Posted July 28, 2008 Share Posted July 28, 2008 as Wolphie mentioned please paste code... Link to comment https://forums.phpfreaks.com/topic/116968-warning-implode-functionimplode-bad-arguments-in-generalphp/#findComment-601551 Share on other sites More sharing options...
Wolphie Posted July 28, 2008 Share Posted July 28, 2008 Could you please paste the code relevant to that error. I.e. lines 1430 - 1440 and 1060 - 1070 Link to comment https://forums.phpfreaks.com/topic/116968-warning-implode-functionimplode-bad-arguments-in-generalphp/#findComment-601563 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.