vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Invalid SQL Data Base error on Admincp and forum (https://vborg.vbsupport.ru/showthread.php?t=286061)

ozzy47 07-29-2012 01:20 PM

now?

Naijasite 07-29-2012 01:21 PM

MySQL Error : Unknown column 'phrasegroup_search' in 'field list'

ozzy47 07-29-2012 01:22 PM

and again

Naijasite 07-29-2012 01:24 PM

MySQL Error : Unknown column 'phrasegroup_inlinemod' in 'field list'
Error Number : 1054
Request Date : Sunday, July 29th 2012 @ 10:27:57 AM
Error Date : Sunday, July 29th 2012 @ 10:27:57 AM

BirdOPrey5 07-29-2012 01:27 PM

These are going to be all the phrasegroups you'll need to enter:

phrasegroup_cpglobal
phrasegroup_cppermission
phrasegroup_forum
phrasegroup_calendar
phrasegroup_attachment_image
phrasegroup_style
phrasegroup_logging
phrasegroup_cphome
phrasegroup_promotion
phrasegroup_user
phrasegroup_help_faq
phrasegroup_sql
phrasegroup_subscription
phrasegroup_language
phrasegroup_bbcode
phrasegroup_stats
phrasegroup_diagnostic
phrasegroup_maintenance
phrasegroup_profilefield
phrasegroup_thread
phrasegroup_timezone
phrasegroup_banning
phrasegroup_reputation
phrasegroup_wol
phrasegroup_threadmanage
phrasegroup_pm
phrasegroup_cpuser
phrasegroup_accessmask
phrasegroup_cron
phrasegroup_moderator
phrasegroup_cpoption
phrasegroup_cprank
phrasegroup_cpusergroup
phrasegroup_holiday
phrasegroup_posting
phrasegroup_poll
phrasegroup_fronthelp
phrasegroup_register
phrasegroup_search
phrasegroup_showthread
phrasegroup_postbit
phrasegroup_forumdisplay
phrasegroup_messaging
phrasegroup_inlinemod
phrasegroup_plugins
phrasegroup_cprofilefield
phrasegroup_reputationlevel
phrasegroup_infraction
phrasegroup_infractionlevel
phrasegroup_notice
phrasegroup_prefix
phrasegroup_prefixadmin
phrasegroup_album
phrasegroup_socialgroups
phrasegroup_advertising
phrasegroup_tagscategories
phrasegroup_contenttypes
phrasegroup_vbblock
phrasegroup_vbblocksettings
phrasegroup_ckeditor

ozzy47 07-29-2012 01:28 PM

Thanks Joe I will get going on that and see what happens

Naijasite 07-29-2012 01:30 PM

Current error:

MySQL Error : Unknown column 'phrasegroup_inlinemod' in 'field list'
Error Number : 1054
Request Date : Sunday, July 29th 2012 @ 10:47:57 AM
Error Date : Sunday, July 29th 2012 @ 10:47:57 AM

BirdOPrey5 07-29-2012 01:31 PM

I edited it to be line by line, may be easier on the eyes. :up:

Naijasite 07-29-2012 01:35 PM

current error Update;

MySQL Error : Unknown column 'phrasegroup_inlinemod' in 'field list'

ozzy47 07-29-2012 01:58 PM

Ok I added all of them, and it seems the forum is back up, go take a look

Naijasite 07-29-2012 02:02 PM

Yes the forum is running now, but no link on the forum are working...when you click on any link or tab its shows DB error

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

current error Update;
MySQL Error : Unknown column 'phrasegroup_prefix' in 'field list'

ozzy47 07-29-2012 02:06 PM

Anything further than that I don't know what to do, I tried going to language.php?do=rebuild&goto=language.php? but that of course is a db error

Naijasite 07-29-2012 02:10 PM

Anyway Thanks...that you were able to make the site to load.
But the form keep getting Database error when any link is click.

I will contact VB if there is anywah they could replace the files with their default setting.

Thanks alot

BirdOPrey5 07-29-2012 02:11 PM

What is the database error you get now? the one from language.php?

ozzy47 07-29-2012 02:16 PM

Can you load the tools.php file in you vBulletin download do_not_upload folder to your admincp folder, I can try something else possibly

Naijasite 07-29-2012 02:21 PM

Invalid SQL:

SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate, user.languageid AS saved_languageid,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_ckeditor AS phrasegroup_ckeditor,
language.phrasegroupinfo AS lang_phrasegroupinfo,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep

FROM user AS user
LEFT JOIN userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN language AS language ON (language.languageid = IF(user.languageid = 0, 1, user.languageid))

WHERE user.userid = 1;

MySQL Error : Unknown column 'language.phrasegroup_ckeditor' in 'field list'
Error Number : 1054

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

I just upload the Tools.php file to my admin CP now...alove

Quote:

Originally Posted by ozzy47 (Post 2352444)
Can you load the tools.php file in you vBulletin download do_not_upload folder to your admincp folder, I can try something else possibly


ozzy47 07-29-2012 02:25 PM

Ok I added that, but I get a db error running language in tools.php also

Naijasite 07-29-2012 02:25 PM

Database error in vBulletin 4.2.0:

MySQL Error : Unknown column 'language.phrasegroup_language' in 'field list'
Error Number : 1054

ozzy47 07-29-2012 02:29 PM

I have no idea what that is, maybe Joe knows?

BirdOPrey5 07-29-2012 02:31 PM

Can you post the full error?

Naijasite 07-29-2012 02:32 PM

Current Error:

Database error in vBulletin 4.2.0:

Invalid SQL:
UPDATE language SET title = title, phrasegroup_global = 'a:1227:{s:9:\"1_day_ago\";s:9:\"1 Day Ago\";s:10:\"1_hour_ago\";s:10:\"1 Hour Ago\";s:12:\"1_minute_ago\";s:12:\"1 Minute Ago\";s:7:\"1_reply\";s:7:\"1 reply\";s:10:\"1_week_ago\";s:10:\"1 Week Ago\";s:20:\"CurrentlyActiveUsers\";s:40:\"Current ly Active Users Viewing this Page\";s:14:\"Edit_This_Page\";s:14:\"Edit This Page\";s:18:\"WT_EditWebtemplate\";s:16:\"Edit Webtemplate\";s:17:\"WT_Page_Visit_Log\";s:14:\"Pa ge Visit Log\";s:14:\"a_closed_forum\";s:14:\"A Closed Forum\";s:6:\"accept\";s:6:\"Accept\";s:6:\"action \";s:6:\"Action\";s:14:\"active_members\";s:14:\"A ctive Members\";s:20:\"active_subscriptions\";s:20:\"Act ive Subscriptions\";s:14:\"add_as_contact\";s:14:\"Add as Contact\";s:13:\"add_as_friend\";s:13:\"Add as Friend\";s:15:\"add_new_folders\";s:15:\"Add New Folders\";s:16:\"add_subscription\";s:16:\"Add Subscription\";s:17:\"add_x_to_contacts\";s:25:\"A dd %1$s to Your Contacts\";s:5:\"admin\";s:5:\"Admin\";s:19:\"admi n_control_panel\";s:19:\"Admin Control Panel\";s:11:\"admin_login\";s:8:\"Admin CP\";s:23:\"admin_required_register\";s:129:\"The administrator may have required you to <a href=\"register.php?%1$s\" rel=\"nofollow\">register</a> before you can view this page.\";s:14:\"administrative\";s:14:\"Administrat ive\";s:29:\"administrator_decided_x_quiet\";s:85: \"The administrator

The error are too long to be posted...am still getting same error above but little diff.

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

I have uploaded the Tools.php...admincp was change to ---------

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

Datebase error
Its same as the above code

BirdOPrey5 07-29-2012 02:53 PM

im working on it now, please dont do anything.

Naijasite 07-29-2012 02:53 PM

Ok thanks bro

BirdOPrey5 07-29-2012 02:56 PM

You're back online. :up:

There were about 15 more phrase groups to add... then I did have to finish the upgrade that was previously started- that seems to have rebuilt the laguage... All phrases appear to be working now.

BACKUP YOUR DATABASE BEFORE YOU DO ANYTHING ELSE.

ozzy47 07-29-2012 03:00 PM

Excellent Joe, thanks for sticking through this with me and figuring out the issue.

Naijasite 07-29-2012 03:01 PM

Thanks so much. You should be in Vbulletin Team.
You actually get my board working after spending hours working on it...

I do not know hot to say thanks to YOU.

God bless you you and BirdOpre5 and Ozzy47,

You guys are guru am going to do my backup now.
Thanks

BirdOPrey5 07-29-2012 03:02 PM

You are welcome.

Ozzy did most of the work with getting all the phrase groups back.

I am on the vBulletin Support Team :)

