<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Shephertz Community - Recent questions in PHP</title>
<link>http://forum.shephertz.com/?qa=questions/products/app42-cloud-api-baas/php</link>
<description>Powered by Question2Answer</description>
<item>
<title>Query that find values that have a word in any position</title>
<link>http://forum.shephertz.com/?qa=11426/query-that-find-values-that-have-a-word-in-any-position</link>
<description>&lt;p&gt;
	I want to create a query like:&lt;/p&gt;
&lt;p&gt;
	WHERE name LIKE '%ui%'&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;white-space: pre;&quot;&gt;To f&lt;/span&gt;ind any values that have &quot;ui&quot; in any position of the word, for example:&lt;/p&gt;
&lt;p&gt;
	L'ui's or adoq'ui'n&lt;/p&gt;
&lt;p&gt;
	is this possible to do?&lt;/p&gt;
&lt;p&gt;
	I tried with &quot;Operator::LIKE&quot; but this, only find word that match from the start.&lt;/p&gt;
&lt;p&gt;
	Please, regards.&lt;/p&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11426/query-that-find-values-that-have-a-word-in-any-position</guid>
<pubDate>Wed, 13 Mar 2019 13:50:27 +0000</pubDate>
</item>
<item>
<title>Email Logs are not showing the mail</title>
<link>http://forum.shephertz.com/?qa=11057/email-logs-are-not-showing-the-mail</link>
<description>Hello,

I am using app42 php sdk to send mail but the mails send using the Send Email services there logs are not showing in the email logs.
Can you tell me where can I be able to see the logs for those email that I have sent using the sdk.

Thanks</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11057/email-logs-are-not-showing-the-mail</guid>
<pubDate>Sat, 07 Apr 2018 18:11:13 +0000</pubDate>
</item>
<item>
<title>How I be able change details in the email template that I had created on the APP42</title>
<link>http://forum.shephertz.com/?qa=11056/how-able-change-details-email-template-that-had-created-app42</link>
<description>Hello,

I am trying to send email to on user registration but I don't now how will I be able to change the content in the template that I will create on the App42 panel.

Like username and other details in the template.

Thanks</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11056/how-able-change-details-email-template-that-had-created-app42</guid>
<pubDate>Sat, 07 Apr 2018 15:08:32 +0000</pubDate>
</item>
<item>
<title>Email service not working via APP42 using Gmail SMTP</title>
<link>http://forum.shephertz.com/?qa=11045/email-service-not-working-via-app42-using-gmail-smtp</link>
<description>&lt;p&gt;
	Hello Guys,&lt;br&gt;
	&lt;br&gt;
	I am trying to send the email using App42 email services. I have added the Gmail SMTP credentials&amp;nbsp;in and after that Itried to send a test mail using the PHP code and it returns a success message. But when I check the logs I don't get and logs for the mail that I had sent using the PHP code.&lt;br&gt;
	Otherwise, when I tried to compose a mail from the App42 to console I get the message of Email sent success fully. But when I see in the logs I get the following error&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:java;&quot;&gt;
Error : javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465, response: -1
	at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1949)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:654)
	at javax.mail.Service.connect(Service.java:317)
	at javax.mail.Service.connect(Service.java:176)
	at javax.mail.Service.connect(Service.java:125)
	at javax.mail.Transport.send0(Transport.java:194)
	at javax.mail.Transport.send(Transport.java:124)
	at com.shephertz.app42.paas.app42.email.App42EmailNotifier.notify(App42EmailNotifier.java:126)
	at com.shephertz.app42.paas.app42.email.EmailListener.serviceMail(EmailListener.java:181)
	at com.shephertz.app42.paas.app42.email.EmailListener$1.run(EmailListener.java:138)&lt;/pre&gt;
&lt;p&gt;
	Even I have&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: rgb(24, 24, 24); font-family: Roboto, RobotoDraft, Helvetica, Arial, sans-serif; font-size: 16px;&quot;&gt;Allow less secure apps: ON and enable the IMAP and SMTP from the gmail account setting.&lt;/span&gt;&lt;br&gt;
	Kindly&amp;nbsp;help and let me know where I am going wrong&lt;br&gt;
	&lt;br&gt;
	Thanks&lt;/p&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11045/email-service-not-working-via-app42-using-gmail-smtp</guid>
<pubDate>Tue, 03 Apr 2018 19:24:59 +0000</pubDate>
</item>
<item>
<title>Upload Service image Php issue</title>
<link>http://forum.shephertz.com/?qa=11008/upload-service-image-php-issue</link>
<description>&lt;p&gt;
	Dear Sirs,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	I'm experiancing a problem trying to upload a file by Php:&lt;/p&gt;
