Vicidial mySql error or php

All installation and configuration problems and questions

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

Vicidial mySql error or php

Postby ssin14 » Mon Aug 04, 2008 3:06 am

I have finished installing 3 servers

1--asterisk- asterisk 1.4.21.2

1--Apache/php

1--MySQL

as per scratch.

whenI login in to ........../vicidial/admin.php

I log in but on top there is this error:

"Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/local/apache2/htdocs/vicidial/admin.php on line 1233

Warning: Cannot modify header information - headers already sent by (output started at /usr/local/apache2/htdocs/vicidial/admin.php:1233) in /usr/local/apache2/htdocs/vicidial/admin.php on line 1259

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in /usr/local/apache2/htdocs/vicidial/admin.php on line 3842"


also

When I am trying to add user it says I am not "You do not have permission to view this page"

I am using that 6666 user id and whatever is in scratch install...

Will be good if some advice given

Thanks
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Mon Aug 04, 2008 8:35 am

astguiclient version?

Did you set permissions for your 6666 user in the users modificaiton page as is mentioned in the manager manual tutorial?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Wed Aug 06, 2008 1:09 am

astguilcient version 2.0.4

yes everything is followed. Even after loggin to 6666 id when click to modify it says you do not have permissions

what can be possible reason?

Thanks
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby mflorell » Wed Aug 06, 2008 3:29 am

Is is a VICIDIAL message or an Apache message telling you that you do not have permissions?
mflorell
Site Admin
 
Posts: 18387
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Postby ssin14 » Wed Aug 06, 2008 6:59 pm

thats the message that comes after login to the ......./vicidial/admin.php

so I guess this is vicidial message.

Can this be also a apache message?
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

hello

Postby eliasferreyra » Thu Aug 07, 2008 12:56 am

maybe an iptables blocking problem

or and mysql bad config with the host specification
“Better to remain silent and be thought a fool than to speak out and remove all doubt.”
-Abraham Lincoln
eliasferreyra
 
Posts: 367
Joined: Wed Jul 18, 2007 3:27 pm

Postby ssin14 » Mon Aug 11, 2008 2:57 am

reinstalled everything again

but same message I can see displays on the browser. also cannot modify. same problem it says "You do not have permission to view this page"

I dont understand below..please tell more how to know where this may be the reason ....

"maybe an iptables blocking problem

or and mysql bad config with the host specification"

Thanks
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am

Postby ssin14 » Mon Aug 11, 2008 3:22 am

sorry guys i figure it out.....

Its good to drink whisky when one is installing vicidial. it helps ...lol

somehow one of the field in vicidial_users was missing. thats "modify_users"

and this caused that problem.

so now can move forward......
cheers
ssin14
 
Posts: 178
Joined: Mon Sep 04, 2006 4:45 am


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 135 guests