Hi,
I'm creating a custom script, all processes run normally ... Except for running the .sql file that is in the package.
In my install.php file I tested the following commands:
1 -
PHP Code $ queries = sfile ($ software ['path']. '/ idealcp.sql');
sdb_query ($ queries, $ __ settings ['softdbhost'], $ __ settings ['softdbuser'], $ __ settings ['softdbpass'], $ __ settings ['softdb']);
2 -
PHP Code $ queries = sfile ('/ var / softaculous / idealcp / idealcp.sql');
sdb_query ($ queries, $ __ settings ['softdbhost'], $ __ settings ['softdbuser'], $ __ settings ['softdbpass'], $ __ settings ['softdb']);
3 -
PHP Code sdb_import ($ software ['softname']. '. sql');
4 -
PHP Code sdb_import ('/ var / softaculous / idealcp / idealcp.sql');
My Softaculous log file shows no error.
Softaculous version: 5.0.0
Heeelp
|