zefeena Posted January 19, 2014 Posted January 19, 2014 Hi, I managed to update almost all the files and with the exception of the odd user error all went well Sorry about the size of the text etc. My keyboard does strange things when i'm on the os forum! Essentially only a small amount of code seems to have changed from the orginal, but no matter what i do it creates a parse error, sorry lost it now, but sure it says something about a Function and something unexpected! I've updated pretty much all the files from the update and added in the new ones - just not completed the last one yet includes/modules/header_tags/ht_canonical.php - but i'm fairly sure that will make no difference. Thank you Kellie I cannot however get this file to update Template Modules (1 file) includes/classes/osc_template.php Change buildBlocks() from: function buildBlocks() { global $language; if ( defined('TEMPLATE_BLOCK_GROUPS') && tep_not_null(TEMPLATE_BLOCK_GROUPS) ) { $tbgroups_array = explode(';', TEMPLATE_BLOCK_GROUPS); foreach ($tbgroups_array as $group) { $module_key = 'MODULE_' . strtoupper($group) . '_INSTALLED'; if ( defined($module_key) && tep_not_null(constant($module_key)) ) { $modules_array = explode(';', constant($module_key)); foreach ( $modules_array as $module ) { $class = substr($module, 0, strrpos($module, '.')); if ( !class_exists($class) ) { include(DIR_WS_LANGUAGES . $language . '/modules/' . $group . '/' . $module); include(DIR_WS_MODULES . $group . '/' . $class . '.php'); } $mb = new $class(); if ( $mb->isEnabled() ) { $mb->execute(); } } } } } } to: function buildBlocks() { global $language; if ( defined('TEMPLATE_BLOCK_GROUPS') && tep_not_null(TEMPLATE_BLOCK_GROUPS) ) { $tbgroups_array = explode(';', TEMPLATE_BLOCK_GROUPS); foreach ($tbgroups_array as $group) { $module_key = 'MODULE_' . strtoupper($group) . '_INSTALLED'; if ( defined($module_key) && tep_not_null(constant($module_key)) ) { $modules_array = explode(';', constant($module_key)); foreach ( $modules_array as $module ) { $class = substr($module, 0, strrpos($module, '.')); if ( !class_exists($class) ) { if ( file_exists(DIR_WS_LANGUAGES . $language . '/modules/' . $group . '/' . $module) ) { include(DIR_WS_LANGUAGES . $language . '/modules/' . $group . '/' . $module); } if ( file_exists(DIR_WS_MODULES . $group . '/' . $class . '.php') ) { include(DIR_WS_MODULES . $group . '/' . $class . '.php'); } } if ( class_exists($class) ) { $mb = new $class(); if ( $mb->isEnabled() ) { $mb->execute(); } } } } } } Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help.
Mort-lemur Posted January 19, 2014 Posted January 19, 2014 Can you not simply try downloading includes/classes/osc_template.php from OSC 2.3.3.4 ? and see if that version works? then add in the font items if required? Now running on a fully modded, Mobile Friendly 2.3.4 Store with the Excellent MTS installed - See my profile for the mods installed ..... So much thanks for all the help given along the way by forum members.
zefeena Posted January 20, 2014 Author Posted January 20, 2014 All the font stuff was some crazy goings on with my pc! My keyboard often stops working when I'm on the forum, I have to hammer the keys - at this moment its absolutely fine. Yes I did remove the old file and upload the new one, after a good looking over it seemed that my file was original so it was ok to just upload the new one. Very odd how it didn't work before, seems ok now, (orders arriving!) apart from losing the 'cheque' facility, which may be unrelated! Running a botched up version of osCommerce Online Merchant v2.3.4 bootstrap with the dresscode theme installed, numerous add-ons, terrible coding, terrible website, but will have to make do until I have made up for my losses and can risk shutting down for a couple of weeks while I start all over again. - I did not install my program but am endeavouring to fix it with your help.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.