Waza04 Posted February 7, 2003 Share Posted February 7, 2003 Hiya All, Can anybody tell me if there are any mods out there that will let me controll my catalog colums from the admin. So that when I want to add someting or move something, I dont need to edit any files. Thanks, Warren Aschroft Quote Link to comment Share on other sites More sharing options...
Guest Posted February 7, 2003 Share Posted February 7, 2003 Hmmm, ya suppose the contribution called "column controller" might be of some benefit? ;) http://www.oscommerce.com/community/contri...ions,169/page,3 Quote Link to comment Share on other sites More sharing options...
Waza04 Posted February 8, 2003 Author Share Posted February 8, 2003 Hiya All, I have just installed it, but now whenever I click on it in the tools box, It just send me to the GZIP page. I have checked application top and box files aswell. Im using 2.2 Can anybody tell me what the matter is? Thanks, Warren Ashcroft Quote Link to comment Share on other sites More sharing options...
Waza04 Posted February 8, 2003 Author Share Posted February 8, 2003 I just can not find out what is wrong!! Come on guys - You must know!! Quote Link to comment Share on other sites More sharing options...
Waza04 Posted February 9, 2003 Author Share Posted February 9, 2003 Anybody? Quote Link to comment Share on other sites More sharing options...
codefumbler Posted February 10, 2003 Share Posted February 10, 2003 I think this is to do with the database changes to the table configuration_group. The value 14 for configuration_group_id is already in use by GZip Compression. I imagine that the contribution was written before this was added to the OSC snapshot. I would try the following: (back up everything first) 1) reverse out of your changes to the database (if you can't do this it might be easier to manually update as outlined below) 2) modify the first line of column_controller.sql in a text editor and change the number 14 to 15. (make sure you use a pure text editor - not MSword etc.) 3) modify the rest of the lines in column_controller.sql to change the 14 to 15 (it should be clear what to change - it is the fifth value in each line) 4) re-run database update If not - you could just manually alter the appropriate values by editing the tables configuration and configuration_group using phpMyAdmin. you only need to change the configuration_group_id for column controller in the configuration_group table to 15 and then the configuration_group_id in the configuration table to 15 for those records associated with Column Controller. Reading column_controller.sql will show which records to change. I seem to have made it sound confusing - but its logical if you read it a couple of times. I hope this helps Quote Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2003 Share Posted February 20, 2003 I'm having the same problems. I did edit the sql file and added it via PHPMyAdmin. The database seems to correctly list 15 as the controller id, so I'm not sure what's going on. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2003 Share Posted February 20, 2003 I just did a dirty hack and it seems to be working. I'm not completely sure what's going on, but until I find a better way, this is what I did - and it's only one line change... in admin/includes/application_top.php change: define('FILENAME_COLUMN_CONTROLLER', 'column_controller.php'); // added for column controller define('FILENAME_COLUMN_CONTROLLER', 'configuration.php?gID=15'); // added for column controller If anyone has any idea why this needed to be changed I'd love to hear. Quote Link to comment Share on other sites More sharing options...
Guest Posted February 20, 2003 Share Posted February 20, 2003 I just did a dirty hack and it seems to be working. I'm not completely sure what's going on, but until I find a better way, this is what I did - and it's only one line change... in admin/includes/application_top.php change: define('FILENAME_COLUMN_CONTROLLER', 'column_controller.php'); // added for column controller define('FILENAME_COLUMN_CONTROLLER', 'configuration.php?gID=15'); // added for column controller If anyone has any idea why this needed to be changed I'd love to hear. Thank you to Katrina Cornell for fixing my dirty hack. Ignore the above. It seems that all you have to do is open admin/column_controller.php in an editor and change the 14s to 15s. Quote Link to comment Share on other sites More sharing options...
bill1282 Posted July 2, 2003 Share Posted July 2, 2003 I replaced all the 14 with 15 (I was getting GZip Compression) in the admin/column_controller.php for use of column Controller and now I am getting the session controls any Ideas? Thank you Bill Quote Link to comment Share on other sites More sharing options...
Han Posted September 11, 2003 Share Posted September 11, 2003 I succefully imported sql. file with id changed to 16. Also changed in column_controller.php all 14 to 16. But when trying Column controller in Admin (under Tools) getting the message: Fatal error: Call to undefined function: tep_merge_array() in W:wwwcatalogsiteadmincolumn_controller.php on line 96 In line 96 is: $cInfo_array = tep_merge_array($configuration, $cfg_extra); Any ideas???? Thanks Quote Link to comment Share on other sites More sharing options...
packerblood Posted October 4, 2003 Share Posted October 4, 2003 Anyone figure this one out yet? I did the same thing as Han and am getting the same error. Quote Link to comment Share on other sites More sharing options...
radders Posted October 4, 2003 Share Posted October 4, 2003 Isn't this the same thing that keeps coming up in other threads? Try it without the 'tep_' prefix as this no longer exists in MS2 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.
Note: Your post will require moderator approval before it will be visible.