Daily Lucky Numbers:
2
21
22
26
29
35

Re-Enable hooks

Started by ChrisCross, November 26, 2022, 11:49:32 AM

Previous topic - Next topic

ChrisCross

Hi!

I have moved my forums to another domain, and when I try to fix the paths in repair_settings.php i have accidentaly pressed the "Disable All Hooks" button.

Now the site turns "HTTP ERROR 500" and the log says:

[Sat Nov 26 17:23:22.385300 2022] [:error] [pid 21296] [client xx] PHP Fatal error:  Uncaught Error: Call to undefined function sportal_init() in
/var/www/html/forum/Sources/PortalHooks.php:795\nStack trace:\n#0
/var/www/html/forum/Sources/Subs.php(5830): sportal_initialize(Array)\n#1
/var/www/html/forum/index.php(264): call_integration_hook('integrate_pre_l...', Array)\n#2
/var/www/html/forum/index.php(191): smf_main()\n#3 {main}\n
thrown in /var/www/html/forum/Sources/PortalHooks.php on line 795, referer: https://xxx


I have installed EhPortal plugin.

What should I do? Thanks!


Fix_Packages.php:

Chen Zhen

The latest repair_settings tool should allow you to remove the EhPortal hooks.
When you load the settings tool just look to your bottom right for the button to do that.

Chen Zhen


You can also delete all EhPortal packages from your package manager.
Download the attachment, install it & then uninstall it via your package manager.
Clear your error log.

Afterward you can delete that package then download EhPortal anew & install it.