Previous Thread
Next Thread
Print Thread
Hop To
Error in database (table ubbt_topic_views) #187377 06/17/2007 12:07 PM
Joined: Jun 2007
Posts: 2
ftripifo Offline OP
stranger
OP Offline
stranger
Joined: Jun 2007
Posts: 2
I had some problens with mysql and php in our server, and when we back the forum files and database, the forum shows one error message all the time that we try to access one topic or message, and I donīt know how I can fix this problem in database.

The error message are:

Script: C:\internet\aplicativos\ubbthreads\scripts\showflat.inc.php
Line#: 416
SQL Error: Can't open file: 'ubbt_topic_views.ibd' (errno: 1)
SQL Error #: 1016
Query: insert into ubbt_TOPIC_VIEWS (TOPIC_ID) values ( 4846 )

Any idea to fix this problem?

Thanks,


Francisco // cadritech
Re: Error in database (table ubbt_topic_views) [Re: ftripifo] #187421 06/17/2007 5:33 PM
Joined: Jun 2006
Posts: 196
Ian Spence Offline
enthusiast
Offline
enthusiast
Joined: Jun 2006
Posts: 196
honestly, I would just drop the topic views table and recreate it using
Code
create table ubbt_TOPIC_VIEWS (
	TOPIC_ID int(11) unsigned not null,
	index topic_ndx (TOPIC_ID)
) TYPE=heap

Re: Error in database (table ubbt_topic_views) [Re: Ian Spence] #187429 06/17/2007 6:43 PM
Joined: Jun 2006
Posts: 15,846
Gizmo Online Tapedshut
UBB.threads Developer
Online Tapedshut
UBB.threads Developer
Joined: Jun 2006
Posts: 15,846
I agree with ian, the topic views table is simply a temporary table, loosing any data in it isn't really too big of a deal (so some of your forums will show that no new views are recorded for small time period, at least your forums will work)


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Need to Upgrade?
Forums: A Gardeners Forum Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Re: Error in database (table ubbt_topic_views) [Re: Gizmo] #187522 06/18/2007 12:33 PM
Joined: Jun 2007
Posts: 2
ftripifo Offline OP
stranger
OP Offline
stranger
Joined: Jun 2007
Posts: 2
Worked!!! Thanks a lot for this help!!!


Francisco // cadritech
Re: Error in database (table ubbt_topic_views) [Re: Ian Spence] #257280 09/17/2015 11:27 PM
Joined: Dec 2003
Posts: 1,796
AllenAyres Offline
Pooh-Bah
Offline
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
Originally Posted by Ian Spence
honestly, I would just drop the topic views table and recreate it using
Code
create table ubbt_TOPIC_VIEWS (
	TOPIC_ID int(11) unsigned not null,
	index topic_ndx (TOPIC_ID)
) TYPE=heap


If you're like me and give this a try to clear up an error, change TYPE=heap to ENGINE=MEMORY

Thank you Giz for keeping hope alive smile


- Allen
- ThreadsDev | PraiseCafe

Forum Search
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Followed List v7.7.2 Question
by Ruben - 11/12/2019 12:22 PM
UBB Dev
by JAISP - 11/03/2019 11:01 AM
Exceeded Number of attachments
by rbrtgrmn - 11/02/2019 9:57 PM
Forum New User Registration
by kf6zpl - 10/25/2019 10:45 AM
Having issue with redirects to UBB classic URLs
by amciotola - 10/16/2019 12:11 AM
Who's Online Now
0 registered members (), 78 guests, and 369 spiders.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Amusing Terain Scenics
Amusing Terain Scenics
by isaac, August 19
Sky places
Sky places
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Snapshot build 20191023)