You can thank me by making regular backups. ;)

Naijasite 07-29-2012 03:10 PM

Thanks so much Ozzy for fixing the errors and Thanks to BirdOprey5 for responding so fast.
You both wonderfull people.

I just did my backup now

TheLastSuperman 07-29-2012 07:20 PM

Do we know which product caused such behavior? Which product did you uninstall just before this error presented itself?

Naijasite 07-29-2012 11:14 PM

The product that cause the error are Vbquiz and VbNotification they are the two last product that i uninstalled.

They just broke my board but my forum is working well now.

But Ozzy and BirdOprey5 are wonderful guys, they stayed up to 3-2 hours to help me resolve the issue.

Very big thanks to them.


Quote:

Originally Posted by TheLastSuperman (Post 2352534)
Do we know which product caused such behavior? Which product did you uninstall just before this error presented itself?


BirdOPrey5 07-30-2012 10:14 AM

TLS- The problem may be from those mods but the issue is there is no uninstall code in either mod that *should* cause this. If there was no doubt dozens, maybe hundreds of people would have complained by now. Something very rare and unusual happened and I can't figure it out either.

It also means there is no actual proof the uninstall was the specific cause.

However it is simply a lesson to everyone who you should always keep regular backups because you never know when something like this may happen.

Felixkomo got lucky that both Ozzy and I were around yesterday morning and happened to click on his threads. Most people will never be that lucky. Had he had a backup from the night before (some hosts offer hourly backups) he would have been back online in minutes without needing anyone's assistance.

