Import gives errors. Need help.

Import gives errors. Need help.

Friday 12 September 2003 1:48:08 pm - 4 replies

Modified on Friday 12 September 2003 1:49:51 pm by Marco Zinn

Author Message

Marco Zinn

Wednesday 17 September 2003 9:49:10 am

Hi folks,

well I found out and solved one issue with the import scripts.
On an other system (Solaris), the import scripts did not work either (ezP 3.2 beta 2), but gave an error about not knowing the function ezi18n.

I could solve this and get the scripts running by inserting one line (in every script).
Insert this line:
include_once( "kernel/common/i18n.php" );
after the other include_once lines.

Unfortunatly, the above mentioned errors still are there on a Suse Linux setup (ezP 3.2 beta 2)

Marco
http://www.hyperroad-design.com

Marco Zinn

Sunday 28 September 2003 9:00:16 am

I solved the other import error now:
When you get an error complaining about something like "not beeing able to call a method of a non-existing object", you might have a setup, where the content is non-english.
As the import-scripts to not evaluate the override files, it read the content locale from the original site.ini, where it is "eng-DB". When your Database is mono-linugal (ie. German-only), the import fails.
Just edit the original settings/site.ini and change "ContentObjectLocale" to your locale (ie ger-DE).
Do NOT change the "Locale", but the "ContentObjectLocale"!

Marco
http://www.hyperroad-design.com

Kenneth Colwell

Friday 06 February 2004 2:10:48 pm

hi,

I'm attempting to import from 2.2.9 to 3.3-3.

When I run php -C importimage.php I get the following error message:

PHP Fatal error: Undefined class name 'ezimage' in /var/www/pub3/importimage.php on line 217
<br />
<b>Fatal error</b>: Undefined class name 'ezimage' in <b>/var/www/pub3/importimage.php</b> on line <b>217</b><br />

Does anyone have any suggestions?

Marco Zinn

Saturday 07 February 2004 2:37:37 am

Hi,
in 3.3, ezPublish uses a new image system. The import scripts were not written for this new image system, and i think, this results in the errors, that you mention.
ez 3.2 uses the old image system (just as 3.0 and 3.1)
So, i suggest, that you installed 3.2-4 (the latest 3.2 release) and import your data from 2.2.9 to 3.2-4.
This should work. Check, if your images are okay in 3.2
Then, make a backup of everything ;) and update from 3.2-4 to 3.3-3
Hope, this helps.

Marco
http://www.hyperroad-design.com

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.