Discussion Forums  >  Self Hosted Control Panels

Replies: 6    Views: 93

wunschradio
Lost but trying
Profile
Posts: 7
Reg: Apr 24, 2014
Erkelenz
8,970
04/24/14 05:02 AM (10 years ago)

Error 404 on install

I just tried to install BT-server on my webserver and ran into the 404 error that some threads in this forum are about, too. The problem comes up on http://server.com/BT-server/install/install_2.php?appURL=http://server.com/BT-server&dbTablePrefix=bt_&dbPass=pass&dbUser=user&dbName=database&dbServer=localhost&path=/var/www/... In my case the path variable can not be passed correctly due to security reasons. So just edit the install_2.php in install folder and enter your values: //from previous page if we have it... $path = "path"; $appURL = "http://server.com/BT-server"; $dbServer = "localhost"; $dbName = "database"; $dbUser = "user"; $dbPass = "pass"; $dbTablePrefix = "bt_"; $physPath = "path"; and comment out or delete the following GET data lines: if(isset($_GET["path"])) $path = $_GET["path"]; if(isset($_GET["appURL"])) $appURL = $_GET["appURL"]; if(isset($_GET["dbServer"])) $dbServer = $_GET["dbServer"]; if(isset($_GET["dbName"])) $dbName = $_GET["dbName"]; if(isset($_GET["dbUser"])) $dbUser = $_GET["dbUser"]; if(isset($_GET["dbPass"])) $dbPass = $_GET["dbPass"]; if(isset($_GET["dbTablePrefix"])) $dbTablePrefix = $_GET["dbTablePrefix"]; if(isset($_GET["path"])) $physPath = $_GET["path"]; Save the file and re-upload it. Then change the browser URL from above to just http://server.com/BT-server/install/install_2.php without parameters. As you will notice on install_3.php the same problem occurs. So edit install_3.php as above with the same details. This worked in my case to fully install BT-server 3.
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
04/24/14 05:26 AM (10 years ago)
I'm a little curious who you host with. I only say that because, for those that work with Hostgator, 'localhost' works. On my provider, localhost does not work; I have to use an ip address… So, not all things are the same. make sure your physical path is correct, make sure your permissions are 755, and make sure you can connect to your SQL db using those credentials. If it drives you batty and you can't take it anymore, PSMDanny is a wiz at that sort of thing, and can get you going from zero to buzztouch in a jiffy. https://www.buzztouch.com/account/selfHostedInstallation.php Cheers! -- Smug Edit: and welcome to Buzztouch! hope you find your way around. If you have any more issues, or any kind of question, give the forum a shout!
 
wunschradio
Lost but trying
Profile
Posts: 7
Reg: Apr 24, 2014
Erkelenz
8,970
like
04/24/14 05:29 AM (10 years ago)
I could install as described above, but with original files the parameters could not be set as my server software (I am running Plesk) cut off the value of the physical path. While hardcoding them to the instal_2 and 3.php-files the installation worked. Just wanted to post this, as I habe read several people having this problem.
 
chris3839
I hate code!
Profile
Posts: 26
Reg: Apr 16, 2014
Sannicandro di ...
1,810
like
04/30/14 03:15 AM (10 years ago)
Hi, I've your same problem, because also I use plesk.. I understood that i have to physically modify install_2.php and install_3.php but i don't understand which data i have to insert in this passages: $path = "path"; $appURL = "http://server.com/BT-server"; $dbServer = "localhost"; $dbName = "database"; $dbUser = "user"; $dbPass = "pass"; $dbTablePrefix = "bt_"; $physPath = "path"; Can you explain me that? thank you for your support
 
chris3839
I hate code!
Profile
Posts: 26
Reg: Apr 16, 2014
Sannicandro di ...
1,810
like
04/30/14 03:25 AM (10 years ago)
Hi, I've your same problem, because also I use plesk.. I understood that i have to physically modify install_2.php and install_3.php but i don't understand which data i have to insert in this passages: $path = "path"; $appURL = "http://server.com/BT-server"; $dbServer = "localhost"; $dbName = "database"; $dbUser = "user"; $dbPass = "pass"; $dbTablePrefix = "bt_"; $physPath = "path"; Can you explain me that? thank you for your support
 
chris3839
I hate code!
Profile
Posts: 26
Reg: Apr 16, 2014
Sannicandro di ...
1,810
like
04/30/14 03:25 AM (10 years ago)
Hi, I've your same problem, because also I use plesk.. I understood that i have to physically modify install_2.php and install_3.php but i don't understand which data i have to insert in this passages: $path = "path"; $appURL = "http://server.com/BT-server"; $dbServer = "localhost"; $dbName = "database"; $dbUser = "user"; $dbPass = "pass"; $dbTablePrefix = "bt_"; $physPath = "path"; Can you explain me that? thank you for your support
 
wunschradio
Lost but trying
Profile
Posts: 7
Reg: Apr 24, 2014
Erkelenz
8,970
like
04/30/14 03:53 AM (10 years ago)
You set those data in the first step of install.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.