Data at Your Fingertips: Explore Our New Reporting and Statistical Capabilities By Ryan Ashbrook Tuesday at 01:29 PM
EricPoggel2 Posted April 4, 2017 Share Posted April 4, 2017 I'm trying to do a fresh installation of IPS Community Suite on my local machine. Here's what I do: I extract the ips_786f4 folder from the "March_23_2017 IPS Community Suite.zip" file. I copy the content of that folder to an Apache web accessible folder. So that /admin, /api, etc. are at the document root. I load up localhost in my browser. This shows a page with the "Start Installation" button - see the attached step1.png I click the button and I immediately see the page with the error shown in step2.png It looks like the php code should be calling mysqli_select_db() or mysqli::select_db(), but I could not find any such code with a full text search of the source code. How is IPS Community Suite supposed to know which database to use? I did get some mysql errors when I tested using the ips4.php script, attached. I have had MySQL installed on this machine for a long time and have used it with a lot of other php software. It looks like it uses the php mysqli extension? I have also attached a simple mysqli script that I used to confirm that mysql/mysqli works on my machine. It successfully prints that 10 rows were found from my "animals" table. mysqli.php Link to comment Share on other sites More sharing options...
Daddy Posted April 5, 2017 Share Posted April 5, 2017 It looks like you do not have the php extension mysqli enabled or installed. Are you using a portable mysql server or MSSQL? Either way you need to enable mysqli. Link to comment Share on other sites More sharing options...
EricPoggel2 Posted April 5, 2017 Author Share Posted April 5, 2017 I do have the mysqli extension installed and working. That's why I tested with the mysqli.php script I attached above. I have MySQL installed as the standard windows service, not portable. Thanks for your help though. Link to comment Share on other sites More sharing options...
*José Antonio Posted April 5, 2017 Share Posted April 5, 2017 Try copy the extracted folder ips_786f4 with all IPS 4 files inside to your apache document root and go to localhost/ips_786f4/admin in your browser. Link to comment Share on other sites More sharing options...
EricPoggel2 Posted April 5, 2017 Author Share Posted April 5, 2017 Thanks for your help, that fixed it! The installer completed successfully. It's strange because the installation instructions say not to do this: Quote It is important to note that when you upload to your web server, you are not uploading the folder itself. You are instead uploading the contents of that folder. To illustrate this, I have highlighted what I will be uploading in this guide below. Oh well. Thanks again. Link to comment Share on other sites More sharing options...
TSP Posted April 5, 2017 Share Posted April 5, 2017 Is it possible you had an existing conf_global.php from the old installation present? You would need to delete that before doing a clean install at the same path. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.