Welcome Guest. Please Login or Register  


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



Threaded Mode | Print  

 Custom Script not importing SQL (1 Replies, Read 563 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: --   

Custom Script not importing SQL
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5652
Status:
Hi,

Can you please email me your install.php at brijesh[@]softaculous.com

I will check it for you.

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 24, 2024, 11:42 am.

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