Installation error. Fresh install from nightly 2013-03-01 16:44 (-0800)

Notice: Trying to get property of non-object in commons_admin_permissions() (line 257 of /home/kljb/public_html/fic/profiles/commons/commons.profile).
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'rid' cannot be null 

This happened after submitting the "first group" form with a proper title and body.

Comments

keithleeds’s picture

Status: Active » Closed (cannot reproduce)

An FYI... after dropping all the tables, removing settings.php, and running the install again, it flew fine, with the identical input. No explanation as to why.

jsulmar’s picture

Version: » 7.x-3.19
Issue summary: View changes
Status: Closed (cannot reproduce) » Needs review

ditto what keithleeds said.
Using commons-7.x-3.19-core.tar.gz, the install.php script produced "Trying to get property of non-object" error while trying to create first group.
I dropped all tables, deleted settings.php, ran install.php again and it worked fine.
Great feature!

robladdish’s picture

Any update on this issue? I also tried dropping all tables and resetting settings.php, and I still get the error.

I spent a couple days on this, reverting to many previous versions of MySQL and PHP, but the error remains. Another post suggested PHP 5.3 is required, but this is many, many years old, and doesn't seem compatible with the latest Apache.

This error is occurring for me on a brand new install/VM, Apache 2.4 running on Windows 7, PHP 7.07, MySQL 5.7.

Any suggestions? This seems to be a show stopper and I can't continue. It looks like I need to install all the commons modules one at a time?