<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Cant add inventory items]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8204&amp;type=atom" />
	<updated>2019-06-13T02:59:51Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=8204</id>
		<entry>
			<title type="html"><![CDATA[Re: Cant add inventory items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35174#p35174" />
			<content type="html"><![CDATA[<p>Yes, typo on the post, luckily not on the server&#039;s config. Thank you though.</p><p>I applied it through .htacces</p><p>Header always set X-Frame-Options SAMEORIGIN</p>]]></content>
			<author>
				<name><![CDATA[dLoPRod]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41808</uri>
			</author>
			<updated>2019-06-13T02:59:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35174#p35174</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cant add inventory items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35173#p35173" />
			<content type="html"><![CDATA[<p>Typo?<br /></p><div class="codebox"><pre><code>x-frame-options SAMEORIGIN</code></pre></div><p><a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options">Reference</a></p><p><strong>Send out the header using PHP:</strong><br /></p><div class="codebox"><pre><code>&lt;?php
header(&quot;X-Frame-Options: SAMEORIGIN&quot;);
?&gt;</code></pre></div><p>In <strong>.htaccess:</strong><br /></p><div class="codebox"><pre><code>Header append X-FRAME-OPTIONS &quot;SAMEORIGIN&quot;
(or)
Header append X-FRAME-OPTIONS &quot;DENY&quot;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-06-13T02:55:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35173#p35173</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cant add inventory items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35172#p35172" />
			<content type="html"><![CDATA[<p>I changed it to x-frame-ooptions SAMEORIGIN and now it&#039;s working. </p><p>Thank you both very much.</p>]]></content>
			<author>
				<name><![CDATA[dLoPRod]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41808</uri>
			</author>
			<updated>2019-06-12T21:01:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35172#p35172</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cant add inventory items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35157#p35157" />
			<content type="html"><![CDATA[<p>This is the exact <a href="https://frontaccounting.com/punbb/viewtopic.php?id=7526"> same issue as you have</a></p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-06-11T14:49:53Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35157#p35157</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cant add inventory items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35156#p35156" />
			<content type="html"><![CDATA[<p><s>What happens when you allow x-frame options? Does the problem go away?</s></p><p><s>An iframe is used for the date picker(maybe for other js uses too???) <br />Any page with a date option will definitely have an iframe, at first glance items don&#039;t have a date, but now look at the tabbed content.</s></p><p><s>SO has numerous posts on the subject - there&#039;s even a tag for x-frame-options</s></p><p><s>@apmuthu, can you help please?</s></p><br /><p><s>If still problems try:-</s></p><br /><p><s>Make a clean install, if you get the same problem, it more or less eliminates FA software.</s></p><p><s>What other php versions do you have besides 7.3.6? I have had issues running 7.2 a while ago, dialed back to 7.1 and all was ok.</s></p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-06-11T14:43:04Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35156#p35156</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cant add inventory items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35155#p35155" />
			<content type="html"><![CDATA[<p>Frontaccounting Version 2.4.6 recently upgraded. My method for upgrading is clean install then copy whatever is missing to the new folder, meaning my modified login and logout screens, config.php, local themes, backups and also language folder.</p><p>PHP Version 7.3.6</p><p>Server version: Apache/2.4.6 (CentOS) running on a cloud VPS.</p><p>Setup has not changed in a long time.</p><p>I found <a href="https://frontaccounting.com/punbb/viewtopic.php?id=7791">this</a> other post, which references the module I&#039;m having problems with, but not 100% sure it&#039;s related.</p><p>Will try dev mode and update.</p><p>Thank you poncho.</p><p>Edit.<br />After running with dev mode activated, I get the following error:</p><p>Load denied by X-Frame-Options: https://[my website]/inventory/manage/items.php?JsHttpRequest=[numbers]-form does not permit framing.</p><p>First test used firefox browser. I just ran the test on chromium browser and the error is the following:</p><p>Refused to display &#039;https://[my website]/inventory/manage/items.php?JsHttpRequest=[numbers]-form&#039; in a frame because it set &#039;X-Frame-Options&#039; to &#039;deny&#039;.</p><p>I have set X-Frame-Options to deny for security purposes, my understanding is that frames are used to embed and isolate 3rd party content into a website, this option helps prevent clickjacking. Is there no other way around my problem but to disable this option? I&#039;m guessing through an .htacces file on this folder only. Are there any other modules in Frontaccounting that use frames where I should use this special .htacces file?</p>]]></content>
			<author>
				<name><![CDATA[dLoPRod]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41808</uri>
			</author>
			<updated>2019-06-11T13:11:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35155#p35155</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Cant add inventory items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35152#p35152" />
			<content type="html"><![CDATA[<p>Hi, you&#039;ll need to provide more info for anyone to help you. Version? php version? server type, etc.</p><p>Has your server setup changed? Try a clean install?</p><p>Use your browser dev mode (F12) to check for errors.</p><br /><p>(This was my own yellowtriangle <a href="https://frontaccounting.com/punbb/viewtopic.php?id=6516">problem </a>- probably not the same issue as you, but will give you some ideas for finding the problem, also search this forum)</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-06-11T10:18:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35152#p35152</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Cant add inventory items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35145#p35145" />
			<content type="html"><![CDATA[<p>When I try to add an inventory item, I get an error symbol on the top.</p><p>Activated debugging but still only the error symbol appears, no logs. Checked the tmp/errors.log file but nothing there either.</p><p>Does anyone has a clue about what could be happening.</p><p>Thanks in advance.</p>]]></content>
			<author>
				<name><![CDATA[dLoPRod]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41808</uri>
			</author>
			<updated>2019-06-11T01:50:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35145#p35145</id>
		</entry>
</feed>
