|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#61
|
||||
|
||||
|
That's normal... all you have to do is remove the echo...
I had that problem before too.. but it was adding to the database believe it or not.. |
|
#62
|
|||
|
|||
|
Well nothing happens to me, it doesn't echo I made a succesful entry either btw =[ Damn I'd like this to work, such a great script and tutorial
![]() |
|
#63
|
|||
|
|||
|
Come on, need some help here
![]() |
|
#64
|
||||
|
||||
|
if you don't want it to echo, change it from
PHP Code:
to PHP Code:
Try that.. See if it works |
|
#65
|
|||
|
|||
|
Login & Logout
1.First of all, when I login using "index.php" example, I see the message from "login.php": "You have now logged in" , instead of the message "Welcome 'first name', 'last name' you are now logged in".
2.When I am logged in I want to have a link <a href="login.php">logout</a> that asures me that the session is closed.How can I use the logout functions? Can you help me, Please! |
|
#66
|
|||
|
|||
|
Look, as I said before the echo is not the problem, I did it before like you helped here, but just .. I get NO error message .. I just get a Blank page with those three links on top ... nothing gets added to the database
|
|
#67
|
||||
|
||||
|
Quote:
Try adding something below the query that is like PHP Code:
for debugging purposes.. that way you know for sure that it was successful. I have a feeling it might be working, you just arent being told it is.. <Because thats what happened to me, but I could be wrong..> have you checked your database yet to see if they're there? |
|
#68
|
|||
|
|||
|
Yes, nothing gets added to the dbase, I check it using phpMyAdmin stuff.
But the values do get sent through (I can see this when I echo strQuery, as you have seen in my first post I believe), BUT NOT added to the database I just pasted the entire code as it was in the tutorial, had some parse errors, np. Then I added those rank stuff to the query stuff. That's all I did, add them ranks .. do I need to edit a function now or what (something to do with ExtraFields stuff?) I don't really think so, cause it doesn't submit anything at all now .. and it doesn't echo that standard 'your entry has been bllabla succesfully" as it is used in the tutorial.Thanks for the help, hope we can solve this problem ![]() |
|
#69
|
|||
|
|||
|
whooops didnt realize it had already been answered
![]()
__________________
-Alexander |
|
#70
|
|||
|
|||
|
can any1 find?
can any1 find Building a Members Area with PHP: Part 6/6 ? i cant seem to find it any where on site. if you post link it would be grateful. thanks
|
|
#71
|
||||
|
||||
|
Re: can any1 find?
Quote:
Ben hasn't written it yet.. That's why it isn't on the site. ![]() |
|
#72
|
|||
|
|||
|
When I goto my login page I see this fatal error underneath all of the login/password:
Fatal error: Cannot redeclare class dbvars in /home/x18bx/public_html/secure/class.db.php on line 12 I dont know exactly whats wrong with the code... I cant find another place where it redeclares class dbvars or function dbvars anywhere on any of the pages. Thanks, Aaron. |
|
#73
|
||||
|
||||
|
Quote:
Do you have multiple includes() or requires()? that will cause that to happen.. see if you can step through your code and see if there are more than one include or requires.. also.. what is the code on line 12? |
|
#74
|
|||
|
|||
|
yea there was a problem with the include and require, I had required class.db.php and included class.db.php, so that was my problem and i fixed it. Thanks for your help, Aaron.
|
|
#75
|
|||
|
|||
|
I am having a real hard time storing to the session, if anyone has a script thats working do they mind showing me what it is?
When I look in my database it has added to the sessionid but does not show: username auth userid firstname lastname. |
|
#76
|
|||
|
|||
|
h00kup,
It sounds like your not calling the StoreSessions function correctly, when you check the login details, are you correctly sending the users details to the function? The easiest way is to echo out each variable, after the function has been called, and check that the variables are being sent. |
|
#77
|