Skip to content

running without nanobox #37

Open
Open
@rnvijay

Description

@rnvijay

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

Activity

ChaoticDalo

ChaoticDalo commented on Feb 6, 2022

@ChaoticDalo

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

rnvijay

rnvijay commented on Feb 19, 2022

@rnvijay
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ChaoticDalo@rnvijay

        Issue actions

          running without nanobox · Issue #37 · phalcon/rest-api