Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
mouh_stach007
Posted - 09 Aug 2011 : 19:19:03 Hi I've been using onex to export my XMM database to the onex mysql database in order to create webpages.
Until now (a few month ago) it was working quite properly with the ternot help
quote:Originally posted by ternot
Hi there,
I know this error ;-)
The solution is described in another thread:
quote: Currently the script will always hang, if a new field is added to the XMM DB. The DBId is the rest of a test I did with something like a real primary key, but I stopped that test... Although your code should work, the correct text in line 372 in the import.php script should :-) be
`Movie3D` bit(1) DEFAULT NULL,
Additionally I would recommend to rename the config.inc to config.php and to change the import.php (line 5) and index.php (line 9) to point to this file...
Best regards ternot
But there is apparently new changes to XMM Database : while importing with import.php it shows errors:
Error: Unknown column 'CHARACTERINFO' in 'field list'
It clearly refuses to import movies, while still creating the 3 tables roles, movies, genres in mysql database. While looking directly to the xml file, I can see 3 new fields that are not in the import.php file : CHARACTERINFO,SERIESTATUS,ORIGINAL
just after MOVIE3D field.
It's clearly here thatr there is a problem, because import.php script doesn't create these new fields in mysql table "movies"
I've tried to add these lines directly in the import.php
because even if movie3D seems to be a bit (1), the value in xml file is "False" Therefore I've changed it to varchar to be OK But the 3 new fields i've added aren't created by import.php It doesn't create movie table anymore. I'm not a php master just a newbie trying to change it line by line... There is apparently problem with the createtables()function, which is probably working recursively, and adding 3 more lines in the table is making all the rest of the process wrong...
Can someone look to this problem?
Maybe Ternot himself can change it, but I think that at this time of year there is lot's of people in vacation...
Thanks a lot ;)
1 L A T E S T R E P L I E S (Newest First)
ternot
Posted - 09 Aug 2011 : 21:41:07 Hi there,
unfortunately I'm not on vacation ;-)
I will have to take a closer look tommorrow, but for now I can see, that there might be a wrong char in your code: