rest-api
rest-api copied to clipboard
running without nanobox
Hi, I'm more comfortable running php apps without nanobox, docker etc, I can understand better..
I managed to do following:
- built the app with composer install
- ran vendor/bin/phinx migrate that created tables
- ran vendor/bin/phinx seed:run --> nothing seems to happen -- is there any sample data? if not how do i create password
- checked db and tables are there but no data
once i do this, i am encountered with 2 issues
- GET URL like
/companies gives "Invalid Token" -- i guess this is understanble as i've not logged in got token - POST URL like
/login gives 500 Internal server error PHP Fatal error: Uncaught Phalcon\Mvc\Model\Exception: Failed to store metaData to the cache adapter in /apps/phalcon/rest-api/library/Traits/QueryTrait.php:137
Any ideas how to resolve this .. thanks
This post is old.......but did you happen to have any luck?
i didnt try after that, let me know if it works for u...and what is the fix