BUG Wake up calls broke FreePBX - how to remove?

Joined
May 22, 2013
Messages
301
Reaction score
44
As you may know from recent posts I have had problems with Asterisk 11.12 so decided to risk using the WakeUp Call beta module. I installed it and now get a blank page when I try to access FreePBX.

I tried to uninstall it using these instructions:

https://github.com/POSSA/Hotel-Style-Wakeup-Calls/tree/3.0

But get this message:
Code:
PHP Fatal error:  Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of hotelwakeup_deleterow(). in /var/www/html/admin/modules/hotelwakeup/functions.inc.php on line 312

Any help please?!!! Aargh! :(
 
Joined
May 22, 2013
Messages
301
Reaction score
44
Phew, thanks Lorne deleting that directory fixed it. Could have found some really useful info though that may give you an idea why it's causing problems on latest versions of Asterisk and why I don't get a change/delete option on a selected wake-up call on 11.12.0:

Code:
root@incrediblepbx:/var/www/html/admin/modules/hotelwakeup# amportal a ma uninstall hotelwakeup

Please wait...

PHP Fatal error:  Call-time pass-by-reference has been removed; If you would like to pass argument by reference, modify the declaration of hotelwakeup_deleterow(). in /var/www/html/admin/modules/hotelwakeup/functions.inc.php on line 312
root@incrediblepbx:/var/www/html/admin/modules/hotelwakeup#
 
Joined
May 22, 2013
Messages
301
Reaction score
44
Now hit another problem, trying to reinstall 2.11.3 module.
Code:
root@incrediblepbx:~# amportal a ma install hotelwakeup

Please wait...

Installing Hotel Style Wake Up Calls
[FATAL] Can not remove column id-cfg: DB Error: syntax error 

Trace Back:

/var/www/html/admin/modules/hotelwakeup/install.php:84 die_freepbx()
 [0]: Can not remove column id-cfg: DB Error: syntax error

/var/www/html/admin/libraries/module.functions.php:1598 include_once()
 [0]: /var/www/html/admin/modules/hotelwakeup/install.php

/var/www/html/admin/libraries/module.functions.php:1565 _modules_doinclude()
 [0]: /var/www/html/admin/modules/hotelwakeup/install.php
 [1]: hotelwakeup

/var/www/html/admin/libraries/module.functions.php:1164 _module_runscripts()
 [0]: hotelwakeup
 [1]: install
 [2]: 

/var/lib/asterisk/bin/module_admin:61 module_install()
 [0]: hotelwakeup
 [1]: 

/var/lib/asterisk/bin/module_admin:716 doInstall()
 [0]: hotelwakeup
 [1]: 

root@incrediblepbx:~#

Any thoughts please?
 
Joined
May 22, 2013
Messages
301
Reaction score
44
Wakeup calls is a bit of a PITA at the moment. In addition to the issues you noted with Asterisk 11.12.x, there are known issues with the beta version and recent versions of PHP.

That's the problem with your module being in great demand ;) but yes I sense it's a PITA too, I'd like to get any version up and running though now - guess it's my fault for tinkering here.
 
Joined
May 22, 2013
Messages
301
Reaction score
44
Thanks, I had to drop both hotelwakeup_calls and hotelwakeup but that's worked.
 

Members online

Forum statistics

Threads
25,811
Messages
167,759
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top