fredbob Posted February 24, 2017 Share Posted February 24, 2017 Hi! I am setting up an automated installed to install ProcessWire with a site profile using Softaculous and WHMCS. I am creating a custom package for Softaculous, basically what it is doing is coping the appropriate files across and setting up the database from a SQL file. What I have tried is: Export the SQL file straight from PhpMyAdmin This causes the modules not to be installed at all, you have to click refresh in the modules section for them to show up. Export the SQL file from PhpMyAdmin (this sets up all the dependancies etc) then copy the file from the site profile I was hoping that this would install the modules as I had them in the ProcessWire install that I am trying to replicate. However I get this error Quote Error: Exception: You do not have permission to execute this module - ProcessPageView (in /home/xfroggyt/public_html/wire/core/Modules.php line 1236) If anyone has any ideas, on what would be the best way about doing this? I realize that the second version is a little bit dodgy. The only other thing I can think of, is grabbing the install file that ProcessWire uses in its installer and using the SQL file or database information in that and merging it with the site profile. Link to comment Share on other sites More sharing options...
fredbob Posted February 24, 2017 Author Share Posted February 24, 2017 I have tried one more thing, I have gotten the SQL file from the installer 'wire/core/install.sql' and then put the site profile SQL file after, and no such luck. The same error as above. Cheers. Link to comment Share on other sites More sharing options...
Harmen Posted February 24, 2017 Share Posted February 24, 2017 9 hours ago, xfroggy said: This causes the modules not to be installed at all, you have to click refresh in the modules section for them to show up. Do you mean the core modules or the modules at /site/modules? And is that really a problem to refresh once to initialise the modules? Link to comment Share on other sites More sharing options...
fredbob Posted February 24, 2017 Author Share Posted February 24, 2017 The site modules do not install when I use the first method. It isn't a problem for me if I were using it, but because we are offering this a service to people, (they go to our website, purchase the product, it automatically installs then they can use the product) then yes it is a problem. Link to comment Share on other sites More sharing options...
fredbob Posted February 25, 2017 Author Share Posted February 25, 2017 Basically I would like to know what would cause this error: Quote Error: Exception: You do not have permission to execute this module - ProcessPageView (in /home/xfroggyt/public_html/wire/core/Modules.php line 1236) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now