paulschneider / b247-api

0 stars 0 forks source link

Channel Error on staging and cycle #76

Closed pablocarrillo closed 10 years ago

pablocarrillo commented 10 years ago

Hi Paul,

I am getting this error on staging and cycle.

---- REQUEST ----
Method: GET uri: http://api.wf-staging.co.uk/v1/channel/2
---- CLIENT HEADERS ----
{
    "Accept": "application/json", 
    "BristolAPIClient": "iphone", 
    "content-type": "application/json"
}
---- CLIENT PAYLOAD----
{}
---- RESPONSE ----
http://api.wf-staging.co.uk/v1/channel/2
---- SERVER HEADERS ----
x-powered-by PHP/5.4.28
set-cookie laravel_session=eyJpdiI6IkQ3Mk1jUDJrWXlQTzZRaVNTNncrWHc9PSIsInZhbHVlIjoiYjF4dXNpbG5jMWZYWU5nanlzRElaUU8ra05GcE1Cc2hqXC9SdHJ2UmF0Z1A1akRMNUVIN0tEbENvaFwvdUJWUWlpNzhMeldEcThUR3h4XC9SalJkeVwvazd3PT0iLCJtYWMiOiIwNjA1NTlhYzA5NGEyNTRjYTk5ZjRhOGY2YjdjZWQxYmVhZTE1MDU1NDMwZDJkNDg3NDdjNmI0YTgyZmYxYzhiIn0%3D; expires=Wed, 13-Aug-2014 18:37:02 GMT; path=/; httponly
server Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips mod_bwlimited/1.4 PHP/5.4.28
connection close
cache-control no-cache
date Wed, 13 Aug 2014 16:37:02 GMT
content-type application/json
---- SERVER CODE ----
500
---- SERVER PAYLOAD ----
{
    "error": {
        "file": "/home/wfstage/public_html/api/b247-api/web/app/Apiv1/Transformers/ShowTimeTransformer.php", 
        "line": 112, 
        "message": "Undefined offset: 0", 
        "type": "ErrorException"
    }
}
paulschneider commented 10 years ago

Yes I have just fixed this one and am about to deploy to staging and cycle.

paulschneider commented 10 years ago

This is fixed on cycle. Do you want to check and when you're happy I'll push to staging?

pablocarrillo commented 10 years ago

Thanks, now it is working

paulschneider commented 10 years ago

This is now on staging for you also. Tested and seems okay. Closing until told otherwise.