View Full Version : Product Importer Doesn't Create DB Tables
tnguy3n
11-15-2005, 11:42 PM
I wrote a product XML file to insert database tables, data, phrases, and templates for my script/add-on. Phrases and templates are to be inserted properly; however, database tables are not created nor the data.
Can anyone please take a look and tell me what I did wrong?
Below is part of codes in my product xml file:
removed
Thanks in advanced!
tnguy3n
Paul M
11-16-2005, 12:58 AM
What version number does the product itself have ?
Marco van Herwaarden
11-16-2005, 05:31 AM
Did you manually write the XML-file?
Are you doing a clean install or an overwrite?
You might want to enable error reporting for testing first.
tnguy3n
11-16-2005, 07:54 AM
What version number does the product itself have ?
@ Paul M: the product version is 1.0
@ Marco:
Yup, I wrote that product xml file, for clean installation. And thank for the tip. the error report pointed me to where to the bug.
For some reasons, MySQL doesn't like the DEFAULT syntax as in ENGINE=MyISAM DEFAULT AUTO_INCREMENT=2 , so I changed it to
ENGINE=MyISAM AUTO_INCREMENT=2
and it worked!
many thanks.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.