a01020304 Posted December 29, 2009 Share Posted December 29, 2009 I was looking at creating an exployee only section of a website. As I cannot look at demos of current sites I am limited to searching for scripts online and eveluating them itsself. I found a script and installed it Here is the link: http://gmdesign.org.uk/aa/employee/ The script seems to install but will not allow me to log in using the password/login so am a bit baffled. The passwords are: manager or non-manager The login is: manager or non-manager I contacted the person who made the script and all he said was "its up to you to figure it out as I give no support" so this is why i am asking some of you, maybe you can solve what is wrong with the script My server has all the latest add ons (I use hostgator.com) I have attached all the files I was supplied with [attachment deleted by admin] Quote Link to comment https://forums.phpfreaks.com/topic/186620-script-fails-to-authenticate/ Share on other sites More sharing options...
rajivgonsalves Posted December 29, 2009 Share Posted December 29, 2009 I am not sure about this but looking at some of the code I think this script requires register_globals directive to be on Quote Link to comment https://forums.phpfreaks.com/topic/186620-script-fails-to-authenticate/#findComment-985648 Share on other sites More sharing options...
ignace Posted December 29, 2009 Share Posted December 29, 2009 requires register_globals directive to be on This phrase actually equals JUNK Quote Link to comment https://forums.phpfreaks.com/topic/186620-script-fails-to-authenticate/#findComment-985672 Share on other sites More sharing options...
a01020304 Posted December 29, 2009 Author Share Posted December 29, 2009 I am not sure about this but looking at some of the code I think this script requires register_globals directive to be on That means nothing to me. Please explain better Quote Link to comment https://forums.phpfreaks.com/topic/186620-script-fails-to-authenticate/#findComment-985694 Share on other sites More sharing options...
PFMaBiSmAd Posted December 29, 2009 Share Posted December 29, 2009 The code is also using $HTTP_*_VARS. The code is at lest 7 years out of date and should have been updated or removed from distribution long ago. It will take several man-hours by an experienced php programmer to get the script to work. If you don't understand the replies in this thread, you won't be able to correct the code yourself to get it to work on current configurations of php. I recommend finding another script. Here is a more up to date script (but you should convert the short open tags to full open tags) - http://www.evolt.org/PHP-Login-System-with-Admin-Features Edit: when you are evaluating such scripts, please do it on a system with error_reporting set to E_ALL and display_errors set to ON in your php.ini (confirm that these settings actually get changed using a phpinfo() statement) so that php will point out problems it finds as the script is parsed and executed. A long list of php errors will be an indicator that the script is out of date and needs a lot of work to make it functional. Quote Link to comment https://forums.phpfreaks.com/topic/186620-script-fails-to-authenticate/#findComment-985697 Share on other sites More sharing options...
a01020304 Posted December 30, 2009 Author Share Posted December 30, 2009 All I am really looking for is a script you can log into that will have a section for submitting your weekly hours you worked and also be able to download the current/next weeks work rota I searched and cannot find a script that will so it, all I was suggested was the script above. If the script I listed is not suitable, does anyone know of a script that can do as I want as written above. Thanks ps, I do not write php, it is too confusing. I have just mastered javascript and that took nearly 5 years,. Quote Link to comment https://forums.phpfreaks.com/topic/186620-script-fails-to-authenticate/#findComment-985751 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.