VICIDIAL PAGE ERROR - HTTP ERROR 500

All installation and configuration problems and questions

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

VICIDIAL PAGE ERROR - HTTP ERROR 500

Postby ruben23 » Sun Apr 19, 2020 8:52 pm

version: 2.14b0.5
SVN Version: 3067
DB Schema Version: 1564
DB Schema Update Date: 2019-03-01 18:32:30
Password Encryption:DISABLED - S1 - C1
Auto User-add Value: 101
Recording Prompt Count: 0
Install Date: 2019-03-01
ASterisk 1.8
Scratch install Ubuntu Server


Hi guys any help with this error, when i tried to open the vicidial page i get this white blank and HTTP ERROR 500

this is the latest svn trunk copy

When i look into the log on my apache2 i see this error

Code: Select all
[Sun Apr 19 21:40:34.516131 2020] [core:notice] [pid 2714] AH00094: Command line: '/usr/sbin/apache2'
[Sun Apr 19 21:42:57.180840 2020] [:error] [pid 2717] [client 49.149.110.51:30572] PHP Notice:  Undefined variable: use_slave_server in /var/www/html/vicidial/dbconnect_mysqli.php on line 65
[Sun Apr 19 21:42:57.180879 2020] [:error] [pid 2717] [client 49.149.110.51:30572] PHP Fatal error:  Call to undefined function mysqli_connect() in /var/www/html/vicidial/dbconnect_mysqli.php on line 78
[Sun Apr 19 21:42:58.851250 2020] [:error] [pid 2718] [client 49.149.110.51:30571] PHP Notice:  Undefined variable: use_slave_server in /var/www/html/vicidial/dbconnect_mysqli.php on line 65
[Sun Apr 19 21:42:58.851285 2020] [:error] [pid 2718] [client 49.149.110.51:30571] PHP Fatal error:  Call to undefined function mysqli_connect() in /var/www/html/vicidial/dbconnect_mysqli.php on line 78
[Sun Apr 19 21:43:15.566550 2020] [:error] [pid 2721] [client 49.149.110.51:30580] PHP Notice:  Undefined variable: use_slave_server in /var/www/html/vicidial/dbconnect_mysqli.php on line 65
[Sun Apr 19 21:43:15.566588 2020] [:error] [pid 2721] [client 49.149.110.51:30580] PHP Fatal error:  Call to undefined function mysqli_connect() in /var/www/html/vicidial/dbconnect_mysqli.php on line 78
[Sun Apr 19 21:44:37.725271 2020] [:error] [pid 2719] [client 49.149.110.51:30605] PHP Fatal error:  Call to undefined function mysqli_connect() in /var/www/html/agc/dbconnect_mysqli.php on line 50
[Sun Apr 19 21:45:06.268999 2020] [:error] [pid 2721] [client 49.149.110.51:30638] PHP Fatal error:  Call to undefined function mysqli_connect() in /var/www/html/agc/dbconnect_mysqli.php on line 50



and this line on dbconnect_mysqli.php is line 50

Code: Select all
if ( ($use_slave_server > 0) and (strlen($slave_db_server)>1) )


line 78

Code: Select all
$link=mysqli_connect($server_string, "$VARDB_user", "$VARDB_pass", "$VARDB_database", $VARDB_port);


any idea guys.?
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Re: VICIDIAL PAGE ERROR - HTTP ERROR 500

Postby carpenox » Sun Apr 19, 2020 9:04 pm

whats ur php version? i believe its either your .php files within your /var/www/html have not had there permissions changed, try "chmod 755 -R vicidial" and the same for agc

What i had to do was go into my apache2 config and change it to use php and perl files, but i run opensuse and did it thru "yast" which im not sure if ubuntu has....so im not sure how you would do that
Alma Linux 9.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2250
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: VICIDIAL PAGE ERROR - HTTP ERROR 500

Postby ruben23 » Sun Apr 19, 2020 9:09 pm

@ carpenox

PHP 5.5.9-1ubuntu4.29 (cli) (built: Apr 22 2019 18:33:52)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies


vicidial and agc are already on 755 permission

is it not by default apache2 runs on PHP and perl files already.? im might worried if this was a bug coz i copied the latest version maybe
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines

Re: VICIDIAL PAGE ERROR - HTTP ERROR 500

Postby carpenox » Mon Apr 20, 2020 12:41 am

i had set my html folder to chmod 755 -R and i still was getting error 500, i had to go into yast and go into select php and perl thru services > http server
Alma Linux 9.3 | SVN Version: 3822 | DB Schema Version: 1711 | Asterisk 18.18.1
www.dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WhatsApp: +19549477572 -:- Skype: live:carpenox_3 | Discord: https://discord.gg/DVktk6smbh
carpenox
 
Posts: 2250
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: VICIDIAL PAGE ERROR - HTTP ERROR 500

Postby ruben23 » Wed May 06, 2020 10:24 am

Guys this is working already i just lack the mysqli module for PHP5 after install all are working good, Thanks
SkypeID: rlacumba
IBM x3200 Dual Core 2.4 Ghz.
4GB Ram
VERSION: 2.4-311a
BUILD: 110514-1351
© 2011 ViciDial Group
Asterisk 1.4.27-vici
Another VICI_day, same trunK, same Channel-->Transcode...
ruben23
 
Posts: 1161
Joined: Thu Jul 31, 2008 10:35 am
Location: Davao City, Philippines


Return to Support

Who is online

Users browsing this forum: Google [Bot], udy786 and 119 guests