Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Call to undefined method hooks::register_page


Fiber

Recommended Posts

Posted

Hi all, I have a testshop online version phoenix 1.5.0 and I want to update, but local with xampp frontend is all good but I cant login, I getting this error local php version = 7.3.13, online is 7.3.15

Fatal error: Uncaught Error: Call to undefined method hooks::register_page() in E:\xampp\htdocs\osc\adminxxx\includes\application_top.php:227 Stack trace: #0 E:\xampp\htdocs\osc\adminxxx\index.php(13): require() #1 {main} thrown in E:\xampp\htdocs\osc\adminxxx\includes\application_top.php on line 227

 

Posted

You need to get the new hooks file.  Also be sure that you are using the latest admin/includes/application_top.php and autoloader files. 

Gary hasn't posted the update instructions for 1.0.5.0 in the Bootstrap forum yet.  Until then, you might find it easier to update if you join the Phoenix Club. 

Always back up before making changes.

Posted

Hi thnx for youre reply I am on 1.0.5.0 already online, but I want to work local much easier, so i download the directory to my pc and edit ofcourse the 2 config files and import the db..frontend is good but when i want login, in admin i get the error, i think why not online the error, only local? Yes sure i i am already in the club and the update to 10.5.0 was only a version nr if i remember it good.

Posted

That's a bug in 1.0.5.0.  Please delete (around line 48 of admin/includes/application_top.php ) :

  require DIR_FS_CATALOG . 'includes/classes/hooks.php';

 

Always back up before making changes.

Posted

Error is stil the same, when I look by the online version is the require still there, so strange online is good and local showing the Fatal error: Uncaught Error: Call to undefined method hooks::register_page()

Posted

pfff found it admin configure.php define was not good('DIR_WS_CATALOG', '/was_wrong/'); bah.bah 🙂 again a few hours of my life that I can't get back.

Thnx for you're reply's anyway

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...