seyDoggy / yo-angular-php-crud

A sample Yeoman application with an integrated Slim PHP CRUD API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Debugging api malfunction

Dalboz opened this issue · comments

Hi, when calling grunt serve there are no records displayed.....
Checked index.php db connection parameters and all seems alright
In you experience, you know what could it be wrong?

screen shot 2015-04-04 at 19 13 13

PEBCAK....

For some reason you have to change the file index.php

original line $dbhost="localhost";
changed line $dbhost="127.0.0.1";