Totally Zenned
- Join Date:
- Jan 2009
- Posts:
- 2,085
- Plugin Contributions:
- 0
Post #21 by limelites
I tried to install the mod once more and it's stopped messing up my layout. However, instead of doing what it's supposed to be doing, I just get this message:
if ($products_attributes->fields['total'] > 1) { $products_id=(preg_match("/^\d{1,10}({\d{1,10}}\d{1,10})$/",$_GET['products_id']) ? $GET['products_id'] : (int)$GET['products_id']); require(DIR_WS_CLASSES . 'pad' . PRODINFO_ATTRIBUTE_PLUGIN_MULTI . '.php'); $class = 'pad' . PRODINFO_ATTRIBUTE_PLUGIN_MULTI; $pad = new $class($products_id); echo $pad->draw(); } elseif ($products_attributes->fields['total'] > 0) { $products_id=(preg_match("/^\d{1,10}({\d{1,10}}\d{1,10})$/",$_GET['products_id']) ? $GET['products_id'] : (int)$GET['products_id']); require(DIR_WS_CLASSES . 'pad' . PRODINFO_ATTRIBUTE_PLUGIN_SINGLE . '.php'); $class = 'pad' . PRODINFO_ATTRIBUTE_PLUGIN_SINGLE; $pad = new $class($products_id); echo $pad->draw(); } ?>
Don't suppose you have any idea why I'm getting this message as opposed to the dynamic drop down for stock by attributes?
I merged my two tpl_modules_attributes.php using WinMerge this time, however I get the same error, even if I use the tpl_modules_attributes.php that shipped with the MOD. Only thing that takes this error code away is reinstating my original tpl_modules_attributes.php
Is there perhaps something wrong with the install.sql?
Any help greatly appreciated.