vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   500 Internal Server Error when clicking on a post. (https://vborg.vbsupport.ru/showthread.php?t=250332)

Fungsten 09-11-2010 07:26 PM

500 Internal Server Error when clicking on a post.
 
Hello Everyone,

On my test forum I am running 4.0.6. Whenever I click on a post I get the Internal Error. I have also disabled the Hooks/Plugins and it comes up with a database error.

Quote:

Database error in vBulletin 4.0.6:
Invalid SQL:
(SELECT 'package' AS classtype, package.packageid AS typeid, package.packageid AS packageid,
package.productid AS productid, if(package.productid = 'vbulletin', 1, product.active) AS enabled,
package.class AS class, -1 as isaggregator
FROM package AS package
LEFT JOIN product AS product
ON product.productid = package.productid
WHERE product.active = 1
OR package.productid = 'vbulletin'
)
UNION
(SELECT 'contenttype' AS classtype, contenttypeid AS typeid, contenttype.packageid AS packageid,
1, 1, contenttype.class AS class , contenttype.isaggregator
FROM contenttype AS contenttype
INNER JOIN package AS package ON package.packageid = contenttype.packageid
LEFT JOIN product AS product ON product.productid = package.productid
WHERE product.active = 1
OR package.productid = 'vbulletin' );
MySQL Error : Incorrect information in file: './XXXXXX_vb/contenttype.frm'
Error Number : 1033
Request Date : Saturday, September 11th 2010 @ 03:19:39 PM
Error Date : Saturday, September 11th 2010 @ 03:19:40 PM
Script : http://www.XXXXXXXXX.net/test_vb/for...hread.php?t=43
Referrer : http://www.XXXXXXXXXX.net/test_vb/fo...isplay.php?f=5
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.0.91-community
Also not all the options are showing up under ACP - Maintenance - Update counters. The list stops half way between the Rebuild Search Index.

Anyone have a solution for these? TIA.

ragtek 09-12-2010 02:40 PM

Quote:

Incorrect information in file: './XXXXXX_vb/contenttype.frm
I think your database is broken. Try to repair it.

--------------- Added [DATE]1284306116[/DATE] at [TIME]1284306116[/TIME] ---------------

http://www.vbulletin.com/forum/showt...air-a-database

Fungsten 09-13-2010 07:57 PM

Quote:

Originally Posted by ragtek (Post 2097130)
I think your database is broken. Try to repair it.

--------------- Added 12 Sep 2010 at 08:41 ---------------

http://www.vbulletin.com/forum/showt...air-a-database

I'll try what's at the link. BTW I would have tried through the ACP but the option to repair is not shown! The options stop at Repair Search or something.

--------------- Added 13 Sep 2010 at 14:06 ---------------

Quote:

Originally Posted by ragtek (Post 2097130)
I think your database is broken. Try to repair it.

--------------- Added 12 Sep 2010 at 08:41 ---------------

http://www.vbulletin.com/forum/showt...air-a-database

Here's the error code during the repair:

Quote:

XXXXX_vb.contenttype
Error : Incorrect information in file: './XXXXX_vb/contenttype.frm'
error : Corrupt
XXXXX_vb.cpsession
note : The storage engine for the table doesn't support repair


All times are GMT. The time now is 03:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01046 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete