Phonebook fails after FOP Framework update to 2.8.0.6
First of all, FOP2 is a great tool, gratz for that, we appreciate it a lot. Its been working perfectly for a couple of days.
After a Fop Framework update to version 2.8.0.6 via the FreePBX Module Admin the Phonebook stopped working. Which means clicking on the phonebook button in the top right opens a popup without content, no progress bar or sth, not even an error message after waiting for a couple of minutes, just the "close" button at the bottom works.
Unfortunately I cannot downgrade the FOP Framework via the Module Admin. The only benefit that update brought was that FOP1 works correct now (did not update when new sip clients registered, so we only saw our four testphones registered from the beginning, is running on port 4446 by the way)
So far my debugging:
- fop2_server --test says everything is ok
- mysql -u fop2 --database=fop2 -pXXXXX -e "desc visual_phonebook" works fine
- the mysql query log does not get any queries when opening the phonebook in the gui
- fop2_server --debugLevel=5 did not provide any helpful information
Any help welcome, I'm kinda stuck on this one
After a Fop Framework update to version 2.8.0.6 via the FreePBX Module Admin the Phonebook stopped working. Which means clicking on the phonebook button in the top right opens a popup without content, no progress bar or sth, not even an error message after waiting for a couple of minutes, just the "close" button at the bottom works.
Unfortunately I cannot downgrade the FOP Framework via the Module Admin. The only benefit that update brought was that FOP1 works correct now (did not update when new sip clients registered, so we only saw our four testphones registered from the beginning, is running on port 4446 by the way)
So far my debugging:
- fop2_server --test says everything is ok
- mysql -u fop2 --database=fop2 -pXXXXX -e "desc visual_phonebook" works fine
- the mysql query log does not get any queries when opening the phonebook in the gui
- fop2_server --debugLevel=5 did not provide any helpful information
Any help welcome, I'm kinda stuck on this one
Comments
Best regards,
notice
/var/www/html/fop2/lib/dblib.php (line 233)
mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource
Also the dropdown below the dial box does not open up.
perhaps you made a symlink in fop2 to panel , in that way, you are sharing the location between fop1 and fop2, and after the update several files where copied over?
If you want to replace /panel with /fop2 the best way is to use an apache alias, as described in the FAQ. That way you can update the fop1 framework without modifying the fop2 files, and every link to fop1 will open up fop2 instead.
Best regards,