[Typo3-dev] Linux to Windows
Karsten Dambekalns
k.dambekalns at fishfarm.de
Tue Jun 22 08:50:48 CEST 2004
Hi,
First of all, have you tried to use the Export/Import feature of
TYPO3? I have used this a few times, and it worked fine. There have
been some bug reports about this lately, but it's worth a try - and if
there are some bugs, just submit them to bugs.typo3.org
In case you have never seen this feature: Call up the click menu of
the root *page* of your site, choose 'More options...' and then
'Export to .t3d'. Play around with the export settings, then export.
When importing, you have to create at least one page, before you can
call up the click menu to import. Then go to 'Import from .t3d' and
import the exported file. Move the 'real root page' one level up and
remove the import dummy page you may have created.
Worked for me. :)
But now on to the original thread...
On 2004-06-21, Wolfgang Klinger <wolfgang at stufenlos.net> wrote:
>> Did you see a dump of a typo3 database?
>> Just an exemple of my database:
>> 48:\"usergroup,lockToDomain,disable,starttime,endtime\";s:17:\"dynamicConfigFile\";s:60:\"/home/httpd/poucevert/web/typo3/typo3/sysext/cms/tbl_cms.php\";
>> :67:\"/home/httpd/poucevert/web/typo3/typo3/sysext/cms/tbl_tt_content.php\"
>
> That doesn't look like a mysql dump(?)
It isn't, only part of it... What you see is part of some serialized
PHP data that is in the database.
(Potential) Problems that were mentioned:
- 67 for chars - no problem, just import that, MySQL (and PHP
thereafter) should understand that there are no DOS line
endings. Just do NOT convert the dump from \n to \r\n. *Should* work.
- / instead of \ - doesn't harm at all. PHP can handle / just fine on
all platforms it runs on.
- /home/... instead of c:/.... Now *that* is something I can only
guess on: Ever tried just to search and replace those parts and
adapting the length of the 'string' in the serialized data? Could be
done automatically by some small PHP script and making use of
preg_replace with the e modifier.
Karsten
More information about the TYPO3-dev
mailing list