Created
July 28, 2011 02:41
-
-
Save brucem/1110819 to your computer and use it in GitHub Desktop.
Mysql to update eZPublish siteID
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
update ezsite_data set value = md5(concat(UNIX_TIMESTAMP(), '-',rand())) where name = 'ezfind_site_id'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is handy if you use an existing installation as the basis of a site that will share the same single core eZFind instance.
This mimics what happens in eZSolr::installationID - you must reindex after running this.
The other option is to remove the ezfind_site_id row completely and allow eZSolr::installationID to regenerate (then reindex)