[TYPO3-realty] OpenimmoImport by Shell & CronJobs fails

Stephan Schreier svtec12 at t-online.de
Sun Jul 18 13:59:19 CEST 2010


Hi Thomas,

i think your path to the openimmoschema isn't right. look at the BACKEND
IMPORT LOG. this is why the xml are invalid!


Stephan

-----Original Message-----
From: typo3-project-realty-bounces at lists.typo3.org
[mailto:typo3-project-realty-bounces at lists.typo3.org] On Behalf Of Thomas
Müller
Sent: Sonntag, 18. Juli 2010 13:49
To: typo3-project-realty at lists.typo3.org
Subject: [TYPO3-realty] OpenimmoImport by Shell & CronJobs fails

rootServer openSUSE 11.1
Typo3 4.4
Realty 0.5.0
Maklersoftware: Flowfact


Hi Oliver,

I've tried setting up the cronjop for openImmoImport with no luck.

I have created the user _cli_realty without ADMIN rights, set up the 
config for the import directory (absolute Path), the PID for realty 
records and images and auxiliary records (witch are different PIDs / 
Folders in my setup), the absolute path to the openImmoSchema (Path to 
the File openimmo_122.xsd).

The Import by shell does not work at all: either the zipfiles were 
deleted, nor a log message is sent, nor the import does work.


At the command shell (User ROOT) this is the error code I get:

########## ERROR LOG SHELL ##############
.../typo3 # /usr/bin/php -q 
/srv/www/vhosts/domain.com/httpdocs/typo3/typo3/cli_dispatch.phpsh 
openImmoImport

/srv/www/vhosts/domain.com/httpdocs/openimmo/Webserver1-20100716141248.zip: 
Das ZIP-Archiv wurde erfolgreich entpackt. Der Datensatz konnte nicht 
geladen werden. Aufgrund invaliden Inhalts wurde der Datensatz 
möglicherweise nicht vollständig importiert. Bitte stellen Sie sicher, 
dass der Datensatz valide ist.

Das Protokoll wurde gesendet an: info at domain.com
########## END ERROR LOG ##############


The import from the typo3 backend works fine. No Problems at all.

########## BACKEND IMPORT LOG ##############
/srv/www/vhosts/domain.com/httpdocs/openimmo/Webserver1-20100716141248.zip: 
Das ZIP-Archiv wurde erfolgreich entpackt.
Der Pfad zur Schemadatei ist ungültig. Bitte überprüfen Sie die 
Konfiguration im Extension Manager. Der Import wird ohne Validierung 
durchgeführt.
Der Datensatz wurde in die Datenbank eingefügt.
....
########## END BACKEND IMPORT LOG ##############


Hope you or somebody else can help me to solve this problem.

best regards,

Thomas Müller
_______________________________________________
TYPO3-project-realty mailing list
TYPO3-project-realty at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-realty



More information about the TYPO3-project-realty mailing list