<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Rakesh K, Author at scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/author/rakesh/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/author/rakesh/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sun, 23 May 2021 04:32:58 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Laravel Error:Integrity constraint violation</title>
		<link>https://www.scmgalaxy.com/tutorials/laravel-errorintegrity-constraint-violation/</link>
					<comments>https://www.scmgalaxy.com/tutorials/laravel-errorintegrity-constraint-violation/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Sat, 22 May 2021 03:24:50 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[laravel]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=6324</guid>

					<description><![CDATA[<p>yesterday : when i am trying to submit data to store in database i got error integrity constraint violation rule [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-errorintegrity-constraint-violation/">Laravel Error:Integrity constraint violation</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">yesterday : when i am trying to submit data to store in database  i got  error integrity constraint violation rule</p>



<p class="wp-block-paragraph">because  role_id is  foreign key and i did not mention this field in  user model.</p>



<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/integrity-consraint-1024x462.png" alt="" class="wp-image-6325" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/integrity-consraint-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/integrity-consraint-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/integrity-consraint-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/integrity-consraint-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/integrity-consraint.png 1798w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Solution: after role_id mention in  user model  my error got solved</p>



<p class="wp-block-paragraph"><a href="https://gist.github.com/rakesh1166-cm/6e233a6d0f51504801713420cb483338#file-users-php">https://gist.github.com/rakesh1166-cm/6e233a6d0f51504801713420cb483338#file-users-php</a></p>


<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-errorintegrity-constraint-violation/">Laravel Error:Integrity constraint violation</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/laravel-errorintegrity-constraint-violation/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Call to a member function createtoken() on null</title>
		<link>https://www.scmgalaxy.com/tutorials/call-to-a-member-function-createtoken-on-null/</link>
					<comments>https://www.scmgalaxy.com/tutorials/call-to-a-member-function-createtoken-on-null/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Fri, 14 May 2021 02:20:33 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[laravel]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=6263</guid>

					<description><![CDATA[<p>Error: yesterday, when i open site without login in any other browser by direct url http://hl-events/touroperator/dashboards Solution:open site by homepage [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/call-to-a-member-function-createtoken-on-null/">Call to a member function createtoken() on null</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Error: yesterday, when i open site without login in any other browser by direct  url</p>



<p class="wp-block-paragraph"><a href="http://hl-events/touroperator/dashboards">http://hl-events/touroperator/dashboards</a></p>



<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="547" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/call-to-member-function-on-create-token-url-1024x547.png" alt="" class="wp-image-6264" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/call-to-member-function-on-create-token-url-1024x547.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/call-to-member-function-on-create-token-url-300x160.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/call-to-member-function-on-create-token-url-768x410.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/call-to-member-function-on-create-token-url-1536x820.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/call-to-member-function-on-create-token-url.png 1688w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Solution:</strong>open site by homepage url like  </p>



<p class="wp-block-paragraph">http://hl-events/</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/call-to-a-member-function-createtoken-on-null/">Call to a member function createtoken() on null</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/call-to-a-member-function-createtoken-on-null/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Store Multiple Records using Checkbox in Laravel?</title>
		<link>https://www.scmgalaxy.com/tutorials/multiple-checkbox-select-in-laravel-microservice/</link>
					<comments>https://www.scmgalaxy.com/tutorials/multiple-checkbox-select-in-laravel-microservice/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Wed, 12 May 2021 03:29:39 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[multiple checkbox]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6203</guid>

					<description><![CDATA[<p>First Part: first of all, we will learn how to design or getdata in blade file In table we will [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/multiple-checkbox-select-in-laravel-microservice/">How to Store Multiple Records using Checkbox in Laravel?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img decoding="async" width="1024" height="495" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkboxs-1024x495.png" alt="" class="wp-image-6219" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkboxs-1024x495.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkboxs-300x145.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkboxs-768x371.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkboxs.png 1358w" sizes="(max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>First Part: first of all, we will learn how to design or getdata in blade file</strong></p>



<p class="wp-block-paragraph">In table we will set one field default value as no while migrating data</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="494" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox7-1024x494.png" alt="" class="wp-image-6204" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox7-1024x494.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox7-300x145.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox7-768x370.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox7-1536x741.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox7.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>test_migration.php</strong></p>



<script src="https://gist.github.com/rakesh1166-cm/6ca0cae68190bb91bfa808016d7237df.js"></script>



<p class="wp-block-paragraph">In blade file we will create one table</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="526" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/perm1-1024x526.png" alt="" class="wp-image-6205" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/perm1-1024x526.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/perm1-300x154.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/perm1-768x395.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/perm1-1536x789.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/perm1.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Next, in js we will create one fetch function</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="483" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox1-1024x483.png" alt="" class="wp-image-6206" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox1-1024x483.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox1-300x141.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox1-768x362.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox1-1536x724.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox1.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="476" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox2-1024x476.png" alt="" class="wp-image-6207" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox2-1024x476.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox2-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox2-768x357.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox2-1536x714.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox2.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">onclick java script function</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="476" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox-1024x476.png" alt="" class="wp-image-6217" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox-1024x476.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox-768x357.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox-1536x714.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Routing:set route</strong></p>



<p class="wp-block-paragraph">Route::prefix(&#8216;/touroperator&#8217;)-&gt;group(function () use ($namespace) {</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$controller = $namespace.&#039;\TourDashboardController&#039;;
$tourcontroller = $namespace.&#039;\TourDetailController&#039;;
</pre></div>


<p class="wp-block-paragraph">Route::get(&#8216;toursdetail/{email}&#8217;,&#8221;$tourcontroller@gettrip&#8221;);<br></p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><br>});</p>



<p class="wp-block-paragraph"><strong>create function in client side controller</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="510" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox2-1024x510.png" alt="" class="wp-image-6216" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox2-1024x510.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox2-300x149.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox2-768x382.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox2-1536x764.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox2.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Set env file</strong>:</p>



<p class="wp-block-paragraph">GET_MYHOLIDAYTRIP_URL=/api/v1/j/gettripdetail</p>



<p class="wp-block-paragraph"><strong>Set Config file:</strong></p>



<p class="wp-block-paragraph">GET_MYHOLIDAYTRIP_URL&#8217;&nbsp;=&gt;&nbsp;env(&#8216;GET_MYHOLIDAYTRIP_URL&#8217;,&nbsp;&#8216;not&nbsp;found&nbsp;in&nbsp;.env&nbsp;file&#8217;),</p>



<p class="wp-block-paragraph"><strong>Routing set Server side:</strong></p>



<p class="wp-block-paragraph">Route::get(&#8216;gettripdetail/{email}&#8217;, &#8216;Admin\AdminTPController@tripdetail&#8217;);</p>



<p class="wp-block-paragraph"><strong>Create function in server side</strong>:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="491" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox3-1024x491.png" alt="" class="wp-image-6212" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox3-1024x491.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox3-300x144.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox3-768x368.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox3-1536x736.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox3.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Second Part: thereafter, we will learn how to store data after selecting in blade file</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="503" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox4-1-1024x503.png" alt="" class="wp-image-6214" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox4-1-1024x503.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox4-1-300x147.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox4-1-768x377.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox4-1-1536x754.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/miltiple-checkbox4-1.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>Set Routing(Client side microservice) :</strong></p>



<p class="wp-block-paragraph">Route::prefix(&#8216;/touroperator&#8217;)-&gt;group(function () use ($namespace) {</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$controller = $namespace.&#039;\TourDashboardController&#039;;
$tourcontroller = $namespace.&#039;\TourDetailController&#039;;
</pre></div>


<p class="wp-block-paragraph">Route::post(&#8216;permissiontour/{email}&#8217;, &#8216;AdminController@addpermission&#8217;)-&gt;name(&#8216;permissiontour&#8217;);<br>});</p>



<p class="wp-block-paragraph"><strong>Create function in client side controller</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="515" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox5-1-1024x515.png" alt="" class="wp-image-6215" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox5-1-1024x515.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox5-1-300x151.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox5-1-768x386.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox5-1-1536x773.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox5-1.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Set Env file</strong></p>



<p class="wp-block-paragraph">PERMIT_TRIP_URL=/api/v1/j/permittrip</p>



<p class="wp-block-paragraph"><strong>config file:</strong></p>



<p class="wp-block-paragraph">&#8216;PERMIT_TRIP_URL&#8217;&nbsp;=&gt;&nbsp;env(&#8216;PERMIT_TRIP_URL&#8217;,&nbsp;&#8216;not&nbsp;found&nbsp;in&nbsp;.env&nbsp;file&#8217;),&nbsp;</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph"><strong>Set Routing in server side Microservice</strong></p>



<p class="wp-block-paragraph">Route::post(&#8216;/permittrip&#8217;, &#8216;Admin\AdminTPController@storepermission&#8217;);</p>



<p class="wp-block-paragraph"><strong>Create function in controller server side microservice</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="476" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox6-1-1024x476.png" alt="" class="wp-image-6218" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox6-1-1024x476.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox6-1-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox6-1-768x357.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox6-1-1536x714.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/multiple-checkbox6-1.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/multiple-checkbox-select-in-laravel-microservice/">How to Store Multiple Records using Checkbox in Laravel?</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/multiple-checkbox-select-in-laravel-microservice/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Laravel Error: Creating default object from empty value when store data</title>
		<link>https://www.scmgalaxy.com/tutorials/laravel-error-creating-default-object-from-empty-value-when-store-data/</link>
					<comments>https://www.scmgalaxy.com/tutorials/laravel-error-creating-default-object-from-empty-value-when-store-data/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Wed, 12 May 2021 00:57:19 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[error]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6197</guid>

					<description><![CDATA[<p>today,I am updating data in one table(package table), but I wrote different modal name Trip Category So,be careful while you [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-error-creating-default-object-from-empty-value-when-store-data/">Laravel Error: Creating default object from empty value when store data</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">today,I am updating data in one table(package table), but I wrote different modal name Trip Category</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="363" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-value-1024x363.png" alt="" class="wp-image-6198" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-value-1024x363.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-value-300x106.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-value-768x272.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-value.png 1256w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="476" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-values-1024x476.png" alt="" class="wp-image-6199" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-values-1024x476.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-values-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-values-768x357.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-values-1536x714.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-create-empty-values.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="476" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-modal-create-empty-values-1024x476.png" alt="" class="wp-image-6201" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-modal-create-empty-values-1024x476.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-modal-create-empty-values-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-modal-create-empty-values-768x357.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-modal-create-empty-values-1536x714.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/default-object-modal-create-empty-values.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">So,be careful while you are updating data ,choose correct modal name</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-error-creating-default-object-from-empty-value-when-store-data/">Laravel Error: Creating default object from empty value when store data</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/laravel-error-creating-default-object-from-empty-value-when-store-data/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to update multiple table rows using single edit button In Laravel Microservice</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-update-multiple-table-rows-using-single-edit-button-in-laravel-microservice/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-update-multiple-table-rows-using-single-edit-button-in-laravel-microservice/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Tue, 11 May 2021 23:44:00 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[multiple table row delete]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6191</guid>

					<description><![CDATA[<p>I have three table package,addimage,iternaries and triptitle is foreign key(common key) for all three table. my requirement is if i [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-update-multiple-table-rows-using-single-edit-button-in-laravel-microservice/">How to update multiple table rows using single edit button In Laravel Microservice</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">I have three table package,addimage,iternaries and triptitle is foreign key(common key) for all three table. my requirement is if i update package table using edit button then automatically updated addimage,iternaries table</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-tables-row-1024x462.png" alt="" class="wp-image-6192" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-tables-row-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-tables-row-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-tables-row-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-tables-row-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-tables-row.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">In above figure 3 table package,addimage,iternaries and trip title and trips are foreign key i want to update those row whose triptitle or trips name is couple tour</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="476" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-tables-1024x476.png" alt="" class="wp-image-6193" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-tables-1024x476.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-tables-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-tables-768x357.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-tables-1536x714.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-tables.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="476" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-2-or-more-tables-1024x476.png" alt="" class="wp-image-6194" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-2-or-more-tables-1024x476.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-2-or-more-tables-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-2-or-more-tables-768x357.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-2-or-more-tables-1536x714.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-2-or-more-tables.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="480" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-table-1024x480.png" alt="" class="wp-image-6195" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-table-1024x480.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-table-300x141.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-table-768x360.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-table-1536x721.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/update-multiple-table.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">refrence:https://stackoverflow.com/questions/45912985/laravel-update-array-syntax/45913079</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-update-multiple-table-rows-using-single-edit-button-in-laravel-microservice/">How to update multiple table rows using single edit button In Laravel Microservice</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-update-multiple-table-rows-using-single-edit-button-in-laravel-microservice/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to delete multiple table rows using one delete button In Laravel Microservice</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-delete-multiple-table-using-one-delete-button-in-laravel-microservice/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-delete-multiple-table-using-one-delete-button-in-laravel-microservice/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Tue, 11 May 2021 12:53:04 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[laravel]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6176</guid>

					<description><![CDATA[<p>I have three table package,addimage,iternaries and triptitle is foreign key(common key) for all three table. my requirement is if i [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-delete-multiple-table-using-one-delete-button-in-laravel-microservice/">How to delete multiple table rows using one delete button In Laravel Microservice</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">I have three table package,addimage,iternaries and triptitle is foreign key(common key) for all three table. my requirement is if i delete package table using delete button<br>then automatically deleted addimage,iternaries table</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table-1024x462.png" alt="" class="wp-image-6177" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">In above figure 3 table package,addimage,iternaries and trip title and trips are foreign key i want to delete those row whose triptitle or trips name is couple tour</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="476" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table1-1024x476.png" alt="" class="wp-image-6178" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table1-1024x476.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table1-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table1-768x357.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table1-1536x714.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-multiple-table1.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Query:</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="476" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-tables-1024x476.png" alt="" class="wp-image-6180" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-tables-1024x476.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-tables-300x140.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-tables-768x357.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-tables-1536x714.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/delete-tables.png 1688w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-delete-multiple-table-using-one-delete-button-in-laravel-microservice/">How to delete multiple table rows using one delete button In Laravel Microservice</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-delete-multiple-table-using-one-delete-button-in-laravel-microservice/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ERROR: Unable to store image in particular directory</title>
		<link>https://www.scmgalaxy.com/tutorials/error-unable-to-store-image-in-particular-directory/</link>
					<comments>https://www.scmgalaxy.com/tutorials/error-unable-to-store-image-in-particular-directory/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Mon, 10 May 2021 12:47:08 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[laravel]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6161</guid>

					<description><![CDATA[<p>today when i storing image then one error appears Solution:I have given permission to that directory folder public folder after [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/error-unable-to-store-image-in-particular-directory/">ERROR: Unable to store image in particular directory</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">today when i storing image then one error appears</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/Error-for-Storing-data-1024x462.png" alt="" class="wp-image-6163" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/Error-for-Storing-data-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/Error-for-Storing-data-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/Error-for-Storing-data-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/Error-for-Storing-data-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/Error-for-Storing-data.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Solution:</strong>I have given permission to that directory folder  public folder  after that my issue is resolved</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="220" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/bug1-1024x220.png" alt="" class="wp-image-6162" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/bug1-1024x220.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/bug1-300x64.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/bug1-768x165.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/bug1-1536x330.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/bug1.png 1714w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">chmod -R 777 ./public</p>



<p class="wp-block-paragraph">refrence:<a href="https://stackoverflow.com/questions/34836602/laravel-uploading-file-unable-to-write-in-directory">https://stackoverflow.com/questions/34836602/laravel-uploading-file-unable-to-write-in-directory</a></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/error-unable-to-store-image-in-particular-directory/">ERROR: Unable to store image in particular directory</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/error-unable-to-store-image-in-particular-directory/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To bring pop up validation message after ajax success function</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-bring-pop-up-validation-message-after-ajax-success-function/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-bring-pop-up-validation-message-after-ajax-success-function/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Sat, 08 May 2021 12:35:36 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[pop up modal]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6134</guid>

					<description><![CDATA[<p>Step 2: add id in modal form in blade file Step 2: after ajax success funcition we show id $(&#8216;#tcategorymodel&#8217;).modal(&#8216;show&#8217;)</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-bring-pop-up-validation-message-after-ajax-success-function/">How To bring pop up validation message after ajax success function</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="395" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/succ1-1024x395.png" alt="" class="wp-image-6135" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/succ1-1024x395.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/succ1-300x116.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/succ1-768x296.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/succ1.png 1114w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step 2: add id in modal form in blade file </strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/success2-1024x462.png" alt="" class="wp-image-6136" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/success2-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/success2-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/success2-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/success2-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/success2.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step 2: after ajax success funcition we show id </strong></p>



<p class="wp-block-paragraph">$(&#8216;#tcategorymodel&#8217;).modal(&#8216;show&#8217;)</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/sucees3-1024x462.png" alt="" class="wp-image-6137" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/sucees3-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/sucees3-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/sucees3-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/sucees3-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/sucees3.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-bring-pop-up-validation-message-after-ajax-success-function/">How To bring pop up validation message after ajax success function</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-bring-pop-up-validation-message-after-ajax-success-function/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to fix syntax error or access violation while use Group by</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-fix-syntax-error-or-access-violation-while-use-group-by/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-fix-syntax-error-or-access-violation-while-use-group-by/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Fri, 07 May 2021 12:29:11 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[laravel]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6119</guid>

					<description><![CDATA[<p>above error appear if you apply groupby in controller function is given below figure Solution 1:In config/database.php at &#8220;mysql&#8221; change [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fix-syntax-error-or-access-violation-while-use-group-by/">How to fix syntax error or access violation while use Group by</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="308" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/groupby-1-1024x308.png" alt="" class="wp-image-6121" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/groupby-1-1024x308.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/groupby-1-300x90.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/groupby-1-768x231.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/groupby-1.png 1231w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">above error appear if you apply groupby  in controller function is given below figure</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group5-1024x462.png" alt="" class="wp-image-6123" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group5-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group5-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group5-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group5-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group5.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">Solution 1:In config/database.php at &#8220;mysql&#8221; change : &#8216;strict&#8217; =&gt; true, to false</p>



<p class="wp-block-paragraph">reference :https://stackoverflow.com/questions/49635699/laravel-distinct-on-join-results-not-working-in-query-builder</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group2-1-1024x462.png" alt="" class="wp-image-6125" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group2-1-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group2-1-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group2-1-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group2-1-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group2-1.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group4-1024x462.png" alt="" class="wp-image-6124" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group4-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group4-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group4-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group4-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/group4.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">now Your bug resolved</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-fix-syntax-error-or-access-violation-while-use-group-by/">How to fix syntax error or access violation while use Group by</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-fix-syntax-error-or-access-violation-while-use-group-by/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to add multiple image using  Laravel Microservice</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-add-multiple-image-using-laravel-microservice/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-add-multiple-image-using-laravel-microservice/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Fri, 07 May 2021 12:09:48 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[multiple image]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6109</guid>

					<description><![CDATA[<p>Step 1: take input image name as array and write multiple in blade file Step 2:store data using ajax Step [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-add-multiple-image-using-laravel-microservice/">How to add multiple image using  Laravel Microservice</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Step 1: take input image name  as array and write multiple  in blade file</strong></p>



<figure class="wp-block-image size-large is-resized"><img loading="lazy" decoding="async" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul1-1024x462.png" alt="" class="wp-image-6110" width="822" height="370" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul1-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul1-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul1-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul1-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul1.png 1681w" sizes="auto, (max-width: 822px) 100vw, 822px" /></figure>



<p class="wp-block-paragraph"><strong>Step 2:store data using ajax</strong></p>



<p class="wp-block-paragraph"> </p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="621" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul2-1024x621.png" alt="" class="wp-image-6111" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul2-1024x621.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul2-300x182.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul2-768x465.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul2.png 1051w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step 3: set routing</strong></p>



<p class="wp-block-paragraph">Route::prefix(&#8216;/touroperator&#8217;)-&gt;group(function () use ($namespace) {</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
$controller = $namespace.&#039;\TourDashboardController&#039;;
$tourcontroller = $namespace.&#039;\TourDetailController&#039;;
</pre></div>


<p class="wp-block-paragraph">Route::post(&#8216;addimage/{email}&#8217;, &#8220;$tourcontroller@addsimage&#8221;);</p>



<p class="wp-block-paragraph">});</p>



<p class="wp-block-paragraph"><strong>Step 4:</strong> In client side controller create function  to get access token</p>



<p class="wp-block-paragraph">take a variable  as array and pass inside for loop and all the data pass inside for loop till no of image selected</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="502" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul4-1024x502.png" alt="" class="wp-image-6114" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul4-1024x502.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul4-300x147.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul4-768x376.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul4-1536x753.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul4.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="893" height="815" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul6.png" alt="" class="wp-image-6115" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul6.png 893w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul6-300x274.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul6-768x701.png 768w" sizes="auto, (max-width: 893px) 100vw, 893px" /></figure>



<p class="wp-block-paragraph">Step 5: set env and app config file</p>



<p class="wp-block-paragraph">ADD_MYHOLIDAYIMAGE_URL=/api/v1/j/addimagedetail</p>



<p class="wp-block-paragraph"><strong>Step 6: Set routing in server side</strong></p>



<p class="wp-block-paragraph">Route::post(&#8216;/addimagedetail&#8217;, &#8216;Admin\AdminTPController@storeimages&#8217;);</p>



<p class="wp-block-paragraph"><strong>Step 7: apply bussiness query logic in server side controller</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="927" height="707" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul7.png" alt="" class="wp-image-6116" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul7.png 927w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul7-300x229.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul7-768x586.png 768w" sizes="auto, (max-width: 927px) 100vw, 927px" /></figure>



<p class="wp-block-paragraph">Finally our output looks like</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul9-1024x462.png" alt="" class="wp-image-6117" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul9-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul9-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul9-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul9-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/mul9.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-add-multiple-image-using-laravel-microservice/">How to add multiple image using  Laravel Microservice</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-add-multiple-image-using-laravel-microservice/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to create custom pagination  without datatable in laravel microservice</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-create-custom-pagination-without-datatable-in-laravel-microservice/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-create-custom-pagination-without-datatable-in-laravel-microservice/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Thu, 06 May 2021 12:30:09 +0000</pubDate>
				<category><![CDATA[AJAX]]></category>
		<category><![CDATA[Laravel]]></category>
		<category><![CDATA[microservice]]></category>
		<category><![CDATA[pagination]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6096</guid>

					<description><![CDATA[<p>Step 1:create button input in blade file Step 2: declare variable like curtpage, pagelimit and total record when you click [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-custom-pagination-without-datatable-in-laravel-microservice/">How to create custom pagination  without datatable in laravel microservice</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Step 1:</strong>create button input in blade file</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1019" height="603" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagination1.png" alt="" class="wp-image-6097" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagination1.png 1019w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagination1-300x178.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagination1-768x454.png 768w" sizes="auto, (max-width: 1019px) 100vw, 1019px" /></figure>



<p class="wp-block-paragraph"><strong>Step 2:</strong>  declare variable like curtpage, pagelimit and total record</p>



<p class="wp-block-paragraph">when you click the button then apply business logic inside jquery/javascript function</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="558" height="369" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagination2.png" alt="" class="wp-image-6098" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagination2.png 558w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagination2-300x198.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagination2-392x260.png 392w" sizes="auto, (max-width: 558px) 100vw, 558px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="738" height="410" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/paginatio3.png" alt="" class="wp-image-6099" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/paginatio3.png 738w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/paginatio3-300x167.png 300w" sizes="auto, (max-width: 738px) 100vw, 738px" /></figure>



<p class="wp-block-paragraph"><strong>Step 3:</strong> when we get data after ajax success function  then apply logic</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="931" height="780" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi4.png" alt="" class="wp-image-6100" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi4.png 931w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi4-300x251.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi4-768x643.png 768w" sizes="auto, (max-width: 931px) 100vw, 931px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="954" height="839" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi5.png" alt="" class="wp-image-6101" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi5.png 954w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi5-300x264.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi5-768x675.png 768w" sizes="auto, (max-width: 954px) 100vw, 954px" /></figure>



<p class="wp-block-paragraph"><strong>Step 4:</strong> set routing in client side</p>



<p class="wp-block-paragraph">Route::prefix(&#8216;/touroperator&#8217;)-&gt;group(function () use ($namespace) {</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
Route::get(&#039;iternarydetail/{email}&#039;,&quot;$tourcontroller@getiternary&quot;);
</pre></div>


<p class="wp-block-paragraph">});</p>



<p class="wp-block-paragraph"><strong>Step 5: get token and client id  in client side controller using function</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="989" height="809" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/paginatio6-1.png" alt="" class="wp-image-6103" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/paginatio6-1.png 989w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/paginatio6-1-300x245.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/paginatio6-1-768x628.png 768w" sizes="auto, (max-width: 989px) 100vw, 989px" /></figure>



<p class="wp-block-paragraph"><strong>Step 6: set env and config flie</strong></p>



<p class="wp-block-paragraph">GET_MYHOLIDAYITERNARY_URL=/api/v1/j/iternarydetail</p>



<p class="wp-block-paragraph"><strong>Step 6:set Routing in server side</strong></p>



<p class="wp-block-paragraph">&nbsp;Route::get(&#8216;iternarydetail/{email}&#8217;,&nbsp;&#8216;Admin\AdminTPController@iternarydetail&#8217;);</p>



<p class="wp-block-paragraph"><strong>Step 7: apply  pagination query  inside sever side controller function</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="468" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi8-1024x468.png" alt="" class="wp-image-6105" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi8-1024x468.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi8-300x137.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi8-768x351.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi8-1536x702.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi8.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">finally  output view looks like</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="462" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi11-1024x462.png" alt="" class="wp-image-6106" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi11-1024x462.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi11-300x135.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi11-768x347.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi11-1536x694.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/pagi11.png 1681w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-create-custom-pagination-without-datatable-in-laravel-microservice/">How to create custom pagination  without datatable in laravel microservice</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-create-custom-pagination-without-datatable-in-laravel-microservice/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to filter data using country,state and city dropdown in microservice</title>
		<link>https://www.scmgalaxy.com/tutorials/how-to-filter-data-using-countrystate-and-city-dropdown-in-microservice/</link>
					<comments>https://www.scmgalaxy.com/tutorials/how-to-filter-data-using-countrystate-and-city-dropdown-in-microservice/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Tue, 04 May 2021 12:52:50 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[filter]]></category>
		<category><![CDATA[laravel]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6084</guid>

					<description><![CDATA[<p>Step 1: create dropdown div block in blade file Step 2: write jQuery key up and change function Step 3:pass [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-filter-data-using-countrystate-and-city-dropdown-in-microservice/">How to filter data using country,state and city dropdown in microservice</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>Step 1: create dropdown div block in blade file</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="515" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter1-1024x515.png" alt="" class="wp-image-6085" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter1-1024x515.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter1-300x151.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter1-768x386.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter1.png 1126w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="653" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter2-1024x653.png" alt="" class="wp-image-6086" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter2-1024x653.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter2-300x191.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter2-768x489.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter2.png 1078w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step 2: write jQuery key up and change function</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="602" height="794" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter3.png" alt="" class="wp-image-6087" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter3.png 602w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter3-227x300.png 227w" sizes="auto, (max-width: 602px) 100vw, 602px" /></figure>



<p class="wp-block-paragraph"><strong>Step 3:pass URL in ajax function for client side microservice</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1007" height="736" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter4.png" alt="" class="wp-image-6088" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter4.png 1007w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter4-300x219.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter4-768x561.png 768w" sizes="auto, (max-width: 1007px) 100vw, 1007px" /></figure>



<p class="wp-block-paragraph"><strong>step 4:  set routing</strong></p>



<p class="wp-block-paragraph">$tourcontroller = $namespace.&#8217;\TourDetailController&#8217;;<br>Route::get(&#8216;toursdetail/{email}&#8217;,&#8221;$tourcontroller@gettrip&#8221;);</p>



<p class="wp-block-paragraph"><strong>Step 5: write function in client side controller</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="847" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter6-1024x847.png" alt="" class="wp-image-6089" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter6-1024x847.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter6-300x248.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter6-768x635.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter6.png 1060w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph"><strong>Step 6: set env and app.php to connect between client and serverside  for microservice</strong></p>



<p class="wp-block-paragraph">GET_MYHOLIDAYTRIP_URL=/api/v1/j/gettripdetail</p>



<p class="wp-block-paragraph"><strong>Step 7: Set routing server side</strong></p>



<p class="wp-block-paragraph">Route::get(&#8216;gettripdetail/{email}&#8217;, &#8216;Admin\AdminTPController@tripdetail&#8217;);</p>



<p class="wp-block-paragraph"><strong>Step 8: create function in server side controller</strong></p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="658" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter7-1024x658.png" alt="" class="wp-image-6090" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter7-1024x658.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter7-300x193.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter7-768x493.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter7.png 1180w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">now run finally project</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="424" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter8-1024x424.png" alt="" class="wp-image-6091" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter8-1024x424.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter8-300x124.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter8-768x318.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/filter8.png 1482w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/how-to-filter-data-using-countrystate-and-city-dropdown-in-microservice/">How to filter data using country,state and city dropdown in microservice</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/how-to-filter-data-using-countrystate-and-city-dropdown-in-microservice/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Laravel Microservice Error: Call to undefined method GuzzleHttp\Exception\ConnectException::getResponse()</title>
		<link>https://www.scmgalaxy.com/tutorials/laravel-microservice-error-call-to-undefined-method-guzzlehttpexceptionconnectexceptiongetresponse/</link>
					<comments>https://www.scmgalaxy.com/tutorials/laravel-microservice-error-call-to-undefined-method-guzzlehttpexceptionconnectexceptiongetresponse/#respond</comments>
		
		<dc:creator><![CDATA[Rakesh K]]></dc:creator>
		<pubDate>Sat, 01 May 2021 12:51:11 +0000</pubDate>
				<category><![CDATA[Laravel]]></category>
		<category><![CDATA[laravel]]></category>
		<category><![CDATA[microservice]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=6036</guid>

					<description><![CDATA[<p>there are no of reason behind this error(i) guzzle version in composer json(ii) connection issue between client and server side [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-microservice-error-call-to-undefined-method-guzzlehttpexceptionconnectexceptiongetresponse/">Laravel Microservice Error: Call to undefined method GuzzleHttp\Exception\ConnectException::getResponse()</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">there are no of reason behind this error<br>(i) guzzle version in composer json<br>(ii) connection issue between client and server side microservices</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="1024" height="229" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http5-1024x229.png" alt="" class="wp-image-6037" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http5-1024x229.png 1024w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http5-300x67.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http5-768x172.png 768w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http5-1536x343.png 1536w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http5.png 1576w" sizes="auto, (max-width: 1024px) 100vw, 1024px" /></figure>



<p class="wp-block-paragraph">client side url in env file:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="572" height="48" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http.png" alt="" class="wp-image-6038" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http.png 572w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http-300x25.png 300w" sizes="auto, (max-width: 572px) 100vw, 572px" /></figure>



<p class="wp-block-paragraph">server side url in env file:</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="714" height="71" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http2.png" alt="" class="wp-image-6041" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http2.png 714w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http2-300x30.png 300w" sizes="auto, (max-width: 714px) 100vw, 714px" /></figure>



<p class="wp-block-paragraph"><strong>Solution:</strong></p>



<p class="wp-block-paragraph">in client side and server side  url http is mention  so to resolve this error we have to change the client side url and server side url in env file</p>



<p class="wp-block-paragraph">change http to https in both client side and server side url</p>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="643" height="64" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http9.png" alt="" class="wp-image-6051" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http9.png 643w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http9-300x30.png 300w" sizes="auto, (max-width: 643px) 100vw, 643px" /></figure>



<figure class="wp-block-image size-large"><img loading="lazy" decoding="async" width="781" height="50" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http4-1.png" alt="" class="wp-image-6054" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http4-1.png 781w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http4-1-300x19.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2021/05/http4-1-768x49.png 768w" sizes="auto, (max-width: 781px) 100vw, 781px" /></figure>



<p class="wp-block-paragraph">2nd solution:</p>



<p class="wp-block-paragraph">check guzzle version in composer json</p>



<p class="wp-block-paragraph">composer require guzzlehttp/guzzle:^6.0  in terminal or gitbash</p>



<p class="wp-block-paragraph">if 6.0 not suitable then other version also you can try run</p>



<p class="wp-block-paragraph"></p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/laravel-microservice-error-call-to-undefined-method-guzzlehttpexceptionconnectexceptiongetresponse/">Laravel Microservice Error: Call to undefined method GuzzleHttp\Exception\ConnectException::getResponse()</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/laravel-microservice-error-call-to-undefined-method-guzzlehttpexceptionconnectexceptiongetresponse/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
