I think it only happen in MySql 5. I saw a discussion about this, while searching on google, and somebody encountered the same problem, by inserting empty string, instead of null into the primary id with auto increment.
I think I got it to work - in the accesscontrol.inc.php file I did the following :
$itemid = isset($_REQUEST[’id’]) ? $_REQUEST[’id’] : ’NULL’;
just added single quotes around NULL
I’ll try a clean install again tomorrow and will check again whether it works - however, I’m able to log into the manager and I get the modx main page.
thanks for your help.
-
MODX Staff
- 12,272 Posts
Very nice find Marco. Thanks for being so persistent!
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
did a clean re-install and can confirm that adding those single quotes solves the problem - I’m able to get the site and the manager.
however, whatever menu layout I choose in the manager, it doesn’t seem to have an impact at all. moreover, there is no wysiwyg editor to choose in the dropdown menu. plugins and modules don’t get installed although they were checked. - there is really some weird stuff going on - maybe some other quotes problems.
just to confirm, I didn’t get any installation errors at all - maybe just one:
in the installation summary, I’m getting this:
Module:
Field ’disabled’ doesn’t have a default value
I’ve also had the WYSIWYG editor dropdown problem. However, I didn’t encounter the same problems as mmjaeger on the Manager itself - put TinyMCE in the plugins directory but no joy. Anyone else have this problem? I can look around although I’m new to the app ...
M.
(Hallo Marco! ... it’s been a few years since the early days of WYSIWYG ...)
You have to run the installer that came with the modx version of TinyMCE to get it to work.
it’s not only a tinymce problem - none of the modules and plugins are installed although they were all checked upon installation!