Page 1 of 1

Creating installer - Populating database

Posted: Mon Dec 03, 2012 7:37 am
by Sdesigns
Hi,

I am not so good with PHP so please bear with me :)

I am trying to make an installer. So far I have it so it extracts the files in the right place and creates a database.
The next step would be to populate the database.
So I have added the following line in public function step3_process

Code: Select all

$this->db_import("install/assets/install.sql");
yet when the installer is run the sql file is not imported into the database.

Any ideas what I may be doing wrong here?

Thanks

Re: Creating installer - Populating database

Posted: Mon Dec 03, 2012 11:18 am
by Phil
Hello,

That looks like the right approach.

Anything in /var/installatron/logs/error_log or /var/installatron/logs/filesystem_log or /var/installatron/logs/install_error_log?

Thank you,
Phil