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, ran my update, and so on. When I require the vendor/autoload.php, I get this error and the screen goes completely blank: PHP Parse error: syntax error, unexpected ';' on line 241 At the bottom of my main index.php file, I've added this line which is causing it (line 241): require 'vendor/autoload.php'; Which is straight out of a Phil Sturgeon article on composer & CI. Anyone have any ideas on how I can resolve this? Any help is appreciated! Thanks. |
Messages In This Thread |
Parse error including vendor/autoload.php - by cleetus - 03-29-2015, 04:45 PM
RE: Parse error including vendor/autoload.php - by futurewebs - 03-30-2015, 12:32 AM
RE: Parse error including vendor/autoload.php - by cleetus - 03-30-2015, 05:52 AM
RE: Parse error including vendor/autoload.php - by mwhitney - 03-30-2015, 10:12 AM
RE: Parse error including vendor/autoload.php - by cleetus - 03-31-2015, 07:32 AM
RE: Parse error including vendor/autoload.php - by CroNiX - 03-31-2015, 07:57 AM
RE: Parse error including vendor/autoload.php - by cleetus - 04-06-2015, 11:47 AM
RE: Parse error including vendor/autoload.php - by cleetus - 04-06-2015, 12:29 PM
RE: Parse error including vendor/autoload.php - by mwhitney - 04-08-2015, 11:41 AM
|