page cannot be displayed on admin.php

All installation and configuration problems and questions

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

page cannot be displayed on admin.php

Postby Delta239 » Mon Jun 11, 2007 9:19 am

page cannot be displayed on admin.php

and on the vicidial.php i get a blank screen...

Im using Fedora Core 6
Asterisk 1.2.17
Mysql 5.0.22
Delta239
 
Posts: 109
Joined: Thu Jul 13, 2006 7:59 pm

Postby Delta239 » Mon Jun 11, 2007 10:52 am

[Mon Jun 11 11:46:30 2007] [error] [client 201.226.130.55] PHP Fatal error: Call to undefined function mysql_connect() in /var/www/html/vicidial/dbconnect.php on line 38

this is what i have there on line 38

else
{
#defaults for DB connection
$VARDB_server = 'localhost;
$VARDB_user = 'cron';
$VARDB_pass = '1234';
$VARDB_database = 'asterisk';
$WeBServeRRooT = '/var/www/html';
Delta239
 
Posts: 109
Joined: Thu Jul 13, 2006 7:59 pm

Postby ramindia » Mon Jun 11, 2007 11:14 am

Hi

just insatll yum install php-mysql

ram
Kindly post your feedback, if this solution works.
so its very usefull for others who join later as a NEWBIE.
ramindia
 
Posts: 688
Joined: Wed Oct 11, 2006 4:06 am
Location: India

Postby Delta239 » Mon Jun 11, 2007 11:30 am

yes... i did that but first i did yum install php-common

because i had a message saying that php-common was missing
and now is working...
Thanks anyway my friend
Delta239
 
Posts: 109
Joined: Thu Jul 13, 2006 7:59 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 83 guests