Git Product home page Git Product logo

laracon-todo-api's Issues

API not working when APC not installed

Hi Aaron,
great talk at Laracon. Than you for that. I've tried you api and i've always got back a 500 error when getting the /v1/lists.

The problem is caused, because the api.limit depends on APC and i did not have it installed and i did not fine anything in the Readme.

Not sure if you would like it to add it to the readme so others don't have to send time finding the problem.

cheers
Patrik

create user & key?

hi, just watched your youtube laracon webinar, wanted to set this up - kick it some.

how can i create a user/api key?

thanks!

PUT in Postman == no input?

Not really an issue with your demo api, but when I send a PUT request to the api then there are no input vars from the request (Input::all() or Input::get() is empty). Do you know if this is a Postman bug? When I run a curl command from the command line then I do get input vars.

I'm running OSX and tested locally with a clean L4 setup.

Cheers,
Rolf

Handle erros differently when not an API call

Hey man, awesome presentation at LaraCon (I was not there, but I saw the video).

So, I was wondering, how can I specify to use your errors.php file only when it's an API call? Otherwise it would display the default error pages.

Thanks !

Call to undefined function Illuminate\\Cache\\apc_clear_cache()

Hi,

I've migrated over into L4 dev (yesterday's git clone) majority of your nice code. Made some alterations to migrations, seeds and routes names. All is working fine with the exception of 'php artisan cache:clear' command.

To double-check have pulled and installed your code but am also getting the following error when run 'php artisan cache:clear':

{"error":{"type":"Symfony\Component\Debug\Exception\FatalErrorException","message":"Error: Call to undefined function Illuminate\Cache\apc_clear_cache() in /Users/username/Git/test/vendor/laravel/framework/src/Illuminate/Cache/ApcWrapper.php line 71","file":"/Users/username/Git/test/vendor/laravel/framework/src/Illuminate/Cache/ApcWrapper.php","line":71}}

I'm running my code on latest OS X, MAMP 2.1.1 on PHP 5.4.4 as system's default in env PATH as well as APC caching enabled through its ACP.

Could you please check if you are getting the same behaviour to confirm it's a MAMP on Mac OSX problem? I could try but would have to install Mcrypt on native PHP 5.3.15 wich is a bit of a pain (Xcode, macports and only then Mcrypt).

php -v
PHP 5.4.4 (cli) (built: Jul 4 2012 17:28:56)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
with XCache v2.0.0, Copyright (c) 2005-2012, by mOo

phpinfo();
APC Support enabled
Version 3.1.9
APC Debugging Disabled
MMAP Support Enabled
MMAP File Mask no value
Locking type File Locks
Serialization Support php
Revision $Revision: 324326 $
Build Date Jul 4 2012 17:31:27

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.