Reply
Highlighted
Member
Posts: 2
Registered: ‎11-18-2016

Failed to open stream - Line 16 of autoload.php

I have copied and pasted the sample code provided on this site, and it was working. I just went back to test it again today, but now it throws these errors:

 

Warning: include(C:\xampp\htdocs\phplod\bids\sdk-php-master/vendor/jms/serializer/src/JMS/Serializer/Annotation/Type.php): failed to open stream: No such file or directory in C:\xampp\htdocs\phplod\bids\sdk-php-master\autoload.php on line 16

Warning: include(): Failed opening 'C:\xampp\htdocs\phplod\bids\sdk-php-master/vendor/jms/serializer/src/JMS/Serializer/Annotation/Type.php' for inclusion (include_path='C:\xampp\php\PEAR') in C:\xampp\htdocs\phplod\bids\sdk-php-master\autoload.php on line 16

 

I was getting this before and the only solution was to keep trying new sdks until it worked- now I finally found one that works, but only half the time? Please advise.

 

-Alan

Posts: 2,765
Topics: 57
Kudos: 245
Blog Posts: 67
Registered: ‎12-05-2011

Re: Failed to open stream - Line 16 of autoload.php

Hello @BenGeocth

 

Are you still experiencing this issue?  You may wish to get our latest PHP sdk with many fewer dependencies than previous versions.

 

Richard