Demo Installation
Permalink
Hi,
I followed the instructions athttp://www.concrete5.org/documentation/how-tos/developers/concrete5... but when I run the reset script I get the following error:
Fatal error: Call to undefined method FileSet::setPermissions() in /home/sababa/public_html/demo/reset.php on line 112.
What can be the problem?
Thanks.
I followed the instructions athttp://www.concrete5.org/documentation/how-tos/developers/concrete5... but when I run the reset script I get the following error:
Fatal error: Call to undefined method FileSet::setPermissions() in /home/sababa/public_html/demo/reset.php on line 112.
What can be the problem?
Thanks.
I looked for documentation on the permissions, but it seems it was not updated. Do you know if there is any?
It seems like the whole documentation is for 5.5 still. I haven’t found any updates either.
did anyone find a fix?
I'm using another function...
I don't know if this is the best solution but it seems to work!
I changed:
to:
I don't know if this is the best solution but it seems to work!
I changed:
$fs->assignPermissions($adminGroup, FilePermissions::PTYPE_ALL, FilePermissions::PTYPE_ALL, FilePermissions::PTYPE_NONE, FilePermissions::PTYPE_NONE, FilePermissions::PTYPE_NONE);
to:
//$fs->assignPermissions($adminGroup, FilePermissions::PTYPE_ALL, FilePermissions::PTYPE_ALL, FilePermissions::PTYPE_NONE, FilePermissions::PTYPE_NONE, FilePermissions::PTYPE_NONE); $fs->resetPermissions();
But before I had installed 5.6.0.2, there appeared another error:
--- There are already 166 tables in this database. concrete5 must be installed in an empty database. ---
The script should delete all tables in the database before re-installing the system, right? But obviously it does not do.