Welcome, Guest. Please Login or Register.
November 26, 2024, 02:31:10 PM
Home Help Search Log in Register
News: If you are still using YaBB SE, please consider upgrading to SMF as soon as possible.

YaBB SE Community  |  Development  |  Converters  |  no topics/posts after conversion; can't enter admin area « previous next »
Pages: [1] Reply Ignore Print
Author Topic: no topics/posts after conversion; can't enter admin area  (Read 3067 times)
curious
Full Member
***
Posts: 178


WWW
no topics/posts after conversion; can't enter admin area
« on: January 22, 2002, 01:20:08 AM »
Reply with quote

I finally converted my YaBB Gold to SE 1.1.0.

Conversion went fine, but I'm facing two problems I can't get rid of:

  • The threads in the diffrent boards don't show up. The boards are empty.
  • I can't access admin section.
For the first problem:
I checked my database and found all topics and messages there.
I'd like to try repair my boards, but ... prob two :-\

Can anybody offer some help?

thx in advance

For problem two:
I get the following error message:
2: Supplied argument is not a valid MySQL result resource
(/home/www/web296/html/yabbse/Sources/Admin.php ln 73)
This line in Admin.php says:
   $numcats = $temp[0];
   $result = mysql_query("SELECT COUNT(*) as click_total FROM {$db_prefix}log_clicks;");
   $temp = mysql_fetch_row($result);
it's the last line

Also I got a single error message in the conversion process which was:
Inserting data package 10
Errors: Column 'logTime' is used with UNIQUE or INDEX but is not defined as NOT NULL
I'm pretty sure this has to do with problem two.


I was searching the forums for help, but couldn't find any, though I think I have seen these problems mentioned somewhere.
Using the search function is a pain in the ass. No matter which forums you choose or if you choose either subject or message, hits are shown from all forums and subjects as well as messages.
« Last Edit: January 22, 2002, 03:39:07 PM by curious » Logged
curious
Full Member
***
Posts: 178


WWW
no topics/messages after conversion
« Reply #1 on: January 22, 2002, 01:58:39 AM »
Reply with quote

Just found this thread:
http://www.yabb.info/community/index.php?board=131;action=display;threadid=4130;start=0

But I don't know how to create the suggested table :-\
I have phpmyadmin.
Logged
Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:no topics/messages after conversion
« Reply #2 on: January 22, 2002, 01:35:59 PM »
Reply with quote

Log into your phpmyadmin and click on your database.  There should be a box that allows you to enter SL commands.  Enter this and press go:

CREATE TABLE log_clicks (
  ip tinytext,
  logTime bigint(20) NOT NULL,
  agent tinytext,
  toUrl tinytext,
  fromUrl tinytext,
  PRIMARY KEY  (ID_CLICKS)
) TYPE=MyISAM;
Logged

curious
Full Member
***
Posts: 178


WWW
Re:no topics/messages after conversion
« Reply #3 on: January 22, 2002, 01:49:48 PM »
Reply with quote

Well thanks Jeff, but this is what I get:

Error
SQL-query:

CREATE TABLE log_clicks (
  ip tinytext,
  logTime bigint(20) NOT NULL,
  agent tinytext,
  toUrl tinytext,
  fromUrl tinytext,
  PRIMARY KEY  (ID_CLICKS)
) TYPE=MyISAM;
MySQL said: Key column 'ID_CLICKS' doesn't exist in table
Logged
curious
Full Member
***
Posts: 178


WWW
no topics/messages after conversion
« Reply #4 on: January 22, 2002, 03:38:01 PM »
Reply with quote

Ok, problem solved with the help of Jeff *applaude* :)

CREATE TABLE log_clicks (
  ip tinytext,
  logTime bigint(20) NOT NULL,
  agent tinytext,
  toUrl tinytext,
  fromUrl tinytext,
  KEY logTime (logTime)
) TYPE=MyISAM;

After several tries this code finally created the log_clicks table (which was missing in my case) in my database.

Entered admin area, ran "Repair All Boards and Topics" and "Recount All Board Totals" and went happy cause this brought back my topics and posts.
Logged
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  Development  |  Converters  |  no topics/posts after conversion; can't enter admin area « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.057 seconds with 21 queries.