Page 1 of 1
User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 8:18 am
by oshonubi
Hello,
I have installed SVN 3763. I can create User Group but whenever I edit the page and submit, the page goes blank, It will retain the creation of the user group, but does not allow edit as it goes blank. Please what could be wrong as I have never experienced it before now.
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 8:21 am
by mflorell
Is there an error in the apache error_log when this happens?
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 8:22 am
by carpenox
I'm guessing you used my auto installer for this correct? Did you check the Apache error logs for clues?
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 8:23 am
by carpenox
I'm going to guess php8 is your problem....
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 8:55 am
by oshonubi
Hello,
Below is the apache error log
[Sun Oct 08 08:16:45.141361 2023] [mpm_event:notice] [pid 204039:tid 204039] AH00492: caught SIGWINCH, shutting down gracefully
[Sun Oct 08 08:16:46.238574 2023] [suexec:notice] [pid 204912:tid 204912] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Sun Oct 08 08:16:46.249463 2023] [lbmethod_heartbeat:notice] [pid 204912:tid 204912] AH02282: No slotmem from mod_heartmonitor
[Sun Oct 08 08:16:46.255090 2023] [mpm_event:notice] [pid 204912:tid 204912] AH00489: Apache/2.4.53 (Rocky Linux) mod_fcgid/2.3.9 configured -- resuming normal operations
[Sun Oct 08 08:16:46.255125 2023] [core:notice] [pid 204912:tid 204912] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Oct 08 08:18:51.019461 2023] [mpm_event:notice] [pid 204912:tid 204912] AH00492: caught SIGWINCH, shutting down gracefully
Not sure this has anything to do with vicidial
I did not use any auto installer. I only extended the documentation of Centos 7 for Rocky Linux 9. I have another instance running fine.
As for the PHP Version, I guess PHP 7.4 has reached end of life that way why I opted to PHP 8.0.
Please let me know your opinion. Is there any potential JavaScript issue?
Thank you
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 9:12 am
by carpenox
Check the logs for php-fpm, I don't believe PHP 8 works correctly with vicidial yet. Also how did you compile dahdi in Rocky 9? Are you sure it's working? Run dahdi_cfg -v
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 9:36 am
by oshonubi
Hello,
Thank you for the response. Here is the php-fpm log below
02-Oct-2023 06:12:23] NOTICE: error log file re-opened
[07-Oct-2023 14:54:06] NOTICE: fpm is running, pid 933
[07-Oct-2023 14:54:06] NOTICE: ready to handle connections
[07-Oct-2023 14:54:06] NOTICE: systemd monitor interval set to 10000ms
For the dahdi, I did a lot of debugging to make it work. If you need the debugged version, I can send it to you. Some files are missing with the Kernel-5* which calls for a replacement of those files and syntaxes.
Here is my dahdi_cfg -vvvvvv response
DAHDI Tools Version - 3.2.0
DAHDI Version: 3.2.0
Echo Canceller(s):
Configuration
======================
Channel map:
0 channels to configure.
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 9:38 am
by carpenox
No I also spent days debugging it, it's used in my auto installer for alma or Rocky 9, I just want aware that anyone else has accomplished this. Good shit, I know the mission you went thru lol. Check the www error log for php-fpm
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 10:31 am
by oshonubi
Hello Carpenox
Thank you for your response.
I think we are getting somewhere
Below are some errors
PHP Warning: Trying to access array offset on value of type null in /var/www/html/vicidial/admin.php on line 7666
PHP Warning: Undefined variable $qc_groups in /var/www/html/vicidial/admin.php on line 7666
PHP Warning: Trying to access array offset on value of type null in /var/www/html/vicidial/admin.php on line 7666
PHP Warning: Undefined variable $short_header in /var/www/html/vicidial/admin_header.php on line 304
PHP Warning: Undefined variable $android_header in /var/www/html/vicidial/admin_header.php on line 389
PHP Warning: Undefined variable $TCedit_javascript in /var/www/html/vicidial/admin_header.php on line 412
PHP Warning: Undefined variable $sh in /var/www/html/vicidial/admin_header.php on line 2283
PHP Warning: Undefined variable $sh in /var/www/html/vicidial/admin_header.php on line 2284
PHP Warning: Undefined variable $sh in /var/www/html/vicidial/admin_header.php on line 2285
PHP Warning: Undefined variable $sh in /var/www/html/vicidial/admin_header.php on line 2286
PHP Warning: Undefined variable $droplist_sh in /var/www/html/vicidial/admin_header.php on line 2607
PHP Warning: Undefined variable $times_sh in /var/www/html/vicidial/admin_header.php on line 2612
PHP Warning: Undefined variable $shifts_sh in /var/www/html/vicidial/admin_header.php on line 2617
PHP Warning: Undefined variable $phones_sh in /var/www/html/vicidial/admin_header.php on line 2621
PHP Warning: Undefined variable $conference_sh in /var/www/html/vicidial/admin_header.php on line 2625
PHP Warning: Undefined variable $server_sh in /var/www/html/vicidial/admin_header.php on line 2629
PHP Warning: Undefined variable $templates_sh in /var/www/html/vicidial/admin_header.php on line 2633
PHP Warning: Undefined variable $carriers_sh in /var/www/html/vicidial/admin_header.php on line 2637
PHP Warning: Undefined variable $emails_sh in /var/www/html/vicidial/admin_header.php on line 2641
PHP Warning: Undefined variable $tts_sh in /var/www/html/vicidial/admin_header.php on line 2645
PHP Warning: Undefined variable $cc_sh in /var/www/html/vicidial/admin_header.php on line 2649
PHP Warning: Undefined variable $moh_sh in /var/www/html/vicidial/admin_header.php on line 2653
PHP Warning: Undefined variable $languages_sh in /var/www/html/vicidial/admin_header.php on line 2657
PHP Warning: Undefined variable $soundboard_sh in /var/www/html/vicidial/admin_header.php on line 2663
PHP Warning: Undefined variable $vm_sh in /var/www/html/vicidial/admin_header.php on line 2669
PHP Warning: Undefined variable $settings_sh in /var/www/html/vicidial/admin_header.php on line 2673
PHP Warning: Undefined variable $label_sh in /var/www/html/vicidial/admin_header.php on line 2677
PHP Warning: Undefined variable $colors_sh in /var/www/html/vicidial/admin_header.php on line 2681
PHP Warning: Undefined variable $cts_sh in /var/www/html/vicidial/admin_header.php on line 2685
PHP Warning: Undefined variable $sc_sh in /var/www/html/vicidial/admin_header.php on line 2689
PHP Warning: Undefined variable $ar_sh in /var/www/html/vicidial/admin_header.php on line 2693
PHP Warning: Undefined variable $il_sh in /var/www/html/vicidial/admin_header.php on line 2697
PHP Warning: Undefined variable $sg_sh in /var/www/html/vicidial/admin_header.php on line 2701
PHP Warning: Undefined variable $cg_sh in /var/www/html/vicidial/admin_header.php on line 2705
PHP Warning: Undefined variable $vmmg_sh in /var/www/html/vicidial/admin_header.php on line 2709
PHP Warning: Undefined variable $qg_sh in /var/www/html/vicidial/admin_header.php on line 2713
PHP Warning: Undefined variable $status_sh in /var/www/html/vicidial/admin_header.php on line 2717
PHP Warning: Undefined array key 1 in /var/www/html/vicidial/admin.php on line 18638
PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in /var/www/html/vicidial/admin.php:18649
Stack trace:
#0 {main}
thrown in /var/www/html/vicidial/admin.php on line 18649
PHP Warning: Undefined variable $use_slave_server in /var/www/html/vicidial/dbconnect_mysqli.php on line 65
PHP Warning: Undefined variable $SSbutton_background in /var/www/html/vicidial/vicidial_stylesheet.php on line 84
I am sure you can help with this
Thank you
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 11:40 am
by carpenox
It's the php8 bro, it doesn't work with vicidial yet. Install PHP 7.4 and you'll be working
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 3:58 pm
by oshonubi
Thank you, it worked!
Re: User Groop Page Goes Blank After Edit
Posted:
Mon Oct 09, 2023 5:41 pm
by carpenox
No problem
Re: User Groop Page Goes Blank After Edit
Posted:
Tue Oct 10, 2023 10:17 am
by oshonubi
Hello,
Is there a plan to deploy PHP 8 for Vicidial as PHP 7.4 is at end of life since November 2022. ?
Re: User Groop Page Goes Blank After Edit
Posted:
Tue Oct 10, 2023 12:20 pm
by carpenox
I believe they are working on it already but I'm sure Matt can confirm this. Btw if you'd like to upgrade your Asterisk version to a version of 16 that supports confbridges or Asterisk 18 you can check out this link
https://dialer.one/how-to-patch-asteris ... -vicidial/Chris
Re: User Groop Page Goes Blank After Edit
Posted:
Tue Oct 10, 2023 12:39 pm
by oshonubi
Thank you Chris, what option becomes available in perl install.pl. Is there an asterisk 18 available?
Re: User Groop Page Goes Blank After Edit
Posted:
Tue Oct 10, 2023 12:53 pm
by carpenox
I don't believe so yet but I've tested it with 16.X and it works fine
Re: User Groop Page Goes Blank After Edit
Posted:
Tue Oct 10, 2023 2:02 pm
by oshonubi
That's fine. I will give it a shot and revert to you. You are a great guy
Re: User Groop Page Goes Blank After Edit
Posted:
Tue Aug 06, 2024 11:28 am
by mflorell
We just committed hundreds of changes to our PHP codebase for PHP8 support in VICIdial. Check out svn/trunk revision 3863 or higher to test it out!