Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: Parse error including vendor/autoload.php
Post: RE: Parse error including vendor/autoload.php

Quick update on this - I can get the library to work when I load it in an individual controller when loading it like this: PHP Code: -- include APPPATH . 'vendor/mixpanel-php/lib/Mixpanel.php'; $mp...
17,433 Views
8 Replies
04-06-2015, 12:29 PM
cleetus
    Thread: Parse error including vendor/autoload.php
Post: RE: Parse error including vendor/autoload.php

Thanks for the help. Doesn't seem to matter where the /vendor folder is - can put it in APPPATH or in the root and use FCPATH. Returns a 500. Here's the code: PHP Code: -- if (file_exists(APPPATH . ...
17,433 Views
8 Replies
04-06-2015, 11:47 AM
cleetus
    Thread: Parse error including vendor/autoload.php
Post: RE: Parse error including vendor/autoload.php

Thanks. I actually have it above the CI bootstrap require_once. Still error out for whatever reason. Suppose I may just have to write a library.
17,433 Views
8 Replies
03-31-2015, 07:32 AM
cleetus
    Thread: Parse error including vendor/autoload.php
Post: RE: Parse error including vendor/autoload.php

futurewebs Wrote: (03-30-2015, 12:32 AM) -- Sorry, just noticed you said 2.2.1 if this was a 3 version then remove the line of code you added to index.php and then simply set the flag in config.ph...
17,433 Views
8 Replies
03-30-2015, 05:52 AM
cleetus
    Thread: Parse error including vendor/autoload.php
Post: Parse error including vendor/autoload.php

Hey all, Have a project in CI 2.2.1 and have installed composer. I'm working on setting up the Mixpanel PHP library (https://github.com/mixpanel/mixpanel-php), and got the composer.json file done, ...
17,433 Views
8 Replies
03-29-2015, 04:45 PM
cleetus

Theme © iAndrew 2016 - Forum software by © MyBB