kimberly333 Posted November 25, 2006 Posted November 25, 2006 i've searched extensively but can't find a solution. help or redirection appreciated! in store admin. under modules - payment area...getting this error. Fatal error: Call to undefined function: check() in /hsphere/local/home/kmberly3/eweie.com/admin/modules.php on line 133 also the left side menu thingy is missing (w/opt. install,edit, etc.) this is the portion of code it calls to $class = substr($file, 0, strrpos($file, '.')); if (tep_class_exists($class)) { $module = new $class; [b] if ($module->check() > 0) {[/b] if ($module->sort_order > 0) { $installed_modules[$module->sort_order] = $file; } else { $installed_modules[] = $file; } } i've checked it against the virgin modules.php & the ipn version, and run it through "tidy", and scoured google, but :'( i'm lost! not sure if i've inclded enough info?!? hoping. thanx
mtechama Posted November 25, 2006 Posted November 25, 2006 ok change this: $class = substr($file, 0, strrpos($file, '.')); if (tep_class_exists($class)) { $module = new $class; [b] if ($module->check() > 0) {[/b] if ($module->sort_order > 0) { $installed_modules[$module->sort_order] = $file; } else { $installed_modules[] = $file; } } to this: $class = substr($file, 0, strrpos($file, '.')); if (tep_class_exists($class)) { $module = new $class; if ($module->check() > 0) { if ($module->sort_order > 0) { $installed_modules[$module->sort_order] = $file; } else { $installed_modules[] = $file; } } That should fix the error. Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
kimberly333 Posted November 25, 2006 Author Posted November 25, 2006 :blush: you are sweet to have taken the time to help!!! i truly appreciate it! i was so excited to get a reply :D small problem though...my bad. just assuming since the code is identical, except for the tags....... i tried to put line 133 in bold text. (which didn't work), and think you might have thought that was the problem. still...thank you for your time just the same!!!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.