Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2007
Posts: 2
F
stranger
stranger
F Offline
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
Joined: Jun 2006
Posts: 196
I
enthusiast
enthusiast
I Offline
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

Joined: Jun 2006
Posts: 16,292
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,292
Likes: 116
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.
Do you need Forum Install or Upgrade Services?
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!
Joined: Jun 2007
Posts: 2
F
stranger
stranger
F Offline
Joined: Jun 2007
Posts: 2
Worked!!! Thanks a lot for this help!!!


Francisco // cadritech
Joined: Dec 2003
Posts: 1,796
Pooh-Bah
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

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
3 members (rootman, Gizmo, Nightcrawler), 562 guests, and 186 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)