rest-api icon indicating copy to clipboard operation
rest-api copied to clipboard

running without nanobox

Open rnvijay opened this issue 5 years ago • 2 comments

Hi, I'm more comfortable running php apps without nanobox, docker etc, I can understand better..

I managed to do following:

  1. built the app with composer install
  2. ran vendor/bin/phinx migrate that created tables
  3. ran vendor/bin/phinx seed:run --> nothing seems to happen -- is there any sample data? if not how do i create password
  4. checked db and tables are there but no data

once i do this, i am encountered with 2 issues

  1. GET URL like /companies gives "Invalid Token" -- i guess this is understanble as i've not logged in got token
  2. 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

rnvijay avatar Sep 08 '20 00:09 rnvijay

This post is old.......but did you happen to have any luck?

ChaoticDalo avatar Feb 06 '22 22:02 ChaoticDalo

i didnt try after that, let me know if it works for u...and what is the fix

rnvijay avatar Feb 19 '22 10:02 rnvijay