WebDev

EhPortal => EhPortal Support => Topic started by: ChrisCross on November 26, 2022, 11:49:32 AM

Title: Re-Enable hooks
Post by: ChrisCross on November 26, 2022, 11:49:32 AM
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:
(https://i.imgur.com/7wXup7Q.png)
Title: Re: Re-Enable hooks
Post by: Chen Zhen on November 27, 2022, 11:19:04 PM
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.
Title: Re: Re-Enable hooks
Post by: Chen Zhen on November 27, 2022, 11:30:23 PM

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.
 
EhPortal 1.39.6 © 2024, WebDev