Error in sending request to server - couldn't open file
I required files successfully and set my config too but when i try to
upload a picture from php file
\Cloudinary\Uploader::upload("picture.jpg"); i get error
Error in sending request to server - couldn't open file
|( ! ) Fatal error: Uncaught exception 'Exception' with message 'Error in sending request to server - couldn't open file "pic.jpg"' in C:\wamp\www\PROJECTF\makeYourOwn\cloudinary\src\Uploader.php on line 200|
|( ! ) Exception: Error in sending request to server - couldn't open file "pic.jpg" in C:\wamp\www\PROJECTF\makeYourOwn\cloudinary\src\Uploader.php on line 200|
where do i need to put my file? i am using wamp server. i mean what does 'local file' means in your tutorial,where does it needs to be located? Or the problem is somewhere else?
Thanks!
Lauris
-
After researching this issue with Lauris in a support ticket, we found out together that there was a typo (an extra digit) in the api_key.
0
Post is closed for comments.
Comments
1 comment