Comments (7)
Are you downloading the entire library also are you on the latest version?
from parse.com-php-library.
Yea, I downloaded the latest version of the library here from Github, I'm currently using easyphp and all the curl libraries are correctly running.. I just want to work remotely, without the needing to upload through FTP on my server... Maybe there a compatibility issue with Windows 8 and easyphp, anyone reported any bug for this stuff??
from parse.com-php-library.
Da wp avevo messo 4 classi ok? Classe e superclasse è solo una definizione Inter nos, perché tutte le classi sono uguali a livello di db e di codice, superclasse per me è un contenitore, infatti sia album foto che album brani hanno una property array dove ci vanno foto e brani. Quindi se ok per fare 2 album distinti è come avevo scritto nel wp. Non credo che stiamo dicendo 2 cose diverse, credo solo che non ci stiamo capendo. Per la data io direi che la data di creazione. Dell'oggetto è la data in cui si immette un brano o una foto e questo è createdAt, ma poi io metterei una data che è la data in cui l'utente ha fatto il brano o scattato la foto. Torna?
Luca
Il giorno 17/dic/2012, alle ore 13:59, StefanoJ [email protected] ha scritto:
Allora Lu, in pratica nel wp avevi definito la classe date automatica da
impostare al momento del caricamento del brano, quindi mi sembrava un
doppione, tant'è che nel form non l'avevamo messo...
Secondo io farei due superclassi una Media l'altra MediaCollection...
Non so se hai in mente bene la cosa delle superclassi, ma servono a tenere
logicamente connessi degli oggetti..ti faccio un esempio piuttosto concreto:Media ha le var : autore, descrizione, titolo, path di allocazione che
devono essere messe per tutti i tipi di file (siano essi immagini o
canzoni) - quindi sono variabili comuni a tutti i Media... quindi media può
essere una superclasse... Infine Brano è una sottoclasse di Media che ha
variabili specifiche differenti da Immagine, come la durata. Io utilizzerei
questo approccio... ed era quello che avrei fatto oggi,così lo mostravo a
maria laura e se ne discuteva sulla bontà. ;)2012/12/17 Luca [email protected]
Yea, I downloaded the latest version of the library here from Github, I'm
currently using easyphp and all the curl libraries are correctly running..
I just want to work remotely, without the needing to upload through FTP on
my server... Maybe there a compatibility issue with Windows 8 and easyphp,
anyone reported any bug for this stuff??—
Reply to this email directly or view it on GitHubhttps://github.com//issues/57#issuecomment-11433449.—
Reply to this email directly or view it on GitHub.
from parse.com-php-library.
I had a similar issue at line 178. The problem is that you're not getting a "200" response from your request, so it tries to throw an error. Then that line in the code is expecting $error (parsed json response) to be an object. Instead the response is "FALSE", so it bombs. I changed it to the following to work properly for errors, but you (me, too) still need to figure out why the query fails.
if ($response) { $this->throwError($error->error,$error->code); } else { $this->throwError($response,$responseCode); }
Additionally, my "response code 0" issue was resolved with this:
http://stackoverflow.com/questions/4570973/anything-wrong-with-my-curl-code-http-status-of-0
from parse.com-php-library.
I wasn't aware that parse.com api ever returned a "FALSE", I wonder if this is new? Or maybe its something PHP/curl is doing?
The reason I did it the way I did was to make it easier to figure out why a query was failing. While doing some testing I also found it to be helpful to uncomment line 103 and print the results to screen. Is this where you are getting "FALSE?
from parse.com-php-library.
Yes, but I believe it was a result of curl failing with ssh. The parseRestClient just doesn't seem to handle curl failure, I think.
from parse.com-php-library.
yea, I think you're right. I'll figure out some ways to test or curl and php compatibility and just throw some errors up front if the server can't handle the library. Maybe I'll find some ways around using curl? Doubt it.
from parse.com-php-library.
Related Issues (20)
- Reason for inclusion of all files? HOT 2
- Undefined property: stdClass::$code at line 267 in parse.php when "parse.com error: unauthorized" HOT 1
- Fatal error: Uncaught ParseLibraryException: [103]: parse.com error: class name must be a string thrown HOT 1
- Join two classes data HOT 2
- Many-to-Many relationship
- subscription always shows as 0 when send notification to android using reset api
- HELP URGENT on update row on User class using rest api
- saving or updating only works on string fields HOT 1
- cant save date to date field in parse HOT 2
- Failed to connect to api.parse.com port 443: Timed out HOT 1
- Issue with file upload HOT 1
- File Upload HOT 1
- I am trying to send a push notification using query where objectId equals to HOT 1
- how to write like oparator?
- How do I just get an array of everything in a table? HOT 4
- Cant save simple data
- how search file parseConfig.php? HOT 1
- how filter this error ?
- matches query in parse php
- Modified For Drupal HOT 3
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 parse.com-php-library.