Naijasite 07-30-2012 11:21 AM

Sure there is no prof that the modes was actually the cause, but i just assume so.
But i was so lucky to have these to Samaritan work it out for me without a penny.

I would actually do my backup everyday now.

Quote:

Originally Posted by BirdOPrey5 (Post 2352688)
TLS- The problem may be from those mods but the issue is there is no uninstall code in either mod that *should* cause this. If there was no doubt dozens, maybe hundreds of people would have complained by now. Something very rare and unusual happened and I can't figure it out either.

It also means there is no actual proof the uninstall was the specific cause.

However it is simply a lesson to everyone who you should always keep regular backups because you never know when something like this may happen.

Felixkomo got lucky that both Ozzy and I were around yesterday morning and happened to click on his threads. Most people will never be that lucky. Had he had a backup from the night before (some hosts offer hourly backups) he would have been back online in minutes without needing anyone's assistance.


Naijasite 08-19-2012 06:08 PM

Please i need your help....my Board just got broken like the previous problem.
I have my database Backup already. But my site is down at the moment.


I just uninstalled a mod Guest warn https://vborg.vbsupport.ru/showthread.php?t=270070
and am now receiving database error, my site is not working again.

I can't access my admincp and site, am getting database error.

I have disable all plugins through ftp config.php , but still gettin database error.
Please r help me to fix it, my site is down.

Please how do i fix this ? ww.naijafinder.com

MySQL Error : Unknown column 'phrasegroup_global' in 'field list'
Error Number : 1054
Request Date : Sunday, August 19th 2012 @ 02:18:00 PM

Thanks in advance

ozzy47 08-19-2012 09:45 PM

I would restore the site from a backup you did before you uninstalled the mod.

Naijasite 08-19-2012 09:57 PM

@Ozzy47 I have my forum Backup available. If you don't mind i will pm you my login details.

Please reply....

ozzy47 08-19-2012 10:29 PM

It is much easier to use the backup, last time you had this issue, it took over 2 hrs to resolve, a backup will take just a few minutes. This is something though I can not help with though.

Naijasite 08-19-2012 10:42 PM

thanks alot for the assistance i have my logn details to you.

Current Database Error will be posted below:


MySQL Error : Unknown column 'phrasegroup_global' in 'field list'

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

MySQL Error : Table 'felix_naijafinder.language' doesn't exist

ozzy47 08-20-2012 01:02 AM

It will take hours to add fields 1 by 1 waiting for you to say what the next database error is.

I suggest you start doing them yourself, 1 by 1, it is not difficult.

Each time you get a new error you just replace the phrasegroup_XXXX from the error into the ALTER statement:

Code:

ALTER TABLE  `language` ADD  `phrasegroup_XXXXX` MEDIUMTEXT NULL DEFAULT NULL
I tried a few different things but to no avail, so your only option is above.

Naijasite 08-20-2012 01:02 AM

Updated Database Error

Unknown column 'phrasegroup_global' in 'field list'

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

Unknown column 'phrasegroup_global' in 'field list'

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

please are you still working on it?

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

If it doesn't work maybe i will just install fresh Vbulletin and start from scratch.
Vbulletin staff are not helping to resolve the issue at all. They rather keep asking question and nothing has been done.

@Ozzy47 thanks for all your effort. Please let me know when you are done.

Thanks.


All times are GMT. The time now is 09:49 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.01456 seconds
  • Memory Usage 1,828KB
  • 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
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete