katarra Posted March 12, 2010 Share Posted March 12, 2010 I have been trying to figure this thing out for a while now, but to no avail. For some reason, I can't get the "check_user" function to work correctly as it doesn't seem to be pulling out the info I need from the database. This problem involves a lot of files, so rather than attempting to paste all the coding in here, I'll just see if anyone has some free time to try and help me out. Just post if you are interested and it would be much appreciated! Thanks in advance! I've seem to have fixed everything but this, but like I said, lots of files are associated with it... *A little more detail* It is a hybrid ezRpg/custom code base that was specially designed and they aren't playing nice with each other, evidently! Link to comment https://forums.phpfreaks.com/topic/194968-blank-screen/ Share on other sites More sharing options...
TeddyKiller Posted March 12, 2010 Share Posted March 12, 2010 I'll need a bit more info as to what you are trying to do, and what is happening. If you have error reporting off, turn it on and tell me what errors you are getting (if any) I probably will help if you have time in 10 hours. I'm in the UK and it's currently 1am. So I'll be getting to sleep now. Link to comment https://forums.phpfreaks.com/topic/194968-blank-screen/#findComment-1025017 Share on other sites More sharing options...
katarra Posted March 12, 2010 Author Share Posted March 12, 2010 I put in: ini_set('display_errors',1); error_reporting(E_ALL|E_STRICT); But I'm not getting errors, just a nice little message to myself if it isn't working correctly. (echo #$@#$) I'm trying to create sessions through the login script which will enable me to pull that data into a user check function to pull the data from the database that is needed to run a specific script, such as fishing or mining. Link to comment https://forums.phpfreaks.com/topic/194968-blank-screen/#findComment-1025020 Share on other sites More sharing options...
TeddyKiller Posted March 12, 2010 Share Posted March 12, 2010 Lol. ________________________ Right, you are trying to create sessions through the login script. Easy to understand and do. Which will enable you to pull that data into a "user check function". What? From the database that is needed to run a specific script. What I'm assuming, in the function you are pulling information from the database, and you are wanting them set as sessions. This is part of the login script. So when a user logs in, all this happens. Correct? Link to comment https://forums.phpfreaks.com/topic/194968-blank-screen/#findComment-1025021 Share on other sites More sharing options...
katarra Posted March 12, 2010 Author Share Posted March 12, 2010 Correct. When they log in, the sessions should be started. I believe I have that part correct (I learned about sessions today!) but pulling the fields I need from the database (correct terminology for the win!) doesn't seem to be happening. I don't know if it is because I have the sessions done wrong or if I have this "check_user" function not set up correctly. Link to comment https://forums.phpfreaks.com/topic/194968-blank-screen/#findComment-1025023 Share on other sites More sharing options...
TeddyKiller Posted March 12, 2010 Share Posted March 12, 2010 Good stuff. You seem very willing to learn PHP. I'll be going to sleep but as you know, plans dont always work out. This time I am sleeping! What I want you to do.. is send me an email containing the login, and the check_user fuction, or complete pages. If there are more pages required than just two, send them all through. My email address is stated on my profile, feel free to add it to your messenger too. I'll get back to you when I get up, around 9-10 hours from now. Link to comment https://forums.phpfreaks.com/topic/194968-blank-screen/#findComment-1025025 Share on other sites More sharing options...
katarra Posted March 12, 2010 Author Share Posted March 12, 2010 Fantastic! And yes, very willing. I'm looking at OOP, but that's going to be version 2 of my game. Link to comment https://forums.phpfreaks.com/topic/194968-blank-screen/#findComment-1025026 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.