View Single Post
  #62  
Old 06-13-2013, 07:51 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: X-Cart 4.6 released

@Ksenia

/var permissions - from the Jeremy's post - it implies the permissions must be 777 so that's why I asked about the servers this is not allowed....
------------------------------------
Vladimir solved this -- looks like var directory needs to be chmod 777, but the installation instructions tell us:
-----------------------------------

Yes 755 does work on my server


The cache - I see hundreds of files like this
Quote:
263
a:4:{s:8:"template";a:4:{s:25:"customer/main/buy_now.tpl";b:1;s:27:"customer/buttons/button.tpl";b:1;s:28:"customer/buttons/buy_now.tpl";b:1;s:33:"modules/Socialize/buttons_row.tpl";b:1;}s:9:"timestamp";i:1371137786 ;s:7:"expires";i:-1;s:13:"cache_serials";a:0:{}}<div class="buy-now">
<script type="text/javascript">
//<![CDATA[
products_data[20465].quantity = 1000;
products_data[20465].min_quantity = 1;
//]]>
</script>

<form name="orderform_20465_1276560000_" method="post" action="cart.php" onsubmit="javascript: return check_quantity(20465, '') &amp;&amp; !ajax.widgets.add2cart(this);">
<input type="hidden" name="mode" value="add" />
<input type="hidden" name="productid" value="20465" />
<input type="hidden" name="cat" value="" />
<input type="hidden" name="page" value="5" />
<input type="hidden" name="is_featured_product" value="" />

<div class="quantity"><img class="left_crns_qty" src="/skin/ideal_comfort/images/custom/left_corners.gif" alt=""/><img class="right_crns_qty" src="/skin/ideal_comfort/images/custom/right_corners.gif" alt=""/>
<span class="quantity-title">Qty</span>
<select name="amount">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</div>
<div class="button-row">
<button class="button main-button add-to-cart-button" type="submit" title="Buy Now">
<span class="button-right"><span class="button-left"><img src="/skin/ideal_comfort/images/custom/add_to_cart.gif" alt="Buy Now"/></span></span>
</button>
</div>
<div class="button-row last">
<a title="Add to wish list" onclick="javascript: submitForm(document.orderform_20465_1276560000_, 'add2wl'); return false;" href="javascript: void(0);">
<img src="/skin/ideal_comfort/images/custom/add_to_wl.png" alt="Add to wish list"/>
</a>
</div>
</form>
<div class="list-soc-buttons">
</div>

</div>

so looks like not only productids are being cached....
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote