Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Anybody get the Options As Images contribution to work


Fractal

Recommended Posts

Hi,

 

I installed the contribution "Options as Images" and the install seemed to go well accept for this error when I access the configuration section of the admin panel.

 

"Call to undefined function: tep_call_function() in ...www/html/admin/admin/configuration.php on line 83"

 

I guess the configuration.php file is calling this function in the general.php file but the function has been removed in the contributions version of general.php. Is this supposed to happen? Should I add the function back to the file? What does this function do?

 

Here is the link to the contribution for reference.

 

http://www.oscommerce.com/community/contri...tions,94/page,7

 

Any help would be greatly appreciated as I think this is a great way to list products that have varying attributes as it can allow people to customize their products in a graphical manner.

 

Thanks

 

-Fractal

 

btw. Here is the function that has been removed from general.php just in case it helps.

 

function tep_call_function($function, $parameter, $object = '') {

if ($object == '') {

return call_user_func($function, $parameter);

} elseif (PHP_VERSION < 4) {

return call_user_method($function, $object, $parameter);

} else {

return call_user_func(array($object, $function), $parameter);

}

}

Link to comment
Share on other sites

do you have your admin directory under catalog or is it actually admin/admin/....

 

aj

"Of the things we think, say or do:

Is it the TRUTH?

Is it FAIR to all concerned?

Will it build GOODWILL and BETTER FRIENDSHIPS?

Will it be BENEFICIAL to all concerned?"

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...