This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$square_url = 'https://connect.squareup.com/v1/me/items/27/image'; | |
$cfile = new CURLFile('sites/default/files/styles/artists_page/public/artists/grant.png', 'image/png', 'image_data'); | |
$image_data = array('image_data' => $cfile); | |
$curl = curl_init(); | |
curl_setopt($curl, CURLOPT_HTTPHEADER, array( | |
'Authorization: Bearer ' . $access_token, | |
'Content-Type: multipart/form-data; boundary=BOUNDARY', | |
'Accept: application/json' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$curl = curl_init(); | |
curl_setopt($curl, CURLOPT_HTTPHEADER, array('Authorization: Bearer ABCD1234etc','Content-Type: multipart/form-data; boundary=BOUNDARY')); | |
curl_setopt ($curl, CURLOPT_URL, "https://connect.squareup.com/v1/me/items/27/image"); | |
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST"); | |
curl_setopt($curl, CURLOPT_POSTFIELDS, ['image_data' => '@sites/default/files/styles/artists_page/public/artists/grant.png']); | |
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); | |
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE); | |
curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, FALSE); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-05-27 13:30:00,353 INFO [JPAPushMessageInformationDao] (EJB default - 9) Processing send request with '[alert=DERNIÈRES NOUVELLES : Chris Pushtest 100, criteria=[aliases=null, deviceTypes=null, categories=null, variants=[df1b6b2e-d40a-4e3b-b92e-5ece9b2545ab, a66184aa-9095-4bcb-918b-4c92a029b2aa]], time-to-live=-1]' payload | |
2015-05-27 13:30:00,369 INFO [GCMPushNotificationSender] (EJB default - 9) Sending payload for [1] devices to GCM | |
2015-05-27 13:30:00,540 INFO [GCMPushNotificationSender] (EJB default - 9) Message to GCM has been submitted | |
2015-05-27 13:30:01,026 INFO [ClientInstallationServiceImpl] (EJB default - 8) Message to APNs has been submitted | |
2015-05-27 13:30:01,104 INFO [ClientInstallationServiceImpl] (EJB default - 9) Message to APNs has been submitted | |
2015-05-27 13:30:01,653 INFO [GCMPushNotificationSender] (EJB default - 8) Sending payload for [1] devices to GCM | |
2015-05-27 13:30:01,746 INFO [GCMPushNotificationSender] (EJB default - 8) Message to GCM has been submitted | |
201 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-05-27 09:55:48,107 WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Timer-1) SQL Error: 1146, SQLState: 42S02 | |
2015-05-27 09:55:48,107 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (Timer-1) Table 'unifiedpush.realm' doesn't exist | |
2015-05-27 09:55:48,107 WARN [org.keycloak.services.scheduled.ScheduledTaskRunner] (Timer-1) Failed to run scheduled task ClearExpiredEvents: javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not extract ResultSet | |
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1763) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final] | |
at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1677) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final] | |
at org.hibernate.jpa.internal.QueryImpl.getResultList(QueryImpl.java:458) [hibernate-entitymanager-4.3.7.Final.jar:4.3.7.Final] | |
at org.keycloak.models.jpa.JpaRealmProvider.getRealms(JpaRealmProvider.java:59) [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-05-26 09:19:10,451 ERROR [io.undertow.request] (default task-4) UT005023: Exception handling request to /ag-push/rest/metrics/dashboard/warnings: org.jboss.resteasy.spi.UnhandledException: javax.persistence.PersistenceException: org.hibernate.PropertyAccessException: Null value was assigned to a property of primitive type setter of org.jboss.aerogear.unifiedpush.api.iOSVariant.production | |
at org.jboss.resteasy.core.ExceptionHandler.handleApplicationException(ExceptionHandler.java:76) [resteasy-jaxrs-3.0.10.Final.jar:] | |
at org.jboss.resteasy.core.ExceptionHandler.handleException(ExceptionHandler.java:212) [resteasy-jaxrs-3.0.10.Final.jar:] | |
at org.jboss.resteasy.core.SynchronousDispatcher.writeException(SynchronousDispatcher.java:149) [resteasy-jaxrs-3.0.10.Final.jar:] | |
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:372) [resteasy-jaxrs-3.0.10.Final.jar:] | |
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:179) [resteasy-jaxrs-3.0.10.Fina |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2015-05-24 13:47:25,639 INFO [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final | |
2015-05-24 13:47:25,686 WARN [org.jboss.modules] (main) Failed to define class org.jboss.as.jmx.PluggableMBeanServerBuilder in Module "org.jboss.as.jmx:main" from local module loader @7f09fd93 (finder: local module finder @68e6ff0d (roots: C:\Program Files\wildfly-8.2.0.Final\modules,C:\Program Files\wildfly-8.2.0.Final\modules\system\layers\base)): java.lang.UnsupportedClassVersionError: org/jboss/as/jmx/PluggableMBeanServerBuilder : Unsupported major.minor version 51.0 | |
at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.6.0_38] | |
at java.lang.ClassLoader.defineClassCond(Unknown Source) [rt.jar:1.6.0_38] | |
at java.lang.ClassLoader.defineClass(Unknown Source) [rt.jar:1.6.0_38] | |
at org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361) [jboss-modules.jar:1.3.3.Final] | |
at org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) [jboss-modules.jar:1.3.3.Final] | |
at |