Page 1 of 1

Vicidial mySql error or php

PostPosted: Mon Aug 04, 2008 3:06 am
by ssin14
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

PostPosted: Mon Aug 04, 2008 8:35 am
by mflorell
astguiclient version?

Did you set permissions for your 6666 user in the users modificaiton page as is mentioned in the manager manual tutorial?

PostPosted: Wed Aug 06, 2008 1:09 am
by ssin14
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

PostPosted: Wed Aug 06, 2008 3:29 am
by mflorell
Is is a VICIDIAL message or an Apache message telling you that you do not have permissions?

PostPosted: Wed Aug 06, 2008 6:59 pm
by ssin14
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?

hello

PostPosted: Thu Aug 07, 2008 12:56 am
by eliasferreyra
maybe an iptables blocking problem

or and mysql bad config with the host specification

PostPosted: Mon Aug 11, 2008 2:57 am
by ssin14
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

PostPosted: Mon Aug 11, 2008 3:22 am
by ssin14
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