<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — osCommerce Order and Customer Import Module]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=4723</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4723&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in osCommerce Order and Customer Import Module.]]></description>
		<lastBuildDate>Sun, 09 Jul 2017 01:58:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: osCommerce Order and Customer Import Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28156#p28156</link>
			<description><![CDATA[<p>The corrections have been ported to the FA v2.4.1&#039;s module <a href="https://github.com/apmuthu/FA24extensions/tree/master/Extensions/osc_orders">osc_orders</a>.</p><p>Check the commits on <a href="https://github.com/braathwaate/FA24extensions/commits/master">this fork</a> as well.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 09 Jul 2017 01:58:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28156#p28156</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce Order and Customer Import Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=22750#p22750</link>
			<description><![CDATA[<p>TYPE keyword <a href="http://stackoverflow.com/questions/11471075/mysql-error-type-myisam">is depreciated</a> (since MySQL v5.0) and not supported in MySQLv5.5.</p><p>Replace <strong>TYPE=MyISAM</strong> with <strong>ENGINE=MyISAM</strong></p><p>@Alan: nice catch</p><p>Get the amended file from the <a href="https://github.com/apmuthu/frontaccounting/commit/a13ab954ed854252cce66d18f9a27e74ad8bd3ed">commit</a> in my GitHub Repo.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 03 Mar 2015 12:47:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=22750#p22750</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce Order and Customer Import Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=22728#p22728</link>
			<description><![CDATA[<p>Hi,<br />I am trying the setup of the module, after installing from the files in this post, I have this error, when I click to create the table:</p><p>DATABASE ERROR : Error creating table<br />error code : 1064<br />error message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#039;TYPE=MyISAM&#039; at line 1<br />sql that failed was : CREATE TABLE fa_oscommerce ( `name` char(15) NOT NULL default &#039;&#039;, `value` varchar(100) NOT NULL default &#039;&#039;, PRIMARY KEY (`name`)) TYPE=MyISAM</p><p>Where and which modifications I need to do ?<br />Thank You</p>]]></description>
			<author><![CDATA[null@example.com (Alan)]]></author>
			<pubDate>Fri, 27 Feb 2015 13:33:47 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=22728#p22728</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce Order and Customer Import Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21801#p21801</link>
			<description><![CDATA[<p>@geoffreywalton: That is a good catch!</p><p>You&#039;re right about the <strong>orders &lt;==&gt; sales</strong> nomenclature - it had me stumped for a while in the early days, but I guess it was to distinguish it from the &quot;sequential order&quot; connotation.</p><p>The <strong>function start_table()</strong> is in the <strong>includes/ui/ui_controls.inc</strong> file that must have gotten the constants after the original <strong>osc_import</strong> (and now <strong>osc_orders</strong>) extension was made.</p><p>@joe: You may take the version bumped commit from <a href="https://github.com/apmuthu/frontaccounting/commit/a89ec08fa83d74cb5af6208ddba72bdb9129c20e">my GitHub repo</a>.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 18 Dec 2014 16:44:25 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21801#p21801</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce Order and Customer Import Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=21792#p21792</link>
			<description><![CDATA[<p>Hi</p><p>I have come over here after supporting oscommerce since 2007 so was interested in the interface between these 2 systems.</p><p>I was most upset to see this extension did not work out of the box and found the option to give access to a user was not visible, just as described above.</p><p>After further investigation I have found the contents of hooks.php is incorrect. If you change it to </p><p>&lt;?php<br />define (&#039;SS_OSCORDERS&#039;, 106&lt;&lt;8);</p><p>class hooks_osc_orders extends hooks {<br />&nbsp; &nbsp; var $module_name = &#039;osCommerce Order Import&#039;; </p><p>&nbsp; &nbsp; /*<br />&nbsp; &nbsp; &nbsp; &nbsp; Install additonal menu options provided by module<br />&nbsp; &nbsp; */<br />&nbsp; &nbsp; function install_options($app) {<br />&nbsp; &nbsp; &nbsp; &nbsp; global $path_to_root;</p><p>&nbsp; &nbsp; &nbsp; &nbsp; switch($app-&gt;id) {<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &#039;orders&#039;:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $app-&gt;add_rapp_function(2, _(&#039;osCommerce Import&#039;), <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $path_to_root.&#039;/modules/osc_orders/osCommerce.php&#039;, &#039;SA_OSCORDERS&#039;);<br />&nbsp; &nbsp; &nbsp; &nbsp; }<br />&nbsp; &nbsp; }</p><p>&nbsp; &nbsp; function install_access()<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; $security_sections[SS_OSCORDERS] =&nbsp; &nbsp; _(&quot;osCommerce Order Import&quot;);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; $security_areas[&#039;SA_OSCORDERS&#039;] = array(SS_OSCORDERS|106, _(&quot;osCommerce Order Import&quot;));</p><p>&nbsp; &nbsp; &nbsp; &nbsp; return array($security_areas, $security_sections);<br />&nbsp; &nbsp; }<br />}<br />?&gt;</p><p>And hey-presto, you can now give access rights to users and they will be able to see the option on the Sales tab.</p><p>Incidentally why do you have to test for orders when the tab is called sales?</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; case &#039;orders&#039;:</p><p>Is it just a cunning ploy to make it difficult for new developers?</p><p>Unfortnately that is not all you need to do, in osCommerce.php replace all occurrences of</p><p>&quot;$table_style2 w</p><p>with</p><p>TABLESTYLE2, &quot;w</p><p>and </p><p>start_table($table_style);</p><p>with</p><p>start_table(TABLESTYLE);</p><p>On line 229 change table type to read</p><p>ENGINE=MyISAM</p><p>That should allow you to start up the application.</p><p>Select the configure option and enter your osc db credentials.</p><p>Now you can import your customers, check prices and update prices. Make sure you have backups of both DBs before you start playing!!!!</p><p>I suspect the order import will fail big time if the osc model/products numbers are not synchronised to the FA Item nos.</p><p>The check prices option will show what needs to be done. </p><p>I suspect the next stage is to update the stock in OSC from FA.</p><p>Anyway this should get you going.</p><p>Cheers</p><p>G</p>]]></description>
			<author><![CDATA[null@example.com (geoffreywalton)]]></author>
			<pubDate>Wed, 17 Dec 2014 21:49:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=21792#p21792</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce Order and Customer Import Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=19345#p19345</link>
			<description><![CDATA[<p>Please logout, clear browser cache and also purge the js files in the company folder so that they get re-created and then try again.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Thu, 27 Feb 2014 02:15:30 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=19345#p19345</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce Order and Customer Import Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=19277#p19277</link>
			<description><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Roles permissions must be enabled for the user</p></blockquote></div><p>Thanks apmuthu.&nbsp; I actually have the role permission of Admin and has checked all the items and I login to admin.&nbsp; The issue is I did not see an item of OScommerce&nbsp; for me to check.</p><p>Any further advise you could provide?&nbsp; Thanks again.</p><p>Best regards <br />KH</p>]]></description>
			<author><![CDATA[null@example.com (khkoh)]]></author>
			<pubDate>Fri, 14 Feb 2014 07:24:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=19277#p19277</guid>
		</item>
		<item>
			<title><![CDATA[Re: osCommerce Order and Customer Import Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=19254#p19254</link>
			<description><![CDATA[<p>Roles permissions must be enabled for the user</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 12 Feb 2014 05:40:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=19254#p19254</guid>
		</item>
		<item>
			<title><![CDATA[osCommerce Order and Customer Import Module]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=19195#p19195</link>
			<description><![CDATA[<p>Hi there,</p><p>I have installed FA 2.3.19.&nbsp; &nbsp;And I have installed/activated Extension &quot;osCommerce Order and Customer Import Module&quot;.&nbsp; Under the Install/activate Extension Tab, I have activated it by selecting the Campany name.&nbsp; &nbsp; However, I cannot see this extension under Access Setup for me to provide the access permission (I have the Administrator access rights).&nbsp; When I comb through all the tabs, I also cannot find any navigation items pertaining to this module/extension.</p><p>When I go to the www.domain.com/modules/osc_orders/osCommerce.php, it shows me this message:</p><p>&quot;The security settings on your account do not permit you to access this function&quot;</p><p>I would appreciate if anyone could share or advise how I could get this extension setup.</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (khkoh)]]></author>
			<pubDate>Wed, 05 Feb 2014 11:25:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=19195#p19195</guid>
		</item>
	</channel>
</rss>
