Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : Custom Package input variables not populating database



Threaded Mode | Print  

 Custom Package input variables not populating database (3 Replies, Read 4489 times)
michael_s
Group: Member
Post Group: Newbie
Posts: 6
Status:
I have made a custom script package by duplicating another scripts install.xml and creating my own install.php files.

The package works great at copying over the installation and doing all the configuration files. A working default installation.

The problem I have run into is that none of my input variables populate the database. I cannot figure out how other softaculous packages do it. There are no queries anywhere, just input fields and somehow the info gets to the right place.

So what am I missing?

Can someone explain more clearly and in detail how the input fields of the softaculous install page get mapped to the correct database table and fields?

Do I use the sdb_query in my install.php to populate the table? Or is there some other method to get this to work?





-----------------------
osCmax Lead Developer
IP: --   

Custom Package input variables not populating database
michael_s
Group: Member
Post Group: Newbie
Posts: 6
Status:
Surely someone has encountered this issue before. I would love to hear how you figured out what you were doing incorrectly!

-----------------------
osCmax Lead Developer
IP: --   

Custom Package input variables not populating database
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5640
Status:
Hi,

In the .SQL file you need to replace the text that you need to replace with the [[INPUTNAME]] where INPUTNAME is the name of your input tag in install.xml

This will replace the value posted by the user on the form for the fields you have created.

Let us know if you still face the issue.

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

Custom Package input variables not populating database
michael_s
Group: Member
Post Group: Newbie
Posts: 6
Status:
Quote From : Brijesh November 5, 2014, 11:39 am
Hi,

In the .SQL file you need to replace the text that you need to replace with the [[INPUTNAME]] where INPUTNAME is the name of your input tag in install.xml

This will replace the value posted by the user on the form for the fields you have created.

Let us know if you still face the issue.


Excellent! I knew I was missing something simple! Thank you

-----------------------
osCmax Lead Developer
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 8:49 pm.

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