Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : AutoInstaller : protocol broken with WordPress



Threaded Mode | Print  

 AutoInstaller : protocol broken with WordPress (6 Replies, Read 816 times)
Naska4444
Group: Member
Post Group: Newbie
Posts: 4
Status:
Hello,

I use the laste version (php 5.6-7.0) and uploaded softaculous.php and softaculous_extra.php.

My aim is to automatically create a WordPress Install ons erver setup.

I did not create any custom fields in WHMCS because I don't want my user to decide.
I want my script to set credentieals, folders, etc...

The PROBLEM is the final install don't have protocol (none http// or http//www.).

It simply creates a wordpress install with domain.com (protocol empty). (See picture attached.

I tried :
$GLOBALS['softaculous_conf']['protocol'] = 'http-//www.';
$GLOBALS['softaculous_conf']['softproto'] = 'http-//www.';
$GLOBALS['softaculous_conf']['defaults']['protocol'] = 'http-//www.'; 
$GLOBALS['softaculous_conf']['defaults']['softproto'] = 'http-//www.';


It did not work. am i missing something with WordPress ?

(replace - per : in urls...)
IP: --   

AutoInstaller : protocol broken with WordPress
Naska4444
Group: Member
Post Group: Newbie
Posts: 4
Status:
Picture attached
IP: --   

AutoInstaller : protocol broken with WordPress
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

This should work :
PHP Code

 $GLOBALS['softaculous_conf']['defaults']['softproto'] = 2;
/*
1 for http://
2 for http://www.
3 for https://
4 for https://www.
*/ 




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

AutoInstaller : protocol broken with WordPress
Naska4444
Group: Member
Post Group: Newbie
Posts: 4
Status:
Ok Thank you.
I think you should make a FAQ somewhere.
also I never found any install.xml file. Where are these ?
IP: --   

AutoInstaller : protocol broken with WordPress
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

Sure we will document this.

The fields protocol, domain name, directory, database name are required for all scripts hence are included from the Softaculous core files. Only the dynamic fields like admin username, database prefix, admin pass, site name, etc are loaded from install.xml as they vary from script to script.

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

AutoInstaller : protocol broken with WordPress
Naska4444
Group: Member
Post Group: Newbie
Posts: 4
Status:
Ok thank you !

Yes please if the vars are the same for every script, then It would be awesome to have a cheatsheet.

Best regards
IP: --   

AutoInstaller : protocol broken with WordPress
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

I think from the list of fixed field list the only one that could have a default value was protocol. All other fields are not dynamic like domain name, database name, etc and needs to be generated as per the account in which the script is being installed.

-----------------------
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 19, 2024, 10:06 pm.

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