» Log in
User Name:

Password:

Not a member yet?
Register Now!
» Online Users: 40
0 members and 40 guests
No Members online
Most users ever online was 611, 03-21-2008 at 11:10 PM.
» .::.
Web Hosting - web hosting, dedicated servers and web design services
Online Degree - search for 1000+ online degrees, online colleges & online universities.
Tattoo - we are a group of tattoo enthusiasts
Gexa Energy - your absolute best choice in electric service
Texas electricity - save on electric rates
Football Betting - best nfl betting promotions at sportsbook.com.
Oral Chelation - initial cleansing of your veins & arteries
Portatiles - Ofertas en Ordenadores y Portatiles. Increibles Ofertas DELL.

Register Now! Contact Us

About this Page
This is a discussion on Adminstrative problem within the Nuke 7.x - General forums, part of the PHP-Nuke 7.x category; phpBB : Critical Error Could not obtain lastvisit data from user table DEBUG MODE SQL Error : 1146 Table 'syren_nuke2.syren__users' doesn'...


Go Back   Nukemods Forum » PHP-Nuke 7.x » Nuke 7.x - General

Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old 09-01-2004, 10:39 AM
Junior Member
 
Join Date: Aug 2004
Location: Iowa
Posts: 35
Send a message via AIM to Syren
phpBB : Critical Error

Could not obtain lastvisit data from user table

DEBUG MODE

SQL Error : 1146 Table 'syren_nuke2.syren__users' doesn't exist

SELECT * FROM syren__users WHERE user_id = '1'

Line : 73
File : /home/syren/public_html/rpg/includes/sessions.php

I get this message when trying to access the Memberlist and the Forums. Also, now I can't log in at all because it keeps saying that my login/password is incorrect and it's not. User journals have been lost as well as 10 user accounts. They're there still, just not showing up.


When in myPHPAdmin, I was looking at the databases. I looked at nuke_users. Not sure if this is suppose to be there or not, but the user listed for user ID 1 is Anonymous. However, I think that my information is suppose to be there instead.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 09-01-2004, 11:57 AM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
there is still some bad info in your config.php, as it looks for a table named 'syren__users' and you explicit state that the table is called 'nuke_users'

Make sure the info in the file is correct!
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 09-01-2004, 12:40 PM
Junior Member
 
Join Date: Aug 2004
Location: Iowa
Posts: 35
Send a message via AIM to Syren
Alright, here is what I have. I'm betting its rather simple to figure out but for some ungodly reason I can't. w:

$dbhost = "localhost";
$dbuname = "syren";
$dbpass = "edited for protection";
$dbname = "syren_nuke2";
$prefix = "nuke";
$user_prefix = "syren_";
$dbtype = "MySQL";
$sitekey = "edited for protection";
$gfx_chk = 7;
$subscription_url = "";
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 09-01-2004, 12:47 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
change
Code:
$user_prefix = "syren_";
to this
Code:
$user_prefix = "nuke";
That should do it
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 09-01-2004, 12:56 PM
Junior Member
 
Join Date: Aug 2004
Location: Iowa
Posts: 35
Send a message via AIM to Syren
Thanks. That fixed most of the troubles. I've got the forums, journal and members list back. However, when I try to log in to either the admin area or the users area, the security code isn't showing up. In its place is a box with [Security Code] inside of it but the code itself isn't there. Just the words 'Security Code'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old 09-01-2004, 01:00 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
want to keep the security code?? or doesn't it matter??
if it is the last, turn it off in your config.php
change
Code:
$gfx_chk = 7;
to
Code:
$gfx_chk = 0;
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 09-01-2004, 01:17 PM
Junior Member
 
Join Date: Aug 2004
Location: Iowa
Posts: 35
Send a message via AIM to Syren
Peachy! I don't think our website really has a need for the security code so that's been changed to 0 and everything's working again. With the exception of my fiance being able to access the admin area.

Any safe suggestions on rectifying that?

And -

What about the user in user ID 1 set as Anonymous? Should I remove that?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 09-01-2004, 02:31 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
don't remove the user, I'll check out the Begone message
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #19 (permalink)  
Old 09-01-2004, 02:39 PM
Moderator
 
Join Date: Nov 2002
Location: Belgium
Posts: 957
can you please tell me what the Admin username of your fiance is??
FB misses some structure in his coding, I have some reasons to believe that his username is using a format that passes the creation but doesn't pass the login!
That's do to this code in auth.php
Code:
    if (ereg("[^a-zA-Z0-9_-]",trim($aid))) { 
    die("Begone"); 
    }
you can commentt his, but that creates security risks so i just suggest to create a different admin name for him :?
__________________
Yannick R. aka Mighty_Y
http://support.code-area51.com
http://www.code-area51.com

Search before asking makes my life easier!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #20 (permalink)  
Old 09-01-2004, 02:50 PM
Junior Member
 
Join Date: Aug 2004
Location: Iowa
Posts: 35
Send a message via AIM to Syren
Oh yes! There was a space in his user nick name. I removed the space and it's working perfectly now!

Thank you SO MUCH for all the help, guys It's very appreciated.

Do I still want to keep that Anonymous as the user ID 1?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Poll/Survey problem! (restriced area?) EDIT: new problem! erazor Nuke 7.x - General 3 04-12-2005 12:27 PM
Problem with smartDark problem. Sign up doesn't work. DJ-Loki Theme packs 4 02-18-2003 04:40 PM


All times are GMT -5. The time now is 02:24 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.

LinkBacks Enabled by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31