vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   Can't post new thread in forum (https://vborg.vbsupport.ru/showthread.php?t=270609)

doileloi 09-20-2011 12:33 PM

Can't post new thread in forum
 
Database error in vBulletin 4.1.5:

PHP Code:

MySQL Error   You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY a.contentid, a.displayorder' at line 15
Error Number  
1064 

PHP Code:

Classname     vB_Database
MySQL Version 
5.0.91 

I try post newthread in forum get this error anyone know what wrong ? please help Thank you

Lynne 09-20-2011 04:36 PM

What is the full error?

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit includes/config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


doileloi 09-20-2011 09:12 PM

PHP Code:

Database error in vBulletin 4.1.5:

Invalid SQL:

                
SELECT
                    fd
.thumbnail_datelinefd.filesize, IF(fd.thumbnail_filesize 010) AS hasthumbnailfd.thumbnail_filesize,
                    
a.datelinea.statea.attachmentida.countera.contentida.filenamea.userida.settingsa.displayorder,
                    
at.contenttypes
                FROM attachment 
AS a
                INNER JOIN filedata 
AS fd ON (fd.filedataid a.filedataid)
                
LEFT JOIN attachmenttype AS at ON (at.extension fd.extension)
                
WHERE
                    a
.posthash 'f2e7d73e6c0f97d07b99e127b15f6e1f'
                        
AND
                    
a.userid IN (102)
                        AND
                    
a.contenttypeid 
            
ORDER BY a.contentida.displayorder;

MySQL Error   You have an error in your SQL syntaxcheck the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY a.contentid, a.displayorder' at line 15
Error Number  
1064
Request Date  
TuesdaySeptember 20th 2011 05:10:14 PM
Error Date    
TuesdaySeptember 20th 2011 05:10:14 PM
Script        
http://www.vf247.net/forum/newthread.php?do=newthread&f=802
Referrer      http://www.vf247.net/forum/forumdisplay.php?802-Phim-online
IP Address    119.246.145.114
Username      
doileloi
Classname     
vB_Database
MySQL Version 
5.0.91 

Here full error ! i did try disable the plugin system, edit includes/config.php and add this line right under <?php won't work . please help

Thank you admin for help

Reycer 09-20-2011 11:02 PM

admincp-->maintenance--->Repair/Optimize Tables

Click on Check All and then on continue at the bottom of the page. I'm guessing you just upgraded your PHP version...right? Doin this should fix the problem:

https://www.vbulletin.com/forum/arch.../t-358696.html

doileloi 09-21-2011 01:34 PM

PHP Code:

admincp-->maintenance--->Repair/Optimize Tables 

I did but get same problem . any idea how to fix this thanks


All times are GMT. The time now is 10:48 PM.

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.01110 seconds
  • Memory Usage 1,743KB
  • 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_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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