Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

From Bootstrap to Wordpress

So, late last night I was working on

From Bootstrap to Wordpress | Create A Single Blog Listing

Everything installed perfectly, all projects files loaded fine until I brazenly took it upon myself to skip ahead of myself and video lesson and added file

wp12.2.11-bootstrap-to-wp lesson somewhere in the 'Add Bootstrap Components to Wordpress Theme' while trying to manually fix zlib in Apache due to WP not installing any widget components to my wp theme.

refreshing my website folder after minor changes and everything stopped working from XAMPP Apache and MSQL.

Deleted everything to then re-installing and now I can't get passed a simple task of the local server which prompts me with an

Error Establishing A Database Connection

if the teacher could help or can we email teachers with link to screen recording as my youtube is on private?

3 Answers

Justin Carlson
Justin Carlson
12,755 Points

when you reinstalled xampp did you start mysql ? it does not start by default.

yep both Apache and Mysql are a green light go the only thing I can say to the XAMPP is the first time I installed MAMP it wouldn't open the database through MAMP so, I opened and loaded database through XAMPP control panel.

When I start XAMPP for both Apache and Msql I notice that now the icon XAMPP shows up twice but if I click out of one icon it stops both or all altogether which wasn't something I encountered when I installed local server the first time.

Justin Carlson
Justin Carlson
12,755 Points

Mac/Windows//Linux?

I work at a support company and can use gotoassist to have a look at your config if you like?

Here's a link to my screen recording I took if there something you notice from the video that is off let me know

Screen Recording

What I notice when you watch the vid is how my localhost lags when loading through MAMP, double XAMPP icons.

database name : is bootstrap_to_wp username : wpuser password : no password database host: localhost

Localhost server file index is titled bootstrap_to_wp.com also in XAMPP, MAMP, and website folder so there are no spelling errors from what I can tell and Wordpress 4.0

Justin Carlson
Justin Carlson
12,755 Points

Sorry I tried the link and it brings me to a site asking if I want to borrow the movie final from you?

If you are around tomorrow I can have a look via our support tool at work and we can fix it together quick :-)

Ditto comment. I fixed wpress site. I went back and figured out what my own problem was, it was port conflicts on windows between MAMP and XAMPP followed by the wrong port 8888 to port 80.

Something I didn't see mentioned in the video was Handling port conflicts on windows and a more thorough walk through between MAMP and XAMPP. I watched a different online tutorial and re installed XAMPP and checked off from installation some of the bloated add on in XAMPP that from video said it should run XAMPP a little faster followed by running XAMPP as administrator and how to get to the XAMPP windows homepage features ie status, security, phone book, PEAR extensions and so on.

My WP set up