Jump to content

 

ucanhindi

Member Since 06 Aug 2007
Offline Last Active Apr 14 2021 04:29 PM
-----

Topics I've Started

XML request error: OK (200) Image upload problem

26 February 2009 - 01:50 PM

Hi Cs-Cart's buddys,
My problem it was:
When i want into some image in full description
or
only image upload
i can't anyway and any image uploaded. An i become allways this error massage:http://picasaweb.google.de/lh/photo/U8WJTpUjX6_QRbbCJOfFiw?feat=directlink
But after 2 day googled etc.. i finded a solution from fckeditor.net

After some debugging I found that some filenames are not properly encoded. To temporarily fix this, I've changed: editor/filemanager/connectors/php/commands.php:83
From:
 

$aFiles[] = '<File name="' . ConvertToXmlAttribute( $sFile ) . '" size="' . $iFileSize . '" />';



To:


$aFiles[] = '<File name="' . ConvertToXmlAttribute( rawurlencode( $sFile ) ) . '" size="' . $iFileSize . '" />' ;



yeah this hack work fine(!)
ucanhindi

About the syntax logic of Smarty's codes with CS-Cart

14 April 2008 - 01:28 PM

Hi,
I have 3 questions:
1. this syntax valid in all .tpl files? I mean i can use this synatax every where?
 {if $settings.Addons.live_help == 'Y'} {include file="addons/live_help/sidebox.tpl" location="L" show_order="A"} {/if}  


2. How i can find the all Smarty code structure reference for CS-Cart?
like a list :
  {include file="search_pages/search.tpl"} 
{include file="categories_pages/categories.tpl"}
{include file="side_boxes/language_currency.tpl"}
.....
.....
....
...
...etc.
:D

3. For example If I wanna connect some DHTML/HTML/PHP code (slide show or a custom form etc.)with products images, price, description etc.?

Thnx for almost certainly answers.

Ucanhindi