Hello
I tried to install Open Classifieds but I had the following issues :
1) Step 4 : Please enter your MySQL database details below
my test DB is a local EasyPHP installation, for which the root password is "". Your JS does not approve it (easily solved by disabling checkForm() )
2) After clicking the "install", I obtain a page declaring "failure". After digging in the code, it seems that the error comes from the line in sql.php :
"ALTER TABLE posts ADD CONSTRAINT FK_posts_categories FOREIGN KEY (idCategory) REFERENCES categories (idCategory) ON DELETE CASCADE ON UPDATE CASCADE"
MySQL error code is #1005 - Can't create table 'openclassifieds.#sql-ee0_3e' (errno: 121).
I've searched for it and the error comes qith InnoDB tables, when the foreign key declaration is not exactly the same that should be.
Here we have :
in Categories table : idCategory int(10) unsigned NOT NULL auto_increment,
in Posts table : idCategory int(10) unsigned NOT NULL default '0',
the difference can be the reason for the problem.
Info on the subject :
http://www.verysimple.com/blog/2006/10/22/mysql-error-number-1005-cant-create-table-mydbsql-328_45frm-errno-150/
Can you have a look of it ? And... could you please change the "failure" messages to something more easy to debug ? A simple "Failure #1", "Failure #2"... can help a lot.
Thanks
Nello
_____________________________________
I run Apache 2.2.13, MySQL 5.1.37 and PHP 5.3.0

