TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 371
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 407
  • Total: 407

moving to different host....how?

Started by clarkkent93, February 14, 2007, 05:39:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

IchBin

I will take a look at it again. But I'm on my linux laptop, which I normally don't use for coding. If I can find a good editor I should be able to fix it. :)

clarkkent93

It appears part of the problem is that the database is kinda funky.  i don't know if that's cause of the transfer or what.  tables are in latin and database is utf8.  i guess this is causing the error.

i do have another question for you and i was hoping you would help me but wondering if i should just pm you about it.

IchBin

I don't mind if you post or PM. What ever you think is best.

clarkkent93


IchBin

Well, you had the same problem at the old adress. This is confusing me.... Are you still having this problem? You have to manually edit each table and make them all the same collation. You can't have a mix of collations.

clarkkent93

yes, i'm still having the problem.  it must have been because i transferred it with the mistakes still in it.   :-\

messed this one up didn't i?  i didn't know i had such problems with the database otherwise i would have fixed it first.  should i switch to utf8 instead of the latin?  isn't there a query that would change all tables at once?

IchBin

I'm sure there's a query to do this, but I don't know it. :( Let me see if I can find someone who does. :)

IchBin

Here's the command, but you have to run it on each table that doesn't have utf8 set as the collation.
QuoteALTER TABLE table_name_here CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;

Here's the index.template.php file with the code changes for the mysql/php etc. buttons. I have no way to test this so make a backup of your original file before trying this. Not even sure how it will look. The images you need to have named like this:
valid-css.gif
valid-xhtml10.gif
powered-php.gif
powered-mysql.gif

And they need to me in your themes images directory.

clarkkent93

#18
I used the command that you gave me and changed all tables.  What's weird is at the bottom where it totals everything up, it still uses the latin collation.

I've attached a text document of what my tables look like.  I know it's not the best method but didn't know how else to do it.

clarkkent93

I used the index file you modified for me.  Here's a file of what it looks like.  Broke the theme a tad bit.

I already have the images in my theme folder.  Wouldn't it be reasonable to assume that it should be getting the information from the default theme?


This website is proudly hosted on Crocweb Cloud Website Hosting.