Redirection to /sfInstallPlugin/checkSystem

14 views
Skip to first unread message

Franck Dupont

unread,
Mar 12, 2015, 6:01:44 AM3/12/15
to qubi...@googlegroups.com
Hi there,

I've a tricky problem :

I must insert a dump of ATOM's database & then populate the search index : "php symfony search:populate".

After that, le system redirect all pages me to /sfInstallPlugin/checkSystem.

Any Idea ?

Thanks.

Franck.




Jesús García Crespo

unread,
Mar 12, 2015, 11:12:49 AM3/12/15
to qubi...@googlegroups.com
Hi Franck,

Under normal conditions, AtoM redirects you to the installer when the application failed for whatever reason *and* the configuration file config/config.php does not exist. It happens here: sfInstallPluginConfiguration.class.php#L12-L22.

If you want to load a new database into a fresh installation of AtoM the right thing to do is: (1) install AtoM first in an empty database, (2) one you are done, drop the database and create it again using the mysql cli, (3) load the database with "mysql ... < database.sql", (4) rebuild search index... and done!

Step #1 will create all the necessary files in AtoM, e.g. config/config.php, apps/qubit/config/settings.yml, etc... and remember to set the right filesystem permissions before you start the installation otherwise the application won't be able to create these files!

I hope that helps! Don't hesitate to ask more questions.

PS: I find that this particular question fits better in ica-ato...@googlegroups.com, but no big deal :)

--
You received this message because you are subscribed to the Google Groups "Qubit Toolkit Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qubit-dev+...@googlegroups.com.
To post to this group, send email to qubi...@googlegroups.com.
Visit this group at http://groups.google.com/group/qubit-dev.
For more options, visit https://groups.google.com/d/optout.



--
Jesús García Crespo,
Software Engineer, Artefactual Systems Inc.
http://www.artefactual.com | +1.604.527.2056
Reply all
Reply to author
Forward
0 new messages