Comments (12)
@sensityy Update the dependencies
composer update
from pokemongoapi-php.
You might want to check the PHP error log of your server what the problem is.
from pokemongoapi-php.
I'm getting this error
[Fri Aug 05 10:18:08.073432 2016] [:error] [pid 1420] [CLIENT] PHP Fatal error: require(): Failed opening required '/var/www/html/PokemonGoAPI-PHP/examples/../vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/PokemonGoAPI-PHP/examples/RetrievePlayerStatsExample.php on line 3
I have installed with composer
from pokemongoapi-php.
You do have the file /var/www/html/PokemonGoAPI-PHP/vendor/autoload.php (and the web server process can access it?
from pokemongoapi-php.
I only have example files in the folder, this is the root structure.
https://gyazo.com/c9d0ed977a241570c72410508822e883
from pokemongoapi-php.
So, what's in the vendor folder?
from pokemongoapi-php.
https://gyazo.com/3531ffc680613c4654c1cca13ce82ae4 these
and this is the autoload.php file
`<?php
// autoload.php @generated by Composer
require_once DIR . '/composer' . '/autoload_real.php';
return ComposerAutoloaderInit413b91017c9ef58e1d182eb2c060fa08::getLoader();
`
from pokemongoapi-php.
Still looks like a permission problem to me. Normally you should get additional PHP warnings before the fatal error about the reason for the fatal error. Might be helpful to temporarily turn on display_errors
to see all the output.
from pokemongoapi-php.
Apparently it invisible space in my $application = new ApplicationKernel - it works, sorta now. Now im getting Parse error: syntax error, unexpected 'ECHO' (T_ECHO), expecting identifier (T_STRING) in /var/www/html/PokemonGoAPI-PHP/vendor/nicklasw/pogoprotos-php/src/POGOProtos/Networking/Requests/RequestType.php on line 76
from pokemongoapi-php.
Damn, too slow, exactly that.
from pokemongoapi-php.
Many many thanks! You guys rock! :-) π
from pokemongoapi-php.
@Ni42 Better luck next time ;)
from pokemongoapi-php.
Related Issues (20)
- Exception about reading the full length HOT 1
- Call to a member function getOptions() on null HOT 5
- Fatal error: Call to a member function getType() on null HOT 15
- Update vendor/nicklasw/pkm-go-api/src/Api/Pokemon/Data/PokemonMetaRegistry.php HOT 6
- Where did getType1String() go? HOT 2
- More problems with move sets and pokemon types. HOT 9
- PokΓ©mon Go 0.51.2 API using public hashing server HOT 2
- User Profile Details HOT 4
- When retrieving pokedex new baby eggs are missing HOT 2
- Authentification Exception (sometimes) HOT 3
- Hashing Server HOT 5
- language problem HOT 3
- Fatal error: Uncaught Exception: Retrieved a unknown status code 100 HOT 22
- Retrieved a invalid response. Response code: '403' HOT 2
- Slack and Status update? HOT 2
- Composer not run HOT 4
- Laravel begginer problem HOT 1
- Even after installing composer I'm getting the same error
- 403 Forbidden
- api credentials HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pokemongoapi-php.