LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-25-2010, 12:30 PM   #1
taske
LQ Newbie
 
Registered: Jun 2008
Posts: 8

Rep: Reputation: 0
joomla site migration problems


Hello

I have migrated joomla site from windows 2003 server to fedora 9. During the migration went into database encoding problems but i fixed converting from latin1 to utf8 collation.(macedonian keyboard). Now the problem is with the links linked to files.

when i click on some link to a file i get:

Not Found

The requested URL /ISO_doc/QMS/П ОЦЕДУ И ЗА КВАЛИТЕТ/Процедури за Управување со документите за квалитет - верзија 02.doc was not found on this server.

This is a example link from "Page Source" <a href="/ISO_doc/QMS/%D0%9F%D0%A0%D0%9E%D0%A6%D0%95%D0%94%D0%A3%D0%A0%D 0%98%20%D0%97%D0%90%20%D0%9A%D0%92%D0%90%D0%9B%D0% 98%D0%A2%D0%95%D0%A2/%D0%9F%D1%80%D0%BE%D1%86%D0%B5%D0%B4%D1%83%D1%80%D 0%B8%20%D0%B7%D0%B0%20%D0%A3%D0%BF%D1%80%D0%B0%D0% B2%D1%83%D0%B2%D0%B0%D1%9A%D0%B5%20%D1%81%D0%BE%20 %D0%B4%D0%BE%D0%BA%D1%83%D0%BC%D0%B5%D0%BD%D1%82%D 0%B8%D1%82%D0%B5%20%D0%B7%D0%B0%20%D0%BA%D0%B2%D0% B0%D0%BB%D0%B8%D1%82%D0%B5%D1%82%20-%20%D0%B2%D0%B5%D1%80%D0%B7%D0%B8%D1%98%D0%B0%2002 .doc


Anyone have an idea what can be the problem?
 
Old 10-26-2010, 05:06 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,224
Blog Entries: 1

Rep: Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076Reputation: 2076
Hi,

How did you convert your database from latin1 to utf8?
You should use iconv to convert the sql dump to utf8. Take a look at this whole thread for details

Regards
 
Old 10-26-2010, 11:28 AM   #3
taske
LQ Newbie
 
Registered: Jun 2008
Posts: 8

Original Poster
Rep: Reputation: 0
thanks for the reply bathory

i have used this script and conversion went fine:

DBFROM=dp
DBTO=dp
LOGIN=dp
PASS=XXX

mysqldump --extended-insert=FALSE --default-character-set=latin1 -u

$LOGIN -p$PASS $DBFROM >dp.sql

cat dp.sql |sed -e 's/DEFAULT CHARSET=latin1;/DEFAULT CHARSET=utf8 COLLATE utf8_bin;/'>dp2.sql

cat dp2.sql |sed -e 's/SET NAMES latin1/SET NAMES utf8/'>dp3.sql

echo " drop database $DBTO; create database $DBTO character set utf8 collate utf8_bin;"|mysql -u $LOGIN -p$PASS

mysql -u $LOGIN -p$PASS $DBTO <dp3.sql


Fixed the problem with installing new version of fedora 12.
I think the problem was something to do with internationalization (i18n)
or with locale.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Problems with rewrite module under Ubuntu, using Joomla! Gaahl Linux - Server 9 07-23-2010 01:52 AM
LXer: Joomla! 1.5: A User's Guide plus Fundamentals of Joomla! Video LXer Syndicated Linux News 0 10-26-2009 11:00 AM
LXer: Enrich your Joomla! site with image extensions LXer Syndicated Linux News 0 11-17-2008 10:00 PM
Mail Server and Web Site Migration metallica1973 Linux - Networking 4 03-07-2007 07:37 PM
Joomla test site at home JimT1951 Mandriva 1 12-28-2006 10:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration