Jump to content

ProcessWire database installation / softaculous


fredbob
 Share

Recommended Posts

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

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...