Giter VIP home page Giter VIP logo

Comments (4)

andrewscofield avatar andrewscofield commented on September 14, 2024

The only thing I can I think that might not work for you is server isn't being allowed to use CURL with SSL.

from parse.com-php-library.

maiorano84 avatar maiorano84 commented on September 14, 2024

I ran into a similar issue and it took me a bit to find out what was causing it. If you go into the parseRestClient Class and find the following CURL settings:

curl_setopt($c, CURLOPT_TIMEOUT, 30);
curl_setopt($c, CURLOPT_USERAGENT, 'parse.com-php-library/2.0');
curl_setopt($c, CURLOPT_RETURNTRANSFER, true);
curl_setopt($c, CURLINFO_HEADER_OUT, true);`

And add this line: curl_setopt($c, CURLOPT_SSL_VERIFYPEER, false); that SHOULD solve some problems.

from parse.com-php-library.

andrewscofield avatar andrewscofield commented on September 14, 2024

Its true this could fix your problem, but it could also cause some security issues, so I probably won't add this line to the library for now. I'll investigate more though.

from parse.com-php-library.

oswowen avatar oswowen commented on September 14, 2024

I meet the same problem with marcpar and well solved by maiorano84's method.
But then I tried to open test.php and it says: Fatal error: Uncaught ParseLibraryException: [115]: parse.com error: To push to iOS devices, you must first configure a valid certificate. thrown in C:\xampp\htdocs\parse.com-php-library-master\parse.php on line 183.
I am a beginner. I want this parse.com-php-library-master to work as my android app back-end. So much appreciate for your answer.

from parse.com-php-library.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.