Webmasterpals  

Go Back   Webmasterpals > Webmasterpals Network > PHP Login Script v2.0

Reply
 
Thread Tools Display Modes
  #1  
Old 02-05-2010, 07:07 PM
MadAGu MadAGu is offline
Junior Member
 
Join Date: Oct 2009
Posts: 7
MadAGu is on a distinguished road
Default php login script does not work !!!

well i was using ubuntu 9.10 and everything worked like a charm. Now i switch to arch linux and this script does almost not work at all. For example i am trying to login as administrator, but this is impossible. Also if i try to login as admin, when i have already log in as a user, it redirects me to the admin control panel, but none function is working properly.
What is happening? can somehow fix this?
Reply With Quote
  #2  
Old 02-05-2010, 08:25 PM
MadAGu MadAGu is offline
Junior Member
 
Join Date: Oct 2009
Posts: 7
MadAGu is on a distinguished road
Default Re: php login script does not work !!!

from what i found the problem relies within php.ini. Can anyone post his php.ini so i can find what is going wrong?

Thank you for your help...
Reply With Quote
  #3  
Old 02-08-2010, 09:12 AM
MadAGu MadAGu is offline
Junior Member
 
Join Date: Oct 2009
Posts: 7
MadAGu is on a distinguished road
Default Re: php login script does not work !!!

anyone????
Reply With Quote
  #4  
Old 02-10-2010, 11:47 PM
MadAGu MadAGu is offline
Junior Member
 
Join Date: Oct 2009
Posts: 7
MadAGu is on a distinguished road
Default Re: php login script does not work !!!

a little more dig into this:
Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO)

well.... i checked dbc.php and the password was there. So? i am open to suggestions...

i am using arch linux as my server...
Reply With Quote
  #5  
Old 02-14-2010, 11:59 PM
Tommyrulez Tommyrulez is offline
Junior Member
 
Join Date: Jan 2010
Posts: 9
Tommyrulez is on a distinguished road
Default Re: php login script does not work !!!

Quote:
Originally Posted by MadAGu View Post
a little more dig into this:
Warning: mysql_query(): Access denied for user 'root'@'localhost' (using password: NO)

well.... i checked dbc.php and the password was there. So? i am open to suggestions...

i am using arch linux as my server...
Which password? The root pw or the db pw is in dbc?
This msg is saying that access is denied for root.
Reply With Quote
  #6  
Old 02-16-2010, 11:14 PM
glycerine glycerine is offline
Member
 
Join Date: Oct 2009
Posts: 61
glycerine is on a distinguished road
Default Re: php login script does not work !!!

As tommy mentioned its trying to connect with root as the username check that this is also correct. If you are on a shared host then it will most probably not be root.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:57 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Webmasterpals.com (c) 2008 - All Rights Reserved