<?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>PrestaShop Documentation</title>
	<atom:link href="http://www.prestashopdocumentation.info/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.prestashopdocumentation.info</link>
	<description>Blog about PrestaShop</description>
	<lastBuildDate>Mon, 30 Apr 2012 14:42:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Advanced Labels module released!</title>
		<link>http://www.prestashopdocumentation.info/advanced-labels-module-released/</link>
		<comments>http://www.prestashopdocumentation.info/advanced-labels-module-released/#comments</comments>
		<pubDate>Mon, 30 Apr 2012 14:42:25 +0000</pubDate>
		<dc:creator>Donatas Lomsargis</dc:creator>
				<category><![CDATA[Advanced Labels]]></category>
		<category><![CDATA[Modules]]></category>

		<guid isPermaLink="false">http://www.prestashopdocumentation.info/?p=859</guid>
		<description><![CDATA[Information coming soon!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2012/04/advanced.png" rel="wp-prettyPhoto[g859]"><img class="alignleft size-full wp-image-860" title="Advanced Labels PrestaShop Module" src="http://www.prestashopdocumentation.info/wp-content/uploads/2012/04/advanced.png" alt="Advanced Labels PrestaShop Module" width="57" height="57" /></a>Information coming soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prestashopdocumentation.info/advanced-labels-module-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advanced Auction Released!</title>
		<link>http://www.prestashopdocumentation.info/advanced-auction-user-guide/</link>
		<comments>http://www.prestashopdocumentation.info/advanced-auction-user-guide/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 16:15:48 +0000</pubDate>
		<dc:creator>Donatas Lomsargis</dc:creator>
				<category><![CDATA[Advanced auction]]></category>

		<guid isPermaLink="false">http://www.prestashopdocumentation.info/?p=818</guid>
		<description><![CDATA[We are glad to announce about new Advanced Auction module release. Advanced Auction module is powerful, robust and feature-rich solution far an online auction web-site. It&#8217;s very easy to manage but very powerfull and with appealing design in back and &#8230; ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2012/03/advanced_auction_prestashop.jpg" rel="wp-prettyPhoto[g818]"><img class="alignleft size-full wp-image-830" title="advanced_auction_prestashop" src="http://www.prestashopdocumentation.info/wp-content/uploads/2012/03/advanced_auction_prestashop.jpg" alt="Advanced Auction" width="57" height="57" /></a>We are glad to announce about new Advanced Auction module release.<br />
Advanced Auction module is powerful, robust and feature-rich solution far an online auction web-site. It&#8217;s very easy to manage but very powerfull and with appealing design in back and front offices.</p>
<p>You can check it in PrestaShop addons shop: <a title="Advanced Auction" href="http://addons.prestashop.com/en/front-office-features/4826-advanced-auction.html">http://addons.prestashop.com/en/front-office-features/4826-advanced-auction.html</a></p>
<p>Suggestions and questions: <strong>donatas@invertus.lt.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.prestashopdocumentation.info/advanced-auction-user-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Advanced Review Premium Released!</title>
		<link>http://www.prestashopdocumentation.info/advanced-review-premium-released/</link>
		<comments>http://www.prestashopdocumentation.info/advanced-review-premium-released/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 16:10:21 +0000</pubDate>
		<dc:creator>Donatas Lomsargis</dc:creator>
				<category><![CDATA[Advanced Review Premium]]></category>

		<guid isPermaLink="false">http://www.prestashopdocumentation.info/?p=834</guid>
		<description><![CDATA[Advanced reviews premium is Reviewing&#38;Rating&#38;Analyzing module with many features. Check it on PrestaShop addons: http://bit.ly/JjE5I0 People are now looking for authoritative information generated by other users online, not in books or encyclopedias. Customers are using reviews more and more before deciding &#8230; ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2012/04/advanced_review_premium_prestashop_addon_module.jpg" rel="wp-prettyPhoto[g834]"><img class="alignleft size-full wp-image-835" title="advanced_review_premium_prestashop_addon_module" src="http://www.prestashopdocumentation.info/wp-content/uploads/2012/04/advanced_review_premium_prestashop_addon_module.jpg" alt="Advanced Review Premium" width="57" height="57" /></a>Advanced reviews premium is <strong>Reviewing</strong>&amp;<strong>Rating</strong>&amp;<strong>Analyzing</strong> module with many features. Check it on PrestaShop addons: <a title="Advanced Review Premium" href="http://bit.ly/JjE5I0">http://bit.ly/JjE5I0</a></p>
<p><a title="Advanced Review Premium" href="http://bit.ly/JjE5I0"> </a></p>
<p><a title="Advanced Review Premium" href="http://bit.ly/JjE5I0"></a><br />
People are now looking for authoritative information generated by other users online, not in books or encyclopedias. Customers are using reviews more and more before deciding to make a purchase.</p>
<p><strong>You can also check simpler versions of this module:</strong></p>
<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2012/04/advanced_review_prestashop_addon_module.jpg" rel="wp-prettyPhoto[g834]"><img class="alignleft size-full wp-image-836" title="advanced_review_prestashop_addon_module" src="http://www.prestashopdocumentation.info/wp-content/uploads/2012/04/advanced_review_prestashop_addon_module.jpg" alt="Advanced Review" width="57" height="57" /></a><br />
Advanced Review on PrestaShop addons website: <a title="Advanced Review" href="http://bit.ly/IvZcwn">http://bit.ly/IvZcwn</a></p>
<p>&nbsp;</p>
<p>Suggestions and questions: <strong>donatas@invertus.lt.</strong></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prestashopdocumentation.info/advanced-review-premium-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Price match module/addon released!</title>
		<link>http://www.prestashopdocumentation.info/price-match-user-guide/</link>
		<comments>http://www.prestashopdocumentation.info/price-match-user-guide/#comments</comments>
		<pubDate>Tue, 20 Mar 2012 14:57:55 +0000</pubDate>
		<dc:creator>Donatas Lomsargis</dc:creator>
				<category><![CDATA[Price match]]></category>

		<guid isPermaLink="false">http://www.prestashopdocumentation.info/?p=821</guid>
		<description><![CDATA[Be ahead of competitors with the help of your customers, reporting about lower prices on your products in other stores. Check it on PrestaShop addons website: http://addons.prestashop.com/en/front-office-features/4825-price-match.html Suggestions and questions: donatas@invertus.lt.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2012/03/price_match_prestashop_module_addon.jpg" rel="wp-prettyPhoto[g821]"><img class="alignleft size-full wp-image-832" title="price_match_prestashop_module_addon" src="http://www.prestashopdocumentation.info/wp-content/uploads/2012/03/price_match_prestashop_module_addon.jpg" alt="Price match prestashop module add-on" width="57" height="57" /></a>Be ahead of competitors with the help of your customers, reporting about lower prices on your products in other stores.<br />
Check it on PrestaShop addons website: <a title="Price match add-on - PrestaShop" href="http://addons.prestashop.com/en/front-office-features/4825-price-match.html">http://addons.prestashop.com/en/front-office-features/4825-price-match.html</a></p>
<p>Suggestions and questions: <strong>donatas@invertus.lt.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.prestashopdocumentation.info/price-match-user-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Translations does not work problem &#8211; resolved.</title>
		<link>http://www.prestashopdocumentation.info/translations-does-not-work-problem-resolved/</link>
		<comments>http://www.prestashopdocumentation.info/translations-does-not-work-problem-resolved/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 15:51:31 +0000</pubDate>
		<dc:creator>Donatas Lomsargis</dc:creator>
				<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.prestashopdocumentation.info/?p=805</guid>
		<description><![CDATA[Today encountered strange problem with PrerestaShop translations. It took couple of hours to resolve it. Sometimes it may be a real nightmare to manage Prestashop translations but I hope it will be improved soon by PrestaShop team. So the problem: &#8230; ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2012/03/prestashop_translations.png" rel="wp-prettyPhoto[g805]"><img class="size-thumbnail wp-image-809 alignleft" title="prestashop translations" src="http://www.prestashopdocumentation.info/wp-content/uploads/2012/03/prestashop_translations-150x150.png" alt="prestashop translations" width="150" height="150" /></a>Today encountered strange problem with PrerestaShop translations. It took couple of hours to resolve it. Sometimes it may be a real nightmare to manage Prestashop translations but I hope it will be improved soon by PrestaShop team.<br />
<span id="more-805"></span><strong><br />
So the problem:</strong><br />
Only part of module translations worked in Ubuntu server. It seemed that only top fields were translated and other just did not changed after translations form was submitted in back office. I have uploaded whole shop to a new server and translations worked perfectly.</p>
<p><strong>The solution:</strong><br />
I found out that some <strong>$_POST</strong> variable values were missing after translations form submit. Google helped me to find the solution :<br />
<a title="Post values missing" href="http://stackoverflow.com/questions/5077969/php-some-post-values-missing-but-are-present-in-php-input">http://stackoverflow.com/questions/5077969/php-some-post-values-missing-but-are-present-in-php-input</a></p>
<p>PHP by default limits number of variables to 1000. As it is stated here:<br />
<a title="Max input vars" href="http://www.php.net/manual/en/info.configuration.php#ini.max-input-vars">http://www.php.net/manual/en/info.configuration.php#ini.max-input-vars</a></p>
<p>It&#8217;s stated, that this option is available since PHP 5.3.9:<br />
<a href="http://php.net/manual/en/info.configuration.php">http://php.net/manual/en/info.configuration.php</a><br />
My PHP version is 5.3.6 &#8211; so maybe php.net website placed wrong information.</p>
<p>You can also check your server logs and you should se something like this (Ubuntu example):<br />
<strong>[error] [client 127.0.0.1] PHP Warning:  Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0, referer:&#8230;</strong></p>
<p>So the solution to set max_input_vars in <strong>php.ini</strong>. Just place this line ant the end of <strong>php.ini max_input_vars = 10000</strong><br />
If you use Ubuntu 11.10 you will find <strong>php.ini</strong> in this directory: /etc/php5/apache2/</p>
<p>One more problem solved. Hope this info will be helpful for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prestashopdocumentation.info/translations-does-not-work-problem-resolved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PrestaShop password Resetter</title>
		<link>http://www.prestashopdocumentation.info/prestashop-password-resetter/</link>
		<comments>http://www.prestashopdocumentation.info/prestashop-password-resetter/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 14:51:02 +0000</pubDate>
		<dc:creator>Donatas Lomsargis</dc:creator>
				<category><![CDATA[Free stuff]]></category>

		<guid isPermaLink="false">http://www.prestashopdocumentation.info/?p=783</guid>
		<description><![CDATA[Because many people like our fast PrestaShop password resetter (read the old post and comments here) I decided to add new features like the old password recovery after the password was reset. I think this feature is very useful because &#8230; ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2011/07/reset_prestashop_admin_password.jpg" rel="wp-prettyPhoto[g783]"><img class="alignleft size-full wp-image-784" title="PrestaShop password resetter" src="http://www.prestashopdocumentation.info/wp-content/uploads/2011/07/reset_prestashop_admin_password.jpg" alt="PrestaShop password resetter" width="140" height="140" /></a>Because many people like our <strong>fast</strong> PrestaShop password resetter (read the old post and comments <a title="PrestaShop Password resetter" href="http://www.prestashopdocumentation.info/how-to-reset-admin-password-in-prestashop/" target="_blank">here</a>) I decided to add new features like the old password recovery after the password was reset. I think this feature is very useful because you can backup the old password, change it, do your job, and restore the password back so your customers will not even notice that password was changed <img src='http://www.prestashopdocumentation.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span id="more-783"></span></p>
<p>You can download PrestaShop password resetter <a title="PrestaShop password resseter" href="http://www.prestashopdocumentation.info/uploads/invertus_passwd_reseter.rar" target="_blank">here</a>. Download archive, extract it and upload to your shop&#8217;s root directory and access it with your browser.</p>
<p>Here are some screenshots:</p>
<p>Select emails for which you want to backup passwords and click <strong>&#8220;Download old passwords&#8221;</strong>:</p>
<div id="attachment_791" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2011/07/backup_old_prestashop_passwords1.png" rel="wp-prettyPhoto[g783]"><img class="size-medium wp-image-791" title="Backup old PrestaShop password(s)" src="http://www.prestashopdocumentation.info/wp-content/uploads/2011/07/backup_old_prestashop_passwords1-300x238.png" alt="Backup old PrestaShop password(s)" width="300" height="238" /></a><p class="wp-caption-text">Backup old PrestaShop password(s)</p></div>
<p>Now you can reset password(s). Select email(s) (<strong> </strong>sorry I forgot to select email in next screenshot <img src='http://www.prestashopdocumentation.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ) and click <strong>&#8220;Reset&#8221;</strong>:</p>
<div id="attachment_787" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2011/07/Reset-prestashop_password.png" rel="wp-prettyPhoto[g783]"><img class="size-medium wp-image-787" title="Reset PrestaShop password" src="http://www.prestashopdocumentation.info/wp-content/uploads/2011/07/Reset-prestashop_password-300x219.png" alt="Reset PrestaShop password" width="300" height="219" /></a><p class="wp-caption-text">Reset PrestaShop password</p></div>
<p>Now after you finished your job you can restore old passwords. Now you do not need to select any emails &#8211; just click <strong>Browse, </strong>choose the file you downloaded before and click <strong>&#8220;Upload File&#8221;</strong>:</p>
<div id="attachment_788" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2011/07/Restore_PrestaShop_Password.png" rel="wp-prettyPhoto[g783]"><img class="size-medium wp-image-788" title="Restore PrestaShop Password" src="http://www.prestashopdocumentation.info/wp-content/uploads/2011/07/Restore_PrestaShop_Password-300x230.png" alt="Restore PrestaShop Password" width="300" height="230" /></a><p class="wp-caption-text">Restore PrestaShop Password</p></div>
<p>This script is tested with PrestaShop 1.3 and 1.4 versions. The source code is well documented so you can check it your self and change it to your needs.</p>
<p>Well that&#8217;s it. If you have some questions just write a comment or an email to: donatas@invertus.lt</p>
<p>Cheers!</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prestashopdocumentation.info/prestashop-password-resetter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Two new features added to Auction module</title>
		<link>http://www.prestashopdocumentation.info/two-new-features-added-to-auction-module-changelog/</link>
		<comments>http://www.prestashopdocumentation.info/two-new-features-added-to-auction-module-changelog/#comments</comments>
		<pubDate>Fri, 15 Jul 2011 10:31:57 +0000</pubDate>
		<dc:creator>Donatas Lomsargis</dc:creator>
				<category><![CDATA[Auction]]></category>

		<guid isPermaLink="false">http://www.prestashopdocumentation.info/?p=771</guid>
		<description><![CDATA[Recently we got some suggestions  about our &#8220;Auction&#8221; module from Rudy and Keya. Thank you for you suggestions! We updated our module. Check the change log. &#160; &#160; v1.7 2011/07/14 : -  Added option to subscribe auctions &#8211; customers can &#8230; ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2011/07/prestashop_auction_v_1_7.png" rel="wp-prettyPhoto[g771]"><img class="alignleft size-full wp-image-772" title="prestashop_auction_v_1_7" src="http://www.prestashopdocumentation.info/wp-content/uploads/2011/07/prestashop_auction_v_1_7.png" alt="prestashop_auction_v_1_7" width="140" height="140" /></a>Recently we got some suggestions  about our <strong>&#8220;Auction&#8221; </strong>module from Rudy and Keya. Thank you for you suggestions! We updated our module. Check the change log.</p>
<p><span id="more-771"></span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>v1.7 2011/07/14 :<br />
-  <strong>Added option to subscribe auctions</strong> &#8211; customers can subscribe to auction and get information about new bids.<br />
-  <strong>Added ability to ban users from auctions</strong> &#8211; if you have some problems with malicious bidders you can ban some IP addresses or range of IP addresses.</p>
<p>Check our demo:</p>
<p><strong>PrestaShop v1.3:</strong></p>
<p>Demo address: http://www.invertus.lt/demo/ps13/<br />
Demo admin address: http://www.invertus.lt/demo/ps13/admin1/<br />
Module can be found in Modules tab -&gt; under &#8220;Invertus&#8221; section.</p>
<p><strong>PrestaShop v1.4:</strong></p>
<p>Demo address: http://www.invertus.lt/demo/ps14/<br />
Demo admin address: http://www.invertus.lt/demo/ps14/admin1/<br />
Module can be found in Modules tab -&gt; under &#8220;Other Modules&#8221; section.</p>
<p><strong>Demo user login:</strong><br />
username: demo@invertus.lt<br />
password: demologin</p>
<p>You can buy our module here: <strong>addons.prestashop.com</strong>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prestashopdocumentation.info/two-new-features-added-to-auction-module-changelog/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>PrestaShop 1.4.3.0 realeased</title>
		<link>http://www.prestashopdocumentation.info/prestashop-1-4-3-0-realeased/</link>
		<comments>http://www.prestashopdocumentation.info/prestashop-1-4-3-0-realeased/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 10:35:14 +0000</pubDate>
		<dc:creator>Donatas Lomsargis</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.prestashopdocumentation.info/?p=750</guid>
		<description><![CDATA[The new version of PrestaShop with new features and bug fixes was released recently. There is a new performance improvement mentioned in change log &#8211; new image storing system. That&#8217;s was PrestaShop newsletter says: &#8220;- New image system so you &#8230; ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2011/06/prestashop-1.4.3.jpg" rel="wp-prettyPhoto[g750]"><img class="alignleft size-full wp-image-751" title="prestashop-1.4.3" src="http://www.prestashopdocumentation.info/wp-content/uploads/2011/06/prestashop-1.4.3.jpg" alt="prestashop-1.4.3" width="140" height="77" /></a>The new version of PrestaShop with new features and bug fixes was released recently. There is a new performance improvement mentioned in change log &#8211; new image storing system.</p>
<p>That&#8217;s was PrestaShop newsletter says:</p>
<p>&#8220;<strong><span style="color: #6a98b0;">- New image system so you can have a product catalogue with a million images!</span></strong></p>
<p><span style="color: #bc2165;">« The sky’s the limit for your shop with the v.1.4.3 high-performance image system! PrestaShop is ideal for any shopkeeper no matter the size of the shop. »</span>&#8221;</p>
<p>This new feature is not turned on by default in PrestaShop 1.4.3.0 &#8211; you have to enable it manually. Go to <strong>Preferences-&gt;Products</strong> and select <strong>Activate legacy images compatibility: </strong>to no:</p>
<div id="attachment_758" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2011/06/new-image-system-prestashop1.4.3.png" rel="wp-prettyPhoto[g750]"><img class="size-medium wp-image-758" title="Activate legacy images compatibility" src="http://www.prestashopdocumentation.info/wp-content/uploads/2011/06/new-image-system-prestashop1.4.3-300x77.png" alt="Activate legacy images compatibility" width="300" height="77" /></a><p class="wp-caption-text">Activate legacy images compatibility</p></div>
<p>If you have upgraded your PrestaShop system then you&#8217;ll have to move your images to the new images storage system. Go to <strong>Preferences-&gt;Image</strong> and go to the bottom of the page:</p>
<div id="attachment_759" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2011/06/move-images.png" rel="wp-prettyPhoto[g750]"><img class="size-medium wp-image-759" title="Move images to new storage system" src="http://www.prestashopdocumentation.info/wp-content/uploads/2011/06/move-images-300x110.png" alt="Move images to new storage system" width="300" height="110" /></a><p class="wp-caption-text">Move images to new storage system</p></div>
<p>Well done PrestaShop! We will definitely try this new version ASAP!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.prestashopdocumentation.info/prestashop-1-4-3-0-realeased/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Klarna payment module incopatible with Prestashop 1.4.2.5</title>
		<link>http://www.prestashopdocumentation.info/klarna-payment-module-incopatible-with-prestashop-1-4-2-5/</link>
		<comments>http://www.prestashopdocumentation.info/klarna-payment-module-incopatible-with-prestashop-1-4-2-5/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 22:53:14 +0000</pubDate>
		<dc:creator>Donatas Lomsargis</dc:creator>
				<category><![CDATA[BUG fixes]]></category>

		<guid isPermaLink="false">http://www.prestashopdocumentation.info/?p=738</guid>
		<description><![CDATA[We got this error after PrestaShop update from 1.4.17 to 1.4.2.5: &#8220;Cart can&#8217;t be loaded or an order has already been placed using this cart&#8221; and we found the solution to this problem. &#160; &#160; PrestaShop changed Cart&#8217;s class method &#8230; ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2011/06/klarna_logo.jpg" rel="wp-prettyPhoto[g738]"><img class="alignleft size-full wp-image-741" title="Klarna logo" src="http://www.prestashopdocumentation.info/wp-content/uploads/2011/06/klarna_logo.jpg" alt="Klarna logo" width="140" height="150" /></a>We got this error after PrestaShop update from <strong>1.4.17</strong> to <strong>1.4.2.5</strong>: &#8220;<em>Cart can&#8217;t be loaded or an order has already been placed using this cart</em>&#8221; and we found the solution to this problem.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><span id="more-738"></span>PrestaShop changed Cart&#8217;s class method from:</p>
<pre>public function OrderExists()
{       
 $result = Db::getInstance()-&gt;ExecuteS('SELECT `id_cart` FROM `'
._DB_PREFIX_.'orders` WHERE `id_cart` = '.(int)($this-&gt;id));
 return Db::getInstance()-&gt;NumRows();
}</pre>
<p>To:</p>
<pre>public function OrderExists()
{
 return (bool)Db::getInstance()-&gt;getValue('SELECT `id_cart` FROM `'
._DB_PREFIX_.'orders` WHERE `id_cart` = '.(int)$this-&gt;id);

}</pre>
<p>As you can see now it returns <strong>Boolean</strong> value not <strong>Integer.</strong></p>
<p>Klarna payment module checks if the order exists with current cart with this line:</p>
<pre>$cart-&gt;OrderExists() === 0</pre>
<p>So now this statement returns false instead of true because variable type is not integer. It returned number of rows in earlier versions  &#8211; so <strong>0</strong> means that there was no any order with the current cart and the statement was correct.</p>
<p>You can find this line in file: <strong>modules/kreditor/kreditor.php</strong> and in <strong>modules/cashondeliverywithfee/cashondeliverywithfee.php.</strong></p>
<p>Check these files and change statement from:</p>
<pre>$cart-&gt;OrderExists() === 0</pre>
<p>to:</p>
<pre>!$cart-&gt;OrderExists()</pre>
<p>It will solve the problem.</p>
<p>It&#8217;s early morning now and I hope I described this problem clearly. Well I need more coffee. Hope this post saves somebodies time.<strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.prestashopdocumentation.info/klarna-payment-module-incopatible-with-prestashop-1-4-2-5/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cannot access back office after you even changed  your password?</title>
		<link>http://www.prestashopdocumentation.info/cannot-access-back-office-after-you-even-changed-your-password/</link>
		<comments>http://www.prestashopdocumentation.info/cannot-access-back-office-after-you-even-changed-your-password/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 18:19:00 +0000</pubDate>
		<dc:creator>Donatas Lomsargis</dc:creator>
				<category><![CDATA[Q & A]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.prestashopdocumentation.info/?p=695</guid>
		<description><![CDATA[Changed your password in several ways but could not access your back office? I think this happened not only to me so I&#8217;ll share my experience how I solved this problem. &#160; 1. Check if you are changing your password &#8230; ]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.prestashopdocumentation.info/wp-content/uploads/2011/06/mad-user.png" rel="wp-prettyPhoto[g695]"><img class="alignleft size-full wp-image-696" title="Mad user" src="http://www.prestashopdocumentation.info/wp-content/uploads/2011/06/mad-user.png" alt="Mad user" width="140" height="127" /></a>Changed your password in several ways but could not access your back office? I think this happened not only to me so I&#8217;ll share my experience how I solved this problem.</p>
<p>&nbsp;</p>
<p><span id="more-695"></span></p>
<h3><span style="color: #bc2165;"><strong>1. Check if you are changing your password in correct server and correct database</strong></span></h3>
<p>Many times people just mix databases or servers. If you are sure then check this <a title="How to reset Admin password in Prestashop?" href="http://www.prestashopdocumentation.info/how-to-reset-admin-password-in-prestashop/">post</a> maybe it will help you. If this method didn&#8217;t solved your problem go to step <strong>2.</strong></p>
<h3><span style="color: #bc2165;"><strong>2. Check your __PS_BASE_URI__ parameter in settings.inc.php file</strong></span></h3>
<p>Your PrestaShop is  installed in web server root directory or sub directory. If you moved your shop to other directory then <strong>__PS_BASE_URI__ </strong>is incorrect and you will not be able to log in to your back office anymore. Or you could change this parameter accidentally.</p>
<p>Find file <strong>/config/settings.inc.php</strong>. Open it with text editor and check <strong>__PS_BASE_URI__ </strong>parameter. If your PrestaShop is located in a sub directory then it should look like this:</p>
<pre>define('__PS_BASE_URI__', '/<strong>your_sub_directory_name</strong>/');</pre>
<p>If it is in web server root directory then it should look like this:</p>
<pre>define('__PS_BASE_URI__', '/');</pre>
<p>It helped to me but if you still cannot access your admin admin then go to next stepl</p>
<h3><span style="color: #bc2165;"><strong><strong>3. Hack your PrestaShop (you&#8217;ll need FTP access)</strong></strong></span></h3>
<p>It&#8217;s not actually a hacking because you&#8217;ll need access to your PrestaShop <strong>php</strong> files <img src='http://www.prestashopdocumentation.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  but it will allow you to access PreStashop back office with correct email and any at least 5 symbols random password &#8211; PrestaShop checks password length before authentication<strong>.</strong></p>
<p>This method is unsecure because anybody will be able to login with correct email and any long enough password. <strong> </strong></p>
<p>OK find the file: <strong>your_admin_folder/login.php. </strong></p>
<p><strong> </strong>Find line:</p>
<pre>$employee = $employee-&gt;getByemail($email, $passwd);</pre>
<p>Change it to:</p>
<pre>$employee = $employee-&gt;getByemail($email, null);</pre>
<p>Now try to login  with correct email and at least 5 symbols random password. It worked for me &#8211; tested with PrestaShop 1.4.2.5 and 1.4.3.0</p>
<p>As I mentioned before this method is not actually hacking but it may be used for malicious purposes also <img src='http://www.prestashopdocumentation.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><span style="color: #bc2165;"><strong>Updated 2011.07.02:</strong></span></p>
<p>Well there is one more reason that can cause this problem &#8211; PHP bug: <strong>https://bugs.php.net/bug.php?id=42523</strong></p>
<p>This problem was also reported to PrestaShop: <strong>http://forge.prestashop.com/browse/PSCFI-1110</strong></p>
<p>If your PHP installation has this bug then <strong>$_SERVER['PHP_SELF'] </strong>variable will return the wrong value which is used in cookie path calculation.You can find this line in your <strong>admin folder/login.php</strong> file (54 line i PrestaShop 1.4.3.0):</p>
<pre>$cookie = new Cookie('psAdmin', substr($_SERVER['PHP_SELF'],
strlen(__PS_BASE_URI__), -10));</pre>
<p>Change this line to:</p>
<pre>$cookie = new Cookie('psAdmin', substr($_SERVER['SCRIPT_NAME'],
strlen(__PS_BASE_URI__), -10));</pre>
<p>It resolved the problem for me.</p>
<p>Hope you liked this post. Feel free to comment or suggest ideas for new articles  <img src='http://www.prestashopdocumentation.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.prestashopdocumentation.info/cannot-access-back-office-after-you-even-changed-your-password/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

