<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unable to Update Configuration Settings – 403 Forbidden in Bagisto 2.4]]></title><description><![CDATA[<p dir="auto">Hi Bagisto Team,</p>
<p dir="auto">Yesterday, I was trying to update the Payment Method settings from the Configuration section in Bagisto, but I was continuously getting a 403 Forbidden error whenever I tried to save the changes.</p>
<p dir="auto">At that time, a support member suggested that I update my Bagisto installation from the master branch to the latest 2.4 branch.</p>
<p dir="auto">I updated my installation to the latest 2.4 version, and the Payment Method error no longer occurs. However, I am still facing the same 403 Forbidden error in other modules under the Configuration section.</p>
<p dir="auto">It seems that the issue is not limited to the Payment Method configuration and may be related to the configuration save/update functionality or permissions.</p>
<p dir="auto">Could someone please guide me on:</p>
<p dir="auto">What could be causing the 403 Forbidden error across the Configuration modules?<br />
Is there any additional migration, permission, cache, or configuration change required after updating from the master branch to 2.4?<br />
Is there any recommended way to properly update/sync the latest 2.4 branch in an existing Bagisto installation?<br />
Are there any specific routes, middleware, CSRF, ACL/permission, or server configuration settings I should check?</p>
<p dir="auto">Current situation:</p>
<p dir="auto">Previous version: Master branch<br />
Updated version: Latest 2.4 branch<br />
Payment Method: Working after the update<br />
Other Configuration modules: Still returning 403 Forbidden</p>
<p dir="auto">Any guidance on how to properly resolve this issue would be greatly appreciated.</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forums.bagisto.com/topic/4283/unable-to-update-configuration-settings-403-forbidden-in-bagisto-2-4</link><generator>RSS for Node</generator><lastBuildDate>Sun, 13 Sep 2026 23:33:15 GMT</lastBuildDate><atom:link href="https://forums.bagisto.com/topic/4283.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 09 Sep 2026 07:50:19 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to Update Configuration Settings – 403 Forbidden in Bagisto 2.4 on Thu, 10 Sep 2026 05:54:40 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.bagisto.com/uid/34904">@gkdev</a></p>
<p dir="auto">Greetings!</p>
<p dir="auto">As you confirmed, you were previously working on the master branch, which contains the newer Bagisto 2.5 version, and then switched to the 2.4 branch.</p>
<p dir="auto">Please note that once Bagisto has been installed, you cannot move back to an older version simply by switching branches. If you need to use the older branch/code, you will need to reinstall Bagisto using the required version.</p>
<p dir="auto">If your project contains any production data, we strongly recommend that you do not downgrade or switch to an older version, as the database structure of a newer Bagisto version may not be compatible with an older version.</p>
<p dir="auto">If you do not have any production data and want to start with a fresh Bagisto 2.4 installation, you can clone the Bagisto 2.4 branch and install it using:</p>
<pre><code>composer install 
php artisan bagisto:install
</code></pre>
<p dir="auto">Note: If you have any important data, customizations, or changes, please make sure to take a complete backup before reinstalling.</p>
<p dir="auto">Also, please note that the database of a newer Bagisto version cannot simply be used with an older Bagisto version, as the database structure and migrations may differ between versions.</p>
<p dir="auto">Regarding the 403 Forbidden Error<br />
The 403 Forbidden error is generally related to server configuration or file permissions. Please ensure that the web-server user has the required read/write permissions for the Bagisto application directories.</p>
<p dir="auto">For a standard Linux server using www-data as the web-server user, you can use the following commands from the Bagisto project directory:</p>
<pre><code>sudo chown -R www-data:www-data storage bootstrap/cache 
sudo chmod -R 775 storage bootstrap/cache
</code></pre>
<p dir="auto">If your web server uses a different user, such as nginx or nobody, replace www-data with the appropriate web-server user.</p>
<p dir="auto">You can check the web-server user based on your server configuration/processes before applying the ownership command.</p>
<p dir="auto">If the issue persists, you can also ensure that the Bagisto project directories are accessible by the web server:</p>
<pre><code>sudo chmod -R 755 /path/to/bagisto 
sudo chmod -R 775 /path/to/bagisto/storage 
sudo chmod -R 775 /path/to/bagisto/bootstrap/cache
</code></pre>
<p dir="auto">Please replace /path/to/bagisto with your actual Bagisto project path.</p>
<p dir="auto">After updating the permissions, clear the application cache:</p>
<pre><code>php artisan optimize:clear
</code></pre>
<p dir="auto">Important: We recommend avoiding chmod -R 777 on the Bagisto project, as it provides unnecessarily broad permissions and is not recommended for a production server.</p>
<p dir="auto">Thank you.<br />
Aviral<br />
Team Bagisto</p>
]]></description><link>https://forums.bagisto.com/post/14984</link><guid isPermaLink="true">https://forums.bagisto.com/post/14984</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Thu, 10 Sep 2026 05:54:40 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Update Configuration Settings – 403 Forbidden in Bagisto 2.4 on Thu, 10 Sep 2026 05:13:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forums.bagisto.com/uid/1">@admin</a><br />
catch one error in last night</p>
<p dir="auto">[2026-09-09 19:11:21] local.ERROR: Uncaught ReferenceError: adjustSubMenuPosition is not defined <a href="https://selectstock.in/admin/configuration/sales/taxes" rel="nofollow ugc">https://selectstock.in/admin/configuration/sales/taxes</a> 1169 18 ReferenceError adjustSubMenuPosition is not defined ReferenceError: adjustSubMenuPosition is not defined<br />
at HTMLDivElement.onmouseenter (<a href="https://selectstock.in/admin/configuration/sales/taxes:1169:18" rel="nofollow ugc">https://selectstock.in/admin/configuration/sales/taxes:1169:18</a>) {"url":"<a href="https://selectstock.in/admin/configuration/sales/taxes%22,%22user_agent%22:%22Mozilla/5.0" rel="nofollow ugc">https://selectstock.in/admin/configuration/sales/taxes","user_agent":"Mozilla/5.0</a> (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/152.0.0.0 Safari/537.36","timestamp":"2026-09-09T13:41:22.376Z"}</p>
]]></description><link>https://forums.bagisto.com/post/14983</link><guid isPermaLink="true">https://forums.bagisto.com/post/14983</guid><dc:creator><![CDATA[gkdev]]></dc:creator><pubDate>Thu, 10 Sep 2026 05:13:13 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Update Configuration Settings – 403 Forbidden in Bagisto 2.4 on Wed, 09 Sep 2026 12:50:25 GMT]]></title><description><![CDATA[<p dir="auto">HI Aviral<br />
i'm try but not show any error.<br />
notice one point. whenever select any upload image then give me this 403</p>
]]></description><link>https://forums.bagisto.com/post/14982</link><guid isPermaLink="true">https://forums.bagisto.com/post/14982</guid><dc:creator><![CDATA[gkdev]]></dc:creator><pubDate>Wed, 09 Sep 2026 12:50:25 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Update Configuration Settings – 403 Forbidden in Bagisto 2.4 on Wed, 09 Sep 2026 11:23:38 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forums.bagisto.com/uid/34904">@gkdev</a> ,</p>
<p dir="auto">Thanks for the clear details. A 403 Forbidden while saving Configuration is<br />
usually caused by one of the three things below. Please check them in this order.</p>
<ol>
<li>Server security rule (the most common cause)<br />
Most servers run a security firewall (like ModSecurity / WAF). It can block a<br />
"Save" when one of the setting fields contains characters it treats as unsafe -<br />
for example &lt; &gt; quotes, a URL, or code-like text. This is why some Configuration<br />
pages save fine and others give a 403.</li>
</ol>
<ul>
<li>Ask your hosting/server team to open the web server error log (Apache or<br />
Nginx) at the exact time you got the 403.</li>
<li>If a security rule is blocking it, ask them to allow/whitelist your admin<br />
save URL: /admin/configuration.</li>
</ul>
<p dir="auto">Tip to confirm this: a plain white "403 Forbidden" page means the server blocked<br />
it. A Bagisto permission problem instead shows the styled Bagisto "Unauthorized"<br />
screen, and a CSRF problem shows a "419" page - so those two are likely not your<br />
issue here.</p>
<ol start="2">
<li>Admin role permissions<br />
After moving to 2.4, an existing role can be left without full rights.</li>
</ol>
<ul>
<li>Go to Settings &gt; Users &gt; Roles, open your role, set Access Control to "All",<br />
and save it.</li>
<li>Log out, log back in, and try saving again.</li>
</ul>
<ol start="3">
<li>Old cache left over from the update<br />
After any version update, run the migrations and clear all caches:<br />
php artisan migrate<br />
php artisan optimize:clear<br />
php artisan route:clear<br />
php artisan config:clear<br />
php artisan view:clear</li>
</ol>
<p dir="auto">Recommended way to update master -&gt; 2.4 in an existing install:</p>
<ul>
<li>Take a full backup first (both files and database).</li>
<li>Pull the 2.4 code.</li>
<li>Run: composer install</li>
<li>Run the migrate + cache-clear commands listed above.</li>
<li>Rebuild the admin assets if needed:<br />
cd packages/Webkul/Admin<br />
npm install &amp;&amp; npm run build</li>
</ul>
<p dir="auto">If you can share that one error-log line from a failed save, we can tell you<br />
exactly which rule is blocking it.</p>
<p dir="auto">Thanks.<br />
Aviral<br />
Bagisto Team</p>
]]></description><link>https://forums.bagisto.com/post/14981</link><guid isPermaLink="true">https://forums.bagisto.com/post/14981</guid><dc:creator><![CDATA[admin]]></dc:creator><pubDate>Wed, 09 Sep 2026 11:23:38 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to Update Configuration Settings – 403 Forbidden in Bagisto 2.4 on Wed, 09 Sep 2026 07:52:14 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1788940328796-e2f8ba8e-f7dd-4ba8-a6ea-45b4f94ff646-image.png" alt="e2f8ba8e-f7dd-4ba8-a6ea-45b4f94ff646-image.png" class=" img-responsive img-markdown" /> <a href="https://forums.bagisto.com/post-queue/topic-1788940219054">https://forums.bagisto.com/post-queue/topic-1788940219054</a></p>
]]></description><link>https://forums.bagisto.com/post/14980</link><guid isPermaLink="true">https://forums.bagisto.com/post/14980</guid><dc:creator><![CDATA[gkdev]]></dc:creator><pubDate>Wed, 09 Sep 2026 07:52:14 GMT</pubDate></item></channel></rss>