hubbobubbo Posted February 25, 2018 Posted February 25, 2018 Hi I would like to make a localhost installation of TB. I recall struggling with this for PS a couple of years back so before wasting time I wanted to check if someone had step-by-step instructions that are up to date. I noticed another post about a docker image but it was not clear if it was up to date or working.
SLiCK_303 Posted February 25, 2018 Posted February 25, 2018 What localhost software are you going to use? What tb version are you going to install? It's real simple to do this. First install your localhost software, like Wampserver, and make sure its working by going to the localhost default site. Setup an alias to host your tb site. Setup a database, and user WITH password. Copy all the tb files to your alias's folder. Then run the tb install, and use your db name, user and password that you just setup.
hubbobubbo Posted February 25, 2018 Author Posted February 25, 2018 @slick_303 thanks. I am on Mac so it seems xampp is the popular alternative. I will give it a shot and see if I can make it work
hubbobubbo Posted February 27, 2018 Author Posted February 27, 2018 I managed to get quite far using Xampp VM on my Mac. The installation has passed and backoffice is working but frontoffice shows these two errors: Warning: count(): Parameter must be an array or an object that implements Countable in /opt/lampp/htdocs/thirtybees/modules/blockcart/blockcart.php on line 370 Fatal error: Declaration of StatsRegistrations::getData($layers) must be compatible with StatsModule::getData($layers = NULL) in /opt/lampp/htdocs/thirtybees/modules/statsmodule/stats/statsregistrations.php on line 208 My PHP version is 7.1.7 and this is a vanilla installation of 1.0.4-rc.1 Any suggestions?
SLiCK_303 Posted February 27, 2018 Posted February 27, 2018 I would install tb1.0.3, 1.0.4rc1 is not viable...
hubbobubbo Posted February 27, 2018 Author Posted February 27, 2018 My intention was to contribute to the community by testing and it feels like a RC should work good enough for basic tests. 1.0.3 is from august so it would seem a waste of time to aim for that one.
SLiCK_303 Posted February 27, 2018 Posted February 27, 2018 Gotcha, it would be better to test the latest source though. They are way beyond what rc1 was. You can follow my instructions, more or less, to get upto latest source. https://thirtybees.com/developer-blog/upgrade-a-1-0-3-site-to-1-0-4-latest-source/ . Since your at 1.0.4rc1, you can skip some steps already. You might look at my guide and decide what to do and what not to. If you need/want my help I can provide you some...
hubbobubbo Posted February 27, 2018 Author Posted February 27, 2018 cool, will have a look. I did try a clone from 1.0.x first but then some files were not copied at all (the theme) so I choose the rc.1 tag and there is where I ended up with these two issues blocking me.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now