vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Administrative and Maintenance Tools - Template Modification System (https://vborg.vbsupport.ru/showthread.php?t=152931)

Videx 04-12-2009 04:24 AM

When you search this mod for "illegal collations", what do you see? Obviously your post is at the top, but surely you must see mine below that?

I agonized over that problem for weeks. I'm still a little pissed about it I guess, sorry. Especially if people are going to keep posting the problem even after I posted a solution for it.

PGAmerica 04-12-2009 09:41 PM

There is no reason to get angry. I saw your post. Your solution requires that I backup my 450MB database, run a "search and replace" and then re-upload the 450MB database. This is an impossible solution for me. There is just no way to do that on such a large, large, large database.

dartho 04-12-2009 10:02 PM

Look here: http://www.phpwact.org/php/i18n/utf-8/mysql

PGAmerica 04-12-2009 10:23 PM

Thank you dartho. That was very helpful. I also found that I can change the overall characterset in phpMyAdmin using the "operations" tab.

TheLastSuperman 04-12-2009 10:31 PM

wtf... out of line a bit I might be but rest assured your sanity is safe with me...

Quote:

Originally Posted by Videx (Post 1789377)
How can anyone with 314 posts not read back before posting a question like that? Did you just dive into this mod and try to install it without bothering to read the earlier posts?

How can someone w/ 500+ not understand the need for tact on here in regards to coders simply not understanding the inner workings of every aspect of every coding language nor the need to read 500 posts or 800 pages to find an answer that should be in the first post to begin with? - We all are trying, even the most experienced :p

Quote:

Originally Posted by PGAmerica (Post 1789398)
35 pages. I did a search in this thread and read through many posts stating the same thing. Instead of just chewing me out, how about telling me which post you are referring too? I read about people being told to fix their database over and over again, but I saw nothing about how to do it. My forums have been working perfectly. I find it hard to believe that the database is screwed up.

Videx is not saying your db is messed up, from the admin panel disable the mod. What he should of said is your DB's collation is not the same, just like the error reads:

Quote:

MySQL Error : Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '=' Error Number : 1267
Note the red.

Now you can try changing the collation via phpmyadmin if you have that or another alternative. Backup your DB before doing anything in any editor etc. If it works fine then uninstall the currently disabled mod, leave any files if present but install it again via the product etc, then it should work.

S-MAN

Videx 04-13-2009 01:09 AM

Quote:

Originally Posted by PGAmerica (Post 1789830)
This is an impossible solution for me. There is just no way to do that on such a large, large, large database.

I'm not sure why you feel there's no way to restore your db (I assume you're backing it up regardless).

But if that's the case, I also gave a link to a programmatic solution. However, that was taking forever for me as it would fail every few lines, and taking the time to make the corrections manually got onerous really fast.

Andreas 04-13-2009 11:07 AM

Erm ... you don't have to dump the whole database just to fix a couple illegal collations.

just take a look at your DB, find out which collation is being used most often, adjust the new tables/fields that generate error accordingly and you're done.

Videx 04-13-2009 01:07 PM

Quote:

Originally Posted by Andreas (Post 1790124)
adjust the new tables/fields that generate error accordingly and you're done.

You almost make that sound easy. But where were you when I was trying to fix mine? I would have gladly given you access to adjust these fields for me. :)

Fact is, in my case about 80 tables were different collations, and after sitting down one day and manually changing each one in PHPMyAdmin, I discovered that only changes the tables, not the fields within! A real PITA that hadn't bothered me at all until I tried to install this mod.

TaMpE 04-15-2009 08:57 PM

am I limited to editing only these templates? :(

https://vborg.vbsupport.ru/external/2009/04/21.png

I'm trying to edit showthread through TMS.

EDIT: I just read that I can onyl use TMS on templates I already edit so if I already manually edit the template I want why am I also adding that edits in TMS? I'm confused.

and do I always have to edit manually first to make it appear in the drop down list of TMS then change the one I manually edited back to the default and then add the edits in TMS? Someone share me how you do it.

slyreptile 04-16-2009 07:20 PM

Quote:

Originally Posted by TaMpE (Post 1791974)
am I limited to editing only these templates? :(

https://vborg.vbsupport.ru/external/2009/04/21.png

I'm trying to edit showthread through TMS.

EDIT: I just read that I can onyl use TMS on templates I already edit so if I already manually edit the template I want why am I also adding that edits in TMS? I'm confused.

and do I always have to edit manually first to make it appear in the drop down list of TMS then change the one I manually edited back to the default and then add the edits in TMS? Someone share me how you do it.

In your Template Modifications Manager, select Add Template-Modification under the MASTER STYLE dropdown box. This allows you to create the template edit for all styles without actually manually editing any template beforehand.


All times are GMT. The time now is 10:35 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.02153 seconds
  • Memory Usage 1,745KB
  • 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
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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