<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Record not saved when create new app in Combu 3.2.2 - Combu Server/Client				            </title>
            <link>https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/</link>
            <description>Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Sun, 12 Apr 2026 11:48:50 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Record not saved when create new app in Combu 3.2.2</title>
                        <link>https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1797</link>
                        <pubDate>Tue, 23 Nov 2021 12:07:26 +0000</pubDate>
                        <description><![CDATA[@squall This fixed the issue for me as well! Thank you very much!]]></description>
                        <content:encoded><![CDATA[<p>@squall This fixed the issue for me as well! Thank you very much!</p>]]></content:encoded>
						                            <category domain="https://www.skaredcreations.com/wp/community/combu/">Combu Server/Client</category>                        <dc:creator>Poy</dc:creator>
                        <guid isPermaLink="true">https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1797</guid>
                    </item>
				                    <item>
                        <title>RE: Record not saved when create new app in Combu 3.2.2</title>
                        <link>https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1723</link>
                        <pubDate>Sat, 26 Dec 2020 13:19:23 +0000</pubDate>
                        <description><![CDATA[@squall
Thank you. Only just got this asset and had the same issue.]]></description>
                        <content:encoded><![CDATA[<p>@squall</p>
<p>Thank you. Only just got this asset and had the same issue.</p>]]></content:encoded>
						                            <category domain="https://www.skaredcreations.com/wp/community/combu/">Combu Server/Client</category>                        <dc:creator>millar5001</dc:creator>
                        <guid isPermaLink="true">https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1723</guid>
                    </item>
				                    <item>
                        <title>RE: Record not saved when create new app in Combu 3.2.2</title>
                        <link>https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1722</link>
                        <pubDate>Sat, 05 Dec 2020 07:27:12 +0000</pubDate>
                        <description><![CDATA[Hi,
I have solved the issue with a simple modification to the AppId.php which I share below for your input. FYI the AppId.php is located in &lt;COMBU Installation Folder&gt;\vendor\skaredcr...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>I have solved the issue with a simple modification to the AppId.php which I share below for your input. FYI the AppId.php is located in &lt;COMBU Installation Folder&gt;\vendor\skaredcreations\combu\combu folder.</p>
<p>Seeing the different folder you mentioned in your reply, I wonder would it be the combu asset in Unity App Store has some unknown issues.</p>
<p>Below is my simple modification that has make it work</p>
<pre>public function Save() <br />{<br />  global $Database;<br /><br />  <strong>if ($this-&gt;Id == 'new') --&gt; I added this</strong><br /><strong>  {</strong><br /><strong>    $this-&gt;Id = 0;</strong><br /><strong>  }</strong><br /><br />  if ($this-&gt;Id &gt; 0) {<br />    $query = sprintf("UPDATE %s SET Active = %d, Name = '%s', Description = '%s' WHERE Id = %d",<br />    ....<br />  } else {<br />    $this-&gt;Active = 1;<br />    $this-&gt;AppId = Utils::NewGUID();<br />    $this-&gt;Secret = Utils::NewGUID();<br />    $this-&gt;DateCreated = Utils::GetCurrentDateTimeFormat();<br />    $query = sprintf("INSERT INTO %s (Active, DateCreated, AppId, Secret, Name, Description) VALUES (%d, %s, '%s', '%s', '%s', '%s')",<br />    .....<br />  }<br />  ....<br /><br /><br />}</pre>]]></content:encoded>
						                            <category domain="https://www.skaredcreations.com/wp/community/combu/">Combu Server/Client</category>                        <dc:creator>squall</dc:creator>
                        <guid isPermaLink="true">https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1722</guid>
                    </item>
				                    <item>
                        <title>RE: Record not saved when create new app in Combu 3.2.2</title>
                        <link>https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1721</link>
                        <pubDate>Sat, 05 Dec 2020 05:46:57 +0000</pubDate>
                        <description><![CDATA[Hi,
Sorry for my late reply, the game is just a personal side project. Weekend now :),  I have more time and here&#039;s the SQL

SELECT Id FROM `AppId` WHERE Name = &#039;test&#039; AND Id &lt;&gt; new...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>Sorry for my late reply, the game is just a personal side project. Weekend now :),  I have more time and here's the SQL</p>
<ul>
<li>SELECT Id FROM `AppId` WHERE Name = 'test' AND Id &lt;&gt; new' --&gt; the check Exists SQL</li>
<li>UPDATE `AppId` SET Active = 0, Name = 'test', Description = 'Test TEST' WHERE Id = 0  --&gt; the Save SQL</li>
</ul>
<p>The SQL is obviously wrong, it should be INSERT or REPLACE. The AppId table is empty. </p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.skaredcreations.com/wp/community/combu/">Combu Server/Client</category>                        <dc:creator>squall</dc:creator>
                        <guid isPermaLink="true">https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1721</guid>
                    </item>
				                    <item>
                        <title>RE: Record not saved when create new app in Combu 3.2.2</title>
                        <link>https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1718</link>
                        <pubDate>Thu, 03 Dec 2020 13:21:52 +0000</pubDate>
                        <description><![CDATA[It&#039;s pretty strange that you&#039;re receiving a successful message after executing the query if it&#039;s not saving, you can edit the function Save inside /vendor/skaredcreations/combu-lib/combu/App...]]></description>
                        <content:encoded><![CDATA[<p>It's pretty strange that you're receiving a successful message after executing the query if it's not saving, you can edit the function Save inside /vendor/skaredcreations/combu-lib/combu/AppId.php and add the following code after the line that contains "$Database-&gt;Query($query)":</p>
<pre>echo "&lt;pre&gt;$query&lt;/pre&gt;"; exit();</pre>
<p>This way you should see the SQL query being executed (the AppId and Secret fields should contain random GUID-like strings), then try to execute it in your MySql tool software (phpMyAdmin, MySql Workbench, DBeaver, etc) to see if it's creating a record or giving an error.</p>]]></content:encoded>
						                            <category domain="https://www.skaredcreations.com/wp/community/combu/">Combu Server/Client</category>                        <dc:creator>Skared Creations</dc:creator>
                        <guid isPermaLink="true">https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1718</guid>
                    </item>
				                    <item>
                        <title>Record not saved when create new app in Combu 3.2.2</title>
                        <link>https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1717</link>
                        <pubDate>Wed, 02 Dec 2020 18:57:23 +0000</pubDate>
                        <description><![CDATA[Hi,
I am using the latest Combu 3.2.2 and started from scratch. I have the database created using dbeaver and run the table creation SQL script successfully. Everything was fine. When I tri...]]></description>
                        <content:encoded><![CDATA[<p>Hi,</p>
<p>I am using the latest Combu 3.2.2 and started from scratch. I have the database created using dbeaver and run the table creation SQL script successfully. Everything was fine. When I tried to create a new app via Registered App-&gt;Create App, after filling the form and pressed the save button the message "Data has been correctly saved" was displayed, however nothing was saved into the appid table. To ensure it is not a DB connection issues, I tried Server Settings-&gt;Create and successfully created a few keypairs and the data were saved to serversettings table correctly. I am thinking maybe you have some suggestion before I spend more time finding the issue</p>
<p>FYI the local environment I am using - Nginx 1.18, PHP 8.0 NTS and MySQL 8.0.22 Community</p>
<p>Thanks and Regards</p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.skaredcreations.com/wp/community/combu/">Combu Server/Client</category>                        <dc:creator>squall</dc:creator>
                        <guid isPermaLink="true">https://www.skaredcreations.com/wp/community/combu/record-not-saved-when-create-new-app-in-combu-3-2-2/#post-1717</guid>
                    </item>
							        </channel>
        </rss>
		