&lt;div&gt;
	$filenamepath =&quot;test.jpg&quot;;&lt;/div&gt;
&lt;div&gt;
	if (file_exists($filenamepath)) {&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; try {&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	$upload = $uploadService-&amp;gt;uploadFile(&quot;test.jpg&quot;, $filenamepath, UploadFileType::IMAGE, &quot;Image for Category #&quot;); &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $fileList = $upload-&amp;gt;getFileList();&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;foreach($fileList as $files ) &amp;nbsp;{ &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print_r(&quot;FileName is : &quot;.$files-&amp;gt;getName()); &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print_r(&quot;Type is : &quot;.$files-&amp;gt;getType() ); &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print_r(&quot;Url is : &quot;.$files-&amp;gt;getUrl() ); &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print_r(&quot;TinyUrl is: &quot;.$files-&amp;gt;getTinyUrl() ); &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print_r(&quot;Description is: &quot;.$files-&amp;gt;getDescription()); &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; } &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $jsonResponse = $upload-&amp;gt;toString();&lt;/div&gt;
&lt;div&gt;
	} catch (App42Exception $e) {&lt;/div&gt;
&lt;div&gt;
	print_r($e);&lt;/div&gt;
&lt;div&gt;
	$error = &quot;Oops. Error while uploading a file... Please try again.&quot;;&lt;/div&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	} else {&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp; &amp;nbsp; echo &quot;not exist&quot;;&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
	}&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	We check the file, if exists, but we get always &quot;The Request parameters are invalid. The parameter 'File' cannot be null or empty&quot;.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Can point us in the right direction?&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Thanks in advance,&lt;/div&gt;
&lt;div&gt;
	Valeria Sinnati.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=11008/upload-service-image-php-issue</guid>
<pubDate>Fri, 09 Mar 2018 13:01:45 +0000</pubDate>
</item>
<item>
<title>Order Users's list by date of creation</title>
<link>http://forum.shephertz.com/?qa=10994/order-userss-list-by-date-of-creation</link>
<description>&lt;p&gt;
	Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	I need order by date the users's list, I tried unsucessfully this code:&lt;/p&gt;
&lt;div&gt;
	$userService = App42API::buildUserService();&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	$otherMetaHeaders1 = array();&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space:pre&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
	$otherMetaHeaders1[&quot;orderByDescending&quot;] = 'CreatedOn';&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
	$userService-&amp;gt;setOtherMetaHeaders($otherMetaHeaders1);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Could you please give me a hint, on how to proceed?&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Thanks in advance,&lt;/div&gt;
&lt;div&gt;
	Valeria Sinnati&lt;/div&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10994/order-userss-list-by-date-of-creation</guid>
<pubDate>Mon, 26 Feb 2018 17:16:41 +0000</pubDate>
</item>
<item>
<title>Upload Image using App42 upload service</title>
<link>http://forum.shephertz.com/?qa=10985/upload-image-using-app42-upload-service</link>
<description>&lt;p&gt;
	Hello Guys,&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	I have already added my question on the support but still I hav'nt&amp;nbsp;get any response on that.&lt;/p&gt;
&lt;p&gt;
	Do I have to create a new question every time.&lt;/p&gt;
&lt;p style=&quot;margin-top: 0px; color: rgb(51, 51, 51); font-family: Helvetica, Arial, Sens-serif; font-size: 14px;&quot;&gt;
	I am trying to upload an image using App42 upload service. But I am not able to do so.&lt;br&gt;
	Basically, what I am doing, I had created a form on&amp;nbsp;in which I accept an image to be uploaded. But I am not able to upload the file on the App42.&lt;br&gt;
	so can you explain to me what &quot;Your local file path&quot; refer to cause I had tried to upload from the local file path, but I got an exception 400&amp;nbsp;&lt;span style=&quot;background-color: rgb(42, 42, 42); color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, helvetica, arial, sans-serif; font-size: 20px;&quot;&gt;The Request parameters are invalid. The parameter 'File' cannot be null or empty&lt;/span&gt;&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;ol class=&quot;dp-j&quot; style=&quot;padding-right: 0px; padding-left: 0px; border: none; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgb(92, 92, 92); font-family: droid_sansregular; font-size: 13px; margin: 0px 0px 1px !important;&quot;&gt;
	&lt;li class=&quot;alt&quot; style=&quot;text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-family: Roboto; color: rgb(190, 190, 197); font-size: 15px; line-height: 14px; float: left; width: 694.578px; list-style-type: none; border: none; background-color: rgb(42, 42, 42); list-style-image: initial; margin: 0px !important; padding: 5px 10px !important; text-size-adjust: auto !important; list-style-position: outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; font-size: 12px; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; overflow-wrap: break-word;&quot;&gt;$fileName&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; color: rgb(118, 217, 230); background-color: inherit; overflow-wrap: break-word;&quot;&gt;&quot;&amp;lt;Your_file_name&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; overflow-wrap: break-word;&quot;&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li style=&quot;text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-family: Roboto; color: rgb(190, 190, 197); font-size: 15px; line-height: 14px; float: left; width: 694.578px; list-style-type: none; border: none; background-color: rgb(42, 42, 42); list-style-image: initial; margin: 0px !important; padding: 5px 10px !important; text-size-adjust: auto !important; list-style-position: outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; font-size: 12px; overflow-wrap: break-word;&quot;&gt;$fileType&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; color: rgb(118, 217, 230); background-color: inherit; overflow-wrap: break-word;&quot;&gt;&quot;&amp;lt;Your_file_type&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; overflow-wrap: break-word;&quot;&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li class=&quot;alt&quot; style=&quot;text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-family: Roboto; color: rgb(190, 190, 197); font-size: 15px; line-height: 14px; float: left; width: 694.578px; list-style-type: none; border: none; background-color: rgb(42, 42, 42); list-style-image: initial; margin: 0px !important; padding: 5px 10px !important; text-size-adjust: auto !important; list-style-position: outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; font-size: 12px; overflow-wrap: break-word;&quot;&gt;$filePath&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; color: rgb(118, 217, 230); background-color: inherit; overflow-wrap: break-word;&quot;&gt;&quot;Your&amp;nbsp;Local&amp;nbsp;File&amp;nbsp;Path&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; overflow-wrap: break-word;&quot;&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li style=&quot;text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-family: Roboto; color: rgb(190, 190, 197); font-size: 15px; line-height: 14px; float: left; width: 694.578px; list-style-type: none; border: none; background-color: rgb(42, 42, 42); list-style-image: initial; margin: 0px !important; padding: 5px 10px !important; text-size-adjust: auto !important; list-style-position: outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; font-size: 12px; overflow-wrap: break-word;&quot;&gt;$description&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; color: rgb(118, 217, 230); background-color: inherit; overflow-wrap: break-word;&quot;&gt;&quot;File&amp;nbsp;Description&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; overflow-wrap: break-word;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10985/upload-image-using-app42-upload-service</guid>
<pubDate>Thu, 22 Feb 2018 16:36:38 +0000</pubDate>
</item>
<item>
<title>Upload Image using App42 upload service</title>
<link>http://forum.shephertz.com/?qa=10970/upload-image-using-app42-upload-service</link>
<description>&lt;p&gt;
	Hello,&lt;br&gt;
	&lt;br&gt;
	I am trying to upload an image using App42 upload service. But I am not able to do so.&lt;br&gt;
	Basically, what I am doing, I had created a form on&amp;nbsp;in which I accept an image to be uploaded. But I am not able to upload the file on the App42.&lt;br&gt;
	so can you explain to me what &quot;Your local file path&quot; refer to cause I had tried to upload from the local file path, but I got an exception 400&amp;nbsp;&lt;span style=&quot;background-color: rgb(42, 42, 42); color: rgb(255, 255, 255); font-family: &amp;quot;Helvetica Neue&amp;quot;, helvetica, arial, sans-serif; font-size: 20px;&quot;&gt;The Request parameters are invalid. The parameter 'File' cannot be null or empty&lt;/span&gt;&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;ol class=&quot;dp-j&quot; style=&quot;padding-right: 0px; padding-left: 0px; border: none; vertical-align: baseline; list-style-position: initial; list-style-image: initial; color: rgb(92, 92, 92); font-family: droid_sansregular; font-size: 13px; margin: 0px 0px 1px !important;&quot;&gt;
	&lt;li class=&quot;alt&quot; style=&quot;text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-family: Roboto; color: rgb(190, 190, 197); font-size: 15px; line-height: 14px; float: left; width: 694.578px; list-style-type: none; border: none; background-color: rgb(42, 42, 42); list-style-image: initial; margin: 0px !important; padding: 5px 10px !important; text-size-adjust: auto !important; list-style-position: outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; font-size: 12px; overflow-wrap: break-word;&quot;&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; overflow-wrap: break-word;&quot;&gt;$fileName&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; color: rgb(118, 217, 230); background-color: inherit; overflow-wrap: break-word;&quot;&gt;&quot;&amp;lt;Your_file_name&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; overflow-wrap: break-word;&quot;&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li style=&quot;text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-family: Roboto; color: rgb(190, 190, 197); font-size: 15px; line-height: 14px; float: left; width: 694.578px; list-style-type: none; border: none; background-color: rgb(42, 42, 42); list-style-image: initial; margin: 0px !important; padding: 5px 10px !important; text-size-adjust: auto !important; list-style-position: outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; font-size: 12px; overflow-wrap: break-word;&quot;&gt;$fileType&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; color: rgb(118, 217, 230); background-color: inherit; overflow-wrap: break-word;&quot;&gt;&quot;&amp;lt;Your_file_type&amp;gt;&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; overflow-wrap: break-word;&quot;&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li class=&quot;alt&quot; style=&quot;text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-family: Roboto; color: rgb(190, 190, 197); font-size: 15px; line-height: 14px; float: left; width: 694.578px; list-style-type: none; border: none; background-color: rgb(42, 42, 42); list-style-image: initial; margin: 0px !important; padding: 5px 10px !important; text-size-adjust: auto !important; list-style-position: outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; font-size: 12px; overflow-wrap: break-word;&quot;&gt;$filePath&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; color: rgb(118, 217, 230); background-color: inherit; overflow-wrap: break-word;&quot;&gt;&quot;Your&amp;nbsp;Local&amp;nbsp;File&amp;nbsp;Path&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; overflow-wrap: break-word;&quot;&gt;;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
	&lt;li style=&quot;text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; font-family: Roboto; color: rgb(190, 190, 197); font-size: 15px; line-height: 14px; float: left; width: 694.578px; list-style-type: none; border: none; background-color: rgb(42, 42, 42); list-style-image: initial; margin: 0px !important; padding: 5px 10px !important; text-size-adjust: auto !important; list-style-position: outside !important;&quot;&gt;
		&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; font-size: 12px; overflow-wrap: break-word;&quot;&gt;$description&amp;nbsp;=&amp;nbsp;&lt;span class=&quot;string&quot; style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; color: rgb(118, 217, 230); background-color: inherit; overflow-wrap: break-word;&quot;&gt;&quot;File&amp;nbsp;Description&quot;&lt;/span&gt;&lt;span style=&quot;margin: 0px; padding: 0px; border: none; vertical-align: baseline; background-color: inherit; overflow-wrap: break-word;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10970/upload-image-using-app42-upload-service</guid>
<pubDate>Sat, 17 Feb 2018 14:24:42 +0000</pubDate>
</item>
<item>
<title>How can I integrate App42 SDK with laravel</title>
<link>http://forum.shephertz.com/?qa=10914/how-can-i-integrate-app42-sdk-with-laravel</link>
<description>Hello I want to know that how I'll be able to integrate App42 with laravel.</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10914/how-can-i-integrate-app42-sdk-with-laravel</guid>
<pubDate>Fri, 12 Jan 2018 07:54:56 +0000</pubDate>
</item>
<item>
<title>How to get more than 100 results from leaderbord</title>
<link>http://forum.shephertz.com/?qa=10824/how-to-get-more-than-100-results-from-leaderbord</link>
<description>&lt;p&gt;
	Hi, I'm using this snippet for fetching results from Leaderbord:&lt;/p&gt;
&lt;div&gt;
	$otherMetaHeaders = array();&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	$otherMetaHeaders['offset'] =1;&lt;/div&gt;
&lt;div&gt;
	$scoreBoardService-&amp;gt;setOtherMetaHeaders($otherMetaHeaders);&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	But I still get same 100 results as without it. below you can see my code, probably I put this snippet in wrong place? I made some changes in the core function&amp;nbsp;getTopRankings in library to check the&amp;nbsp;$otherMetaHeaders['offset']. It seems it changes. Without snippet it is -1 with snippet it is 100. But I still get same results in&amp;nbsp;$game-&amp;gt;getScoreList()&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	Help me please&lt;/div&gt;
&lt;div&gt;
	My code:&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; App42API::initialize(API_KEY,SECRET_KEY);&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $scoreBoardService = App42API::buildScoreBoardService();&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $results = [];&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $otherMetaHeaders = [];&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $otherMetaHeaders['offset'] = 100;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $scoreBoardService-&amp;gt;setOtherMetaHeaders($otherMetaHeaders);&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $game = $scoreBoardService-&amp;gt;getTopRankings($gameName);&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; $results = $game-&amp;gt;getScoreList();&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo &quot;&amp;lt;pre&amp;gt;&quot;;&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; print_r($results);&lt;/div&gt;
	&lt;div&gt;
		&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; echo &quot;&amp;lt;pre&amp;gt;&quot;;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10824/how-to-get-more-than-100-results-from-leaderbord</guid>
<pubDate>Wed, 22 Nov 2017 15:59:16 +0000</pubDate>
</item>
<item>
<title>problem in dates sending php getTopNRankers and getRankersByDate</title>
<link>http://forum.shephertz.com/?qa=10773/problem-dates-sending-php-gettopnrankers-getrankersbydate</link>
<description>&lt;p&gt;
	Good morning,&lt;/p&gt;
&lt;p&gt;
	Please help me find out why my query to server works wrong.&lt;/p&gt;
&lt;p&gt;
	I use php-library in order to do a cronjob and to change scores to 0, every day, every week and every month at 00:15:10 GMT. Queries worked fine from 18th of September till today. But today I got this error:&lt;/p&gt;
&lt;p&gt;
	&lt;b style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium;&quot;&gt;Fatal error&lt;/b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium;&quot;&gt;: Uncaught App42NotFoundException: Scores betweem startDate 'Fri Sep 26 15:06:38 UTC 4910' and endDate 'Tue Sep 26 20:00:00 UTC 2017' for the game with the name 'Looney Earth Daily' does not exist. in /home/c5ja7ybj/wp_looneyinvaders_dev3/wp-content/plugins/Featchapp_data/App24/RestClient.class.php:431 Stack trace: #0 /home/c5ja7ybj/wp_looneyinvaders_dev3/wp-content/plugins/Featchapp_data/App24/ScoreBoardService.php(653): RestClient::get('1.0/game/scoreb...', NULL, NULL, NULL, 'application/jso...', 'application/jso...', Array) #1 /home/c5ja7ybj/wp_looneyinvaders_dev3/wp-content/themes/elision-child/forCRON/earthdaily.php(78): ScoreBoardService-&amp;gt;getTopNRankers('Looney Earth Da...', 1506298510, 1506384910, 2000) #2 /home/c5ja7ybj/wp_looneyinvaders_dev3/wp-content/themes/elision-child/forCRON/earthdaily.php(123): AppService-&amp;gt;getRankersByDate('Looney Earth Da...', 1506298510, 1506384910) #3 {main} thrown in&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium;&quot;&gt;/home/c5ja7ybj/wp_looneyinvaders_dev3/wp-content/plugins/Featchapp_data/App24/RestClient.class.php&lt;/b&gt;&lt;span style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium;&quot;&gt;&amp;nbsp;on line&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;color: rgb(0, 0, 0); font-family: &amp;quot;Times New Roman&amp;quot;; font-size: medium;&quot;&gt;431&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;
	I checked timestamps in unix format. They are fine, but the dates which came back from server are completely wrong? What was wrong this time? Why queries worked nice more than week and today they broke out? Thank you&lt;/p&gt;
&lt;p&gt;
	I also send you a log-file, may be it would help you...&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10773/problem-dates-sending-php-gettopnrankers-getrankersbydate</guid>
<pubDate>Tue, 26 Sep 2017 07:37:47 +0000</pubDate>
</item>
<item>
<title>How do I make a global timer for all users? Possible?</title>
<link>http://forum.shephertz.com/?qa=10738/how-do-i-make-a-global-timer-for-all-users-possible</link>
<description>I want a timer to run and on when it expires, all clients are notified at the same time. Is this possible and how/where do I start?</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=10738/how-do-i-make-a-global-timer-for-all-users-possible</guid>
<pubDate>Wed, 06 Sep 2017 17:28:10 +0000</pubDate>
</item>
<item>
<title>Support for Php 7</title>
<link>http://forum.shephertz.com/?qa=9940/support-for-php-7</link>
<description>Hello, 

I need to migrate to a new server that work with PHP 7 (7.0.8).

Is you SDK tested with this version of PHP ?

Best regards</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=9940/support-for-php-7</guid>
<pubDate>Fri, 09 Dec 2016 18:40:27 +0000</pubDate>
</item>
<item>
<title>Function SendPushToTargetUsers not Work and no documentation</title>
<link>http://forum.shephertz.com/?qa=8786/function-sendpushtotargetusers-not-work-and-documentation</link>
<description>&lt;p&gt;
	Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	I use the function&amp;nbsp;&lt;span style=&quot;color: rgb(31, 31, 31); font-family: droid_sansregular; font-size: 13px; line-height: 20px; background-color: rgb(224, 238, 248);&quot;&gt;SendPushToTargetUsers to send push notification to users using a query to filter.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: droid_sansregular; color: #1f1f1f;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20px; background-color: rgb(224, 238, 248);&quot;&gt;Recently the function did not sent any push notification.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: droid_sansregular; color: #1f1f1f;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20px; background-color: rgb(224, 238, 248);&quot;&gt;The function give me a positive response but the message is not sent.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: droid_sansregular; color: #1f1f1f;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20px; background-color: rgb(224, 238, 248);&quot;&gt;How I can understand why there are this problem ?&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-family: droid_sansregular; color: #1f1f1f;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 20px; background-color: rgb(224, 238, 248);&quot;&gt;I see that in you SDK documentation THERE IS NOT notice of this function (but some time ago I read about it)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	How a can send a push notification to a subset of my users ?&lt;/p&gt;
&lt;p&gt;
	Best regards&lt;/p&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8786/function-sendpushtotargetusers-not-work-and-documentation</guid>
<pubDate>Mon, 09 May 2016 21:28:45 +0000</pubDate>
</item>
<item>
<title>Push Message with quote Windows Phone</title>
<link>http://forum.shephertz.com/?qa=8721/push-message-with-quote-windows-phone</link>
<description>&lt;p&gt;
	Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	I have develop a script in Php for sending push notifications.&lt;/p&gt;
&lt;p&gt;
	The app is developed for IOS, Android and WP8 / WP81&lt;/p&gt;
&lt;p&gt;
	I need to use quotes and double quotes in the message&lt;/p&gt;
&lt;p&gt;
	I use this syntax:&lt;/p&gt;
&lt;pre class=&quot;brush:php;&quot;&gt;
    App42API::setLoggedInUser(&quot;xxxx&quot;);
    $pushNotificationService = App42API::buildPushNotificationService();
    $title=&quot;my app title&quot;; 
    $msg = 'This is a &quot;Test&quot; ';
    if (preg_match('/&quot;/', $msg)&amp;gt;0){
       $tmp = addslashes($msg);
       $msg = $tmp; 
    }
    $msgJs = &quot;{'alert':'$msg','title':'$title','badge':1,'sound':'default','sendingFrom':'serverSide'}&quot;;
    $messageAfterAddSlahes = addslashes($msgJs); 
    $pushNotification = $pushNotificationService-&amp;gt;sendPushMessageToUser($user, $messageAfterAddSlahes );&lt;/pre&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	This notification was received correctly on IOs and Android, but un windows phone do not arrive.&lt;/p&gt;
&lt;p&gt;
	In the pushlog in the management console i receive this error message : &amp;nbsp;&lt;span style=&quot;color: rgb(174, 50, 50); font-size: 13px; font-family: tahoma, arial, helvetica, sans-serif;&quot;&gt;WP7Message Exception While Sending or Deleting records : org.json.JSONException: Expected a ',' or '}' at character 31&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-size: 13px; font-family: tahoma, arial, helvetica, sans-serif;&quot;&gt;This only for Windows Phone&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
	&lt;span style=&quot;font-size: 13px; font-family: tahoma, arial, helvetica, sans-serif;&quot;&gt;Can you help me ?&lt;/span&gt;&lt;/p&gt;
&lt;div class=&quot;x-window-bl&quot; id=&quot;ext-gen1445&quot; style=&quot;margin: 0px; padding: 0px 0px 0px 6px; zoom: 1; color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 16px; background: url(&amp;quot;denied:../images/default/window/left-corners.png&amp;quot;) 0px 100% no-repeat rgb(223, 232, 246);&quot;&gt;
	&lt;div class=&quot;x-window-br&quot; style=&quot;margin: 0px; padding: 0px 6px 0px 0px; zoom: 1; background: url(&amp;quot;denied:../images/default/window/right-corners.png&amp;quot;) 100% 100% no-repeat transparent;&quot;&gt;
		&lt;div class=&quot;x-window-bc&quot; style=&quot;margin: 0px; padding: 0px; zoom: 1; background: url(&amp;quot;denied:../images/default/window/top-bottom.png&amp;quot;) 0px 100% repeat-x transparent;&quot;&gt;
			&lt;div class=&quot;x-window-footer x-panel-btns&quot; id=&quot;ext-gen1444&quot; style=&quot;margin: 0px; padding: 5px 5px 6px; overflow: hidden; zoom: 1; font-size: 0px; line-height: 0; width: 776px;&quot;&gt;
				&amp;nbsp;&lt;/div&gt;
		&lt;/div&gt;
	&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8721/push-message-with-quote-windows-phone</guid>
<pubDate>Mon, 02 May 2016 18:14:54 +0000</pubDate>
</item>
<item>
<title>How to integrate app 42 in codeigniter and develop a small user login system in php?</title>
<link>http://forum.shephertz.com/?qa=8666/integrate-codeigniter-develop-small-user-login-system-php</link>
<description>I want to develop a web application with quiz games and i too want it from code igniter how can i develop and give me some sample application for login system using code igniter and app42</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8666/integrate-codeigniter-develop-small-user-login-system-php</guid>
<pubDate>Thu, 28 Apr 2016 10:54:03 +0000</pubDate>
</item>
<item>
<title>Push Message with quote</title>
<link>http://forum.shephertz.com/?qa=8508/push-message-with-quote</link>
<description>&lt;p&gt;
	Hello ,&lt;/p&gt;
&lt;p&gt;
	I need to send a push message with sound and badge.&lt;/p&gt;
&lt;p&gt;
	I write this Code:&lt;/p&gt;
&lt;pre class=&quot;brush:php;&quot;&gt;

$msg=&quot;Hello World&quot;;
$title = &quot;My App Title&quot;;
$user = &quot;xxxxx&quot;;


App42API::initialize($APP42_API, $APP42_KEY);
App42API::setLoggedInUser(&quot;xxxxx&quot;);
$pushNotificationService = App42API::buildPushNotificationService();
$msgJs = &quot;{'alert':'$msg','title':'$title','badge':1,'sound':'default','sendingFrom':'serverSide'}&quot;;

$pushNotification = $pushNotificationService-&amp;gt;sendPushMessageToUser($user, $msgJs);&lt;/pre&gt;
&lt;p&gt;
	This work fine and notifications arrive.&lt;/p&gt;
&lt;p&gt;
	But if I want to send this message :&lt;/p&gt;
&lt;pre class=&quot;brush:php;&quot;&gt;

$msg=&quot;Thank's Baby&quot;;
$title = &quot;My App Title&quot;;
$user = &quot;xxxxx&quot;;


App42API::initialize($APP42_API, $APP42_KEY);
App42API::setLoggedInUser(&quot;xxxxx&quot;);
$pushNotificationService = App42API::buildPushNotificationService();
$msgJs = &quot;{'alert':'$msg','title':'$title','badge':1,'sound':'default','sendingFrom':'serverSide'}&quot;;

$pushNotification = $pushNotificationService-&amp;gt;sendPushMessageToUser($user, $msgJs);&lt;/pre&gt;
&lt;p&gt;
	The message don't arrive to the phone's&lt;/p&gt;
&lt;p&gt;
	I also try&amp;nbsp;&lt;/p&gt;
&lt;pre class=&quot;brush:php;&quot;&gt;
$msg=addslashes(&quot;Thank's Baby&quot;);&lt;/pre&gt;
&lt;p&gt;
	But don't send nothing.&lt;/p&gt;
&lt;p&gt;
	I don't receive any error.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	Can you help Me.&lt;/p&gt;
&lt;p&gt;
	Best regards&lt;/p&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8508/push-message-with-quote</guid>
<pubDate>Fri, 01 Apr 2016 21:57:29 +0000</pubDate>
</item>
<item>
<title>Using the PHP SDK can not send push notifications</title>
<link>http://forum.shephertz.com/?qa=8440/using-the-php-sdk-can-not-send-push-notifications</link>
<description>&lt;p&gt;
	HI,&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
	I push message using the JavaScript has been an error.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	So I push messages sent using PHP.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	The result is a success messages from PHP.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	However, the message does not arrive.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	I had to push logs enable state.&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	&lt;table class=&quot;table table-bordered table-hover&quot; style=&quot;box-sizing: border-box; font-family: Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-size: 13px; color: rgb(41, 76, 96); border-spacing: 0px; max-width: 100%; width: 1541px; margin-bottom: 20px; border-style: solid; border-color: rgb(221, 221, 221);&quot;&gt;
		&lt;tbody class=&quot;ng-scope&quot; style=&quot;box-sizing: border-box; border-top-width: 2px; border-top-style: solid; border-top-color: rgb(221, 221, 221);&quot;&gt;
			&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;
			&lt;/tr&gt;
		&lt;/tbody&gt;
		&lt;tbody class=&quot;ng-scope&quot; style=&quot;box-sizing: border-box;&quot;&gt;
			&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;
				&lt;td class=&quot;ng-binding&quot; style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					App42_PushNotification&lt;/td&gt;
				&lt;td class=&quot;ng-binding&quot; style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					INFO&lt;/td&gt;
				&lt;td class=&quot;ng-binding&quot; style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					2016-03-28T00:24:02Z&lt;/td&gt;
				&lt;td style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221); width: 400px;&quot;&gt;
					&lt;span class=&quot;user-ellip ng-binding&quot; style=&quot;box-sizing: border-box; white-space: nowrap; width: 330px; overflow: hidden; text-overflow: ellipsis; display: inline-block;&quot;&gt;Message sent successfully to Android Devices : No. of devices : 1&lt;/span&gt;&lt;/td&gt;
				&lt;td id=&quot;btn_plus&quot; style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					&amp;nbsp;&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/tbody&gt;
		&lt;tbody class=&quot;ng-scope&quot; style=&quot;box-sizing: border-box; border-top-width: 2px; border-top-style: solid; border-top-color: rgb(221, 221, 221);&quot;&gt;
			&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;
				&lt;td class=&quot;ng-binding&quot; style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					App42_PushNotification&lt;/td&gt;
				&lt;td class=&quot;ng-binding&quot; style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					INFO&lt;/td&gt;
				&lt;td class=&quot;ng-binding&quot; style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					2016-03-28T00:22:15Z&lt;/td&gt;
				&lt;td style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221); width: 400px;&quot;&gt;
					&lt;span class=&quot;user-ellip ng-binding&quot; style=&quot;box-sizing: border-box; white-space: nowrap; width: 330px; overflow: hidden; text-overflow: ellipsis; display: inline-block;&quot;&gt;Message sent successfully to Android Devices : No. of devices : 1&lt;/span&gt;&lt;/td&gt;
				&lt;td style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					&amp;nbsp;&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/tbody&gt;
		&lt;tbody class=&quot;ng-scope&quot; style=&quot;box-sizing: border-box; border-top-width: 2px; border-top-style: solid; border-top-color: rgb(221, 221, 221);&quot;&gt;
			&lt;tr style=&quot;box-sizing: border-box;&quot;&gt;
				&lt;td class=&quot;ng-binding&quot; style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					App42_PushNotification&lt;/td&gt;
				&lt;td class=&quot;ng-binding&quot; style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					INFO&lt;/td&gt;
				&lt;td class=&quot;ng-binding&quot; style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221);&quot;&gt;
					2016-03-28T00:09:34Z&lt;/td&gt;
				&lt;td style=&quot;box-sizing: border-box; padding: 8px; line-height: 1.42857; vertical-align: top; border-top-style: solid; border-top-color: rgb(221, 221, 221); border-left-style: solid; border-left-color: rgb(221, 221, 221); width: 400px;&quot;&gt;
					&lt;span class=&quot;user-ellip ng-binding&quot; style=&quot;box-sizing: border-box; white-space: nowrap; width: 330px; overflow: hidden; text-overflow: ellipsis; display: inline-block;&quot;&gt;Message sent successfully to Android Devices : No. of devices : 1&lt;/span&gt;&lt;/td&gt;
			&lt;/tr&gt;
		&lt;/tbody&gt;
	&lt;/table&gt;
&lt;/div&gt;
&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
	I have sent a log &quot;Send Push Message To Channel&quot; function remains.&lt;/div&gt;
&lt;p&gt;
	However, &quot;Send Push Message To User&quot; function or the &quot;Send Push Message To Device&quot; function to log From left does.&lt;/p&gt;
&lt;p&gt;
	&quot;App42&quot; push is really unstable.&lt;/p&gt;
&lt;p&gt;
	If this does not resolve the problem, we can not use the &quot;App42&quot;.&lt;/p&gt;
&lt;p&gt;
	Wait for an answer.&lt;/p&gt;
&lt;p&gt;
	Thank you.&lt;/p&gt;
&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;</description>
<category>PHP</category>
<guid isPermaLink="true">http://forum.shephertz.com/?qa=8440/using-the-php-sdk-can-not-send-push-notifications</guid>
<pubDate>Mon, 28 Mar 2016 00:50:48 +0000</pubDate>
</item>
</channel>
</rss>