| 
 | 
  Olaf Lederer - 2005-04-03 19:30:30 -  In reply to message 10 from John 
John, I did a test, it must be inside your settings.  
 
use this code at line 89 
$result = mysql_query($sql) or die(mysql_error()); 
 
and this at line 108 
mysql_select_db(DB_NAME, $conn_str) or die(mysql_error()); 
 
 
I think this will tell you your problem. 
 
s6 
  
  Hans Jørgen Guldbrand - 2005-04-03 19:40:46 -  In reply to message 8 from Olaf Lederer 
Hallo Olaf 
 
Thanks for your help :-) 
By looking into your coding I found the log_out function in the Access_user class and realized that I have made an error on my index.php page witch is my first protected page.  
I changed the logout reference from your original : 
 
<p><a href="<?php echo $_SERVER['PHP_SELF']; ?>?action=log_out">Klik her for at logge ud</a></p> 
 
To : 
 
<p><a href="/access/login.php?action=log_out">Klik her for at logge ud</a></p> 
 
After changing back to your original line the logout function works perfect. 
 
And yes, I am quite sure there are many users there are happy using your Class, and I am sure I will be one of them. 
 
If you are interested I have made a Danish translation for the access_user_class.php file. 
 
  
  Olaf Lederer - 2005-04-03 20:55:34 -  In reply to message 12 from Hans Jørgen Guldbrand 
Yippie! 
 
I'm very happy that this was not a real bug :) 
 
Yes of course, if you like send me the translations to my e-mail address and don't forget to vote... 
 
Thanks. 
  
  Olaf Lederer - 2005-04-03 20:57:27 -  In reply to message 9 from John 
John, your problem have to be inside the (class)configuration file or the tables does not exist. Find all important information inside the documentation file. 
 
 
  
  John - 2005-04-04 22:59:51 -  In reply to message 14 from Olaf Lederer 
Yes! thank you. It was the tables i uploaded the wrong ones. lol. hey i was wondering if you have any scripts to show how many people logged in are only and show the name. and also if you know how or if i could integrade this with phpbb. 
  
  John - 2005-04-05 00:25:51 -  In reply to message 15 from John 
also, i need the example page when you log in to pop op in the top format target="_top" how would i do that with the submit button 
  
  Olaf Lederer - 2005-04-05 06:41:52 -  In reply to message 16 from John 
Hello, 
 
good to hear that its solved, I wil write a visitor online script later this year (not so much time, lower priority). 
 
You have to treat window orders/positions with Javascript not with php 
 
s6 
  
  Olaf Lederer - 2005-04-05 06:41:53 -  In reply to message 16 from John 
Hello, 
 
good to hear that its solved, I wil write a visitor online script later this year (not so much time, lower priority). 
 
You have to treat window orders/positions with Javascript not with php 
 
s6 
  
   |