Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Custom Script not importing SQL



Normal Mode | Print  

 Custom Script not importing SQL (1 Replies, Read 593 times)
byeloff
Group: Member
Post Group: Newbie
Posts: 1
Status:
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
IP: --   


Threads
 byeloff   Custom Script not importing SQL (1 Replies, Read 593 times)
    |--  Brijesh   Hi, Can you...   on May 30, 2018, 7:59 am

« Previous    Next »

Normal Mode | Print  



Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is September 27, 2024, 3:18 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.023