FrancescoBorzi / TC-JSON-API

Mock example of a TrinityCore RESTful API
GNU Affero General Public License v3.0
42 stars 32 forks source link

How to show debug info? #16

Closed darrkz closed 7 years ago

darrkz commented 8 years ago

I try TC-JSON-API recently. But these days when I try to query,it display that : http 500 when I open /TC-JSON-API/public/index.php It told me that "Whoops, looks like something went wrong." I open php error display and found nothing about this error. How to set TC-JSON-API to show debug info?

Helias commented 8 years ago

It shows in storage/logs/laravel.log but probably you should set the permissions of the directories storage and logs to allow the creation of the logs, so put 775 the permissions of storage and logs.

You can use chmod 775, refresh the page where you get the error and check if laravel.log has been created in storage/logs

avengerweb commented 8 years ago

https://github.com/ShinDarth/TC-JSON-API/pull/17