Hello,
I’m having difficulties installing modx - although I’m able to log into the manager after installing modx, there seems to be some stuff missing like snippets for instance.
this is what I get:
Setup will now attempt to setup the database:
Creating connection to the database: OK!
Selecting database `sit_haefeli`: OK!
Checking table prefix `modx_`: OK!
Creating database tables: OK!
Installing demo site: OK!
Writing configuration file: OK!
Chunks:
WebLoginSideBar: Upgraded
Module:
Field ’disabled’ doesn’t have a default value
does anybody have an idea what the problem might be?
thank you
this is what I get if I just read the sql file into a database:
[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ’CREATE TABLE IF NOT EXISTS `{PREFIX}user_settings` (
`user` integer NOT NULL,’ at line 68
[Msg] Finished - Unsuccessfully
maybe a problem related to mysql 5.1??
Yep I had the same problem:
The installer was complaining about missing default values on table columns.
To be precise, these we’re the tables and columns I had to remove the NOT NULL constraint from:
SITE_MODULES
-disabled
-icon
-resourcefile
-createdon
-editedon
SITE_SNIPPETS
-moduleguid
Maybe removing the NOT NULL constraint isn’t the best solution, but at least install will complete.
Onno
Is there a solution to this yet or is modx just not compatible yet with mysql 5?
any help to get modx set up would be very much appreciated.
thank you
-
MODX Staff
- 12,272 Posts
Jason has several MySQL 5 deployments working. Hopefully he can shed more light here.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Great Jason, that solved the problem - no problem installing modx anymore.