DMXzone Security Provider PHP Support Product Page

Under investigation

Unable to authenticate logged in user

Reported 15 Apr 2014 09:56:52
1
has this problem
15 Apr 2014 09:56:52 Keith Mears posted:
Hi - I am new to the security provider extension and am struggling to get a user logged in. I have set up my own login form that database. I am using the identity as the User ID in the security builder and on the page I am transferring the client to I am filtering on the User ID = Session Variable dmxSecurityId with the Req. box ticked. Sure it is something that I am not doing but I have followed the tutorials but nothing is helping me find the problem, can you help please?

I have looked but cannot find 'dmxSecurityId' as a server variable could this be the problem?

Regards
Keith

Replies

Replied 15 Apr 2014 10:03:54
15 Apr 2014 10:03:54 Teodor Kuduschiev replied:
Hi Keith,
Could you please provide a link to your page, where we can check this?
Replied 15 Apr 2014 10:37:04
15 Apr 2014 10:37:04 Keith Mears replied:
Hi Teodor - Thanks for the prompt response, had the site on a local test server so had to transfer for you to see. Here is the link:
suffolkdays.co.uk/proof/login.php

Thanks

Keith
Replied 15 Apr 2014 11:40:53
15 Apr 2014 11:40:53 Keith Mears replied:
Hi Teodor

I have been setting the connections and all other sources thinking that they work across all connections, local & remote! I now find that I only have my pages set for my local server so all my work appears not to be transferable to the remote server so none of the pages are picking up the database details. This means there is no point at present to look at my login pages. Is there a way to get this so that the pages I have set up will work for a local and remote server?

Keith
Replied 15 Apr 2014 11:58:01
15 Apr 2014 11:58:01 Keith Mears replied:
Hi Treodor

Have now set the login and lagged in landing page to the remote server database to it should be OK to look at, same thing is applying as on the local server.

Keith
Replied 16 Apr 2014 08:45:22
16 Apr 2014 08:45:22 Teodor Kuduschiev replied:
Could you please send the login details to: ?
Replied 19 Apr 2014 19:21:09
19 Apr 2014 19:21:09 Keith Mears replied:
Hi Teodor

Hope you received my files OK. Not sure if this is related but I now have a recurring issue with the Connector, I have had a number of occurrences now when following having a good connection on the Remote server and my local test server that I get an error message "Error using the Database Connection! Server Response:" There appears no reason for this as I have not done any connection changes. The only way I can get rid of the message is to delete one of the connections, delete that file and the "dmxDatabase.php" that seems to be the offending file and reestablish the connect and then all is OK for a time and then it seems to be happening again, I have had it 5 - 6 time today and it is making the extensions very painful to use.

Regards

Keith
Replied 22 Apr 2014 09:41:11
22 Apr 2014 09:41:11 Teodor Kuduschiev replied:
Hello Keith,
I reviewed your pages .. Why do you use a behavior with the login button?
<input name="Register" type="image" id="LogIn" onclick="MM_goToURL('parent','cp/u1.php');return document.MM_returnValue" src="images/CP_Icons/LogIn_n.png">

Please remove the go to url behavior from the button as it executes before the user logs in.
Replied 22 Apr 2014 10:26:53
22 Apr 2014 10:26:53 Keith Mears replied:
Hi Teodor

I may be missing something here but I had this to tell it where to go, I have removed it and as before nothing happens at all not as it as no direction to the next page. I am also in a position now where I can not Test the source in the query builder and the database connection as I get the following message; "Error using the Database Connection! Server Response:".

Regards

Keith
Replied 22 Apr 2014 10:32:04
22 Apr 2014 10:32:04 Teodor Kuduschiev replied:
Okay now we are getting somewhere. I see an error is returned on your page when trying to run the security provider files:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator at 
 webmaster@suffolkdays.co.uk to inform them of the time this error occurred,
 and the actions you performed just before this error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.4.9 (Unix) Server at suffolkdays.co.uk Port 80</address>
</body></html>

Please email the error log file to: so i can check what exactly the issue is.
Replied 22 Apr 2014 10:39:02
22 Apr 2014 10:39:02 Keith Mears replied:
Hi Teodor - Not familiar with this file sorry, where can I find it?

Keith
Replied 22 Apr 2014 10:47:50
22 Apr 2014 10:47:50 Teodor Kuduschiev replied:
Please contact your server admins and ask them to provide the error log file for this domain.

Reply to this topic