-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find cURL class #22
Comments
@goonydev It seems like your installation is missing curl library. Please make sure it is enabled |
You are right. I will try to install it and come back to close this ticket if it fixes the issue. Thank you for your help. |
Hi again, I tried this time to install the library on a server that has cURL for sure, and I get the exact same message: Fatal error: Class 'ChapterThree\AppleNewsAPI\PublisherAPI\Curl' not found in /xxxxxxxxx/AppleNewsAPI/src/PublisherAPI.php on line 20 I installed the package like it is told in the description. However, I got those warnings while running "composer.phar install": Package kherge/version is abandoned, you should avoid using it. No replacement was suggested. It's too bad... I don't want to reinvent the wheel and write my own code to upload apple news articles. Do you have any idea what could be wrong? Thanks in advance. |
by the way i get this message while trying to run /examples/PublisherAPI/PostArticle.php, and I made sure to fill the API ids (key, secret, channel_id) with mine. |
I made progress. I had to include "vendor/autoload.php" at the begining of PostArticle.php, is that right? |
Uh? Is Drupal necessary to use this library? |
Hello,
I just installed this library on my local machine running with EasyPHP. I followed the installation guide, but when I try to use the example file to post an article i get the following error:
Fatal error: Class 'ChapterThree\AppleNewsAPI\PublisherAPI\Curl' not found in C:\EasyPHP-Devserver-16.1\spip\AppleNewsAPI\src\PublisherAPI.php on line 20
Now I am not familiar with namespaces and aliases... Is this a common error newbies encounter? Is it the fact that the classes are in a "src" folder, that is not mentionned in the namespace?
Thank you for your time.
Benoit.
The text was updated successfully, but these errors were encountered: