User Groop Page Goes Blank After Edit

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

User Groop Page Goes Blank After Edit

Postby oshonubi » Mon Oct 09, 2023 8:18 am

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.
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: User Groop Page Goes Blank After Edit

Postby mflorell » Mon Oct 09, 2023 8:21 am

Is there an error in the apache error_log when this happens?
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: User Groop Page Goes Blank After Edit

Postby carpenox » Mon Oct 09, 2023 8:22 am

I'm guessing you used my auto installer for this correct? Did you check the Apache error logs for clues?
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: User Groop Page Goes Blank After Edit

Postby carpenox » Mon Oct 09, 2023 8:23 am

I'm going to guess php8 is your problem....
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: User Groop Page Goes Blank After Edit

Postby oshonubi » Mon Oct 09, 2023 8:55 am

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
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: User Groop Page Goes Blank After Edit

Postby carpenox » Mon Oct 09, 2023 9:12 am

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
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: User Groop Page Goes Blank After Edit

Postby oshonubi » Mon Oct 09, 2023 9:36 am

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.
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: User Groop Page Goes Blank After Edit

Postby carpenox » Mon Oct 09, 2023 9:38 am

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
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: User Groop Page Goes Blank After Edit

Postby oshonubi » Mon Oct 09, 2023 10:31 am

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
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: User Groop Page Goes Blank After Edit

Postby carpenox » Mon Oct 09, 2023 11:40 am

It's the php8 bro, it doesn't work with vicidial yet. Install PHP 7.4 and you'll be working
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: User Groop Page Goes Blank After Edit

Postby oshonubi » Mon Oct 09, 2023 3:58 pm

Thank you, it worked!
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: User Groop Page Goes Blank After Edit

Postby carpenox » Mon Oct 09, 2023 5:41 pm

No problem
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: User Groop Page Goes Blank After Edit

Postby oshonubi » Tue Oct 10, 2023 10:17 am

Hello,

Is there a plan to deploy PHP 8 for Vicidial as PHP 7.4 is at end of life since November 2022. ?
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: User Groop Page Goes Blank After Edit

Postby carpenox » Tue Oct 10, 2023 12:20 pm

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
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: User Groop Page Goes Blank After Edit

Postby oshonubi » Tue Oct 10, 2023 12:39 pm

Thank you Chris, what option becomes available in perl install.pl. Is there an asterisk 18 available?
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: User Groop Page Goes Blank After Edit

Postby carpenox » Tue Oct 10, 2023 12:53 pm

I don't believe so yet but I've tested it with 16.X and it works fine
Alma Linux 9.4 | SVN Version: 3889 | DB Schema Version: 1721 | Asterisk 18.21.1 | PHP8
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
GC: https://join.skype.com/ujkQ7i5lV78O | DC: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2418
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: User Groop Page Goes Blank After Edit

Postby oshonubi » Tue Oct 10, 2023 2:02 pm

That's fine. I will give it a shot and revert to you. You are a great guy
Vicidial Scratch Install
Rocky Linux 9.2
PHP 8.0
Asterisk 16.17.0-vici
Dahdi 3.2
oshonubi
 
Posts: 169
Joined: Mon Jun 15, 2009 8:36 am
Location: Lagos, Nigeria

Re: User Groop Page Goes Blank After Edit

Postby mflorell » Tue Aug 06, 2024 11:28 am

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!
mflorell
Site Admin
 
Posts: 18383
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida


Return to Support

Who is online

Users browsing this forum: No registered users and 65 guests