clinart Posted April 16, 2007 Posted April 16, 2007 After installing the Additional Images contribution, I get the following error when trying to administer Products Attributes: Fatal error: Call to undefined function link_get_variable() in /blahblah/admin/products_attributes.php on line 18 The offending code is this: // >>> BEGIN REGISTER_GLOBALS // These variables are accessed directly rather than through $HTTP_GET_VARS or $_GET later in this script [b]link_get_variable('option_page'); //this seems to be the problem[/b] link_get_variable('value_page'); link_get_variable('attribute_page'); // <<< END REGISTER_GLOBALS $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); if (tep_not_null($action)) { $page_info = ''; if (isset($HTTP_GET_VARS['option_page'])) $page_info .= 'option_page=' . $HTTP_GET_VARS['option_page'] . '&'; if (isset($HTTP_GET_VARS['value_page'])) $page_info .= 'value_page=' . $HTTP_GET_VARS['value_page'] . '&'; if (isset($HTTP_GET_VARS['attribute_page'])) $page_info .= 'attribute_page=' . $HTTP_GET_VARS['attribute_page'] . '&'; if (tep_not_null($page_info)) { $page_info = substr($page_info, 0, -1); I'm at a total loss to explain this. Any php wizards have any ideas?
clinart Posted April 16, 2007 Author Posted April 16, 2007 Sorry for the bump, but I have no idea why this happened and could really use some help. Thanks.
clinart Posted April 17, 2007 Author Posted April 17, 2007 One more bump -- sorry. If anybody can help with this, it would be greatly appreciated. Has anyone gotten the Additional Images contrib working with register_globals off? My client really needs the add'l images b/c they paid a lot for the pics. At the same time, I don't want to open up the register_globals security can of worms. This is very frustrating and I'm at a total loss to explain what's going on.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.