Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-25-2014, 08:14 PM
Mariner1 Mariner1 is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default quick reply database error

When using the quick reply it says The following errors occurred with your submission

Database Error

The reply posts even though the screen doesnt change and it looks like the reply doesnt post.If you click post quick reply again it says

The following errors occurred with your submission

This post is a duplicate of a post that you have posted in the last five minutes.

If you come out of the screen altogether it shows your reply

How do i fix this pls
Reply With Quote
  #2  
Old 03-25-2014, 08:35 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check error logs and post error here
Reply With Quote
  #3  
Old 03-25-2014, 08:45 PM
Mariner1 Mariner1 is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where would i find them pls

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

ok found them,what am i looking for
Reply With Quote
  #4  
Old 03-25-2014, 09:57 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well it is hard to help you without the exact database error you are getting so lets start with that.

Normally you would have an admin email set in your config where database errors would get sent to. This would help too.
Reply With Quote
  #5  
Old 03-26-2014, 06:18 AM
Mariner1 Mariner1 is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This os the error.I dont get error if i disable blogs

Invalid SQL:


SELECT
fd.thumbnail_dateline, fd.filesize, IF(fd.thumbnail_filesize > 0, 1, 0) AS hasthumbnail, fd.thumbnail_filesize,
a.dateline, a.state, a.attachmentid, a.counter, a.contentid, a.filename, a.userid, a.settings, a.displayorder,
at.contenttypes
,blog_user.entries, fd.filedata, a.info_hash, a.size, a.ul_x, a.dl_x, a.flags, a.comment, a.created_by, a.announce_list, a.completed.
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.contentid = 13
AND
a.contenttypeid = 1


ORDER BY a.contentid, a.displayorder;

MySQL Error : Unknown column 'blog_user.entries' in 'field list'
Error Number : 1054
Request Date : Wednesday, March 26th 2014 @ 06:14:06 AM
Error Date : Wednesday, March 26th 2014 @ 06:14:06 AM
Script : http://184.107.137.18/newreply.php?do=postreply&t=7
Referrer : http://184.107.137.18/showthread.php...ttttttttt&p=12
IP Address :
Username : Mariner
Classname : vB_Database
MySQL Version : 5.5.36-cll
Reply With Quote
  #6  
Old 03-26-2014, 06:49 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What vb version are you running?
You are missing a table for blogs. Download vb files again upload them and run the upgrade.php should reinstall the missing table. But first if you have a backup would be better to try that first.

If 4.2.2 run this admincp/Maintenance/Execute SQL Query
Code:
ALTER TABLE `blog_user`
ADD COLUMN `entries`  int(10) UNSIGNED NOT NULL DEFAULT 0 AFTER `lastblogtextid`;
Reply With Quote
  #7  
Old 03-26-2014, 09:36 AM
Mariner1 Mariner1 is offline
 
Join Date: Jan 2009
Posts: 199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cant do that,i get this message

You are not authorized to execute SQL queries

I'll just keep blogs disabled
Reply With Quote
  #8  
Old 03-26-2014, 02:58 PM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to add your userid in the config.php file
Reply With Quote
  #9  
Old 03-26-2014, 11:56 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried on a unmodified default style?
Have you tried with all mods disabled?
What vB version and PHP version are you running?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:59 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.04418 seconds
  • Memory Usage 2,238KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete