Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

ERROR--in MAGENTO ADMIN->Sales->Order
 
Rameez
Jr. Member
 
Total Posts:  21
Joined:  2010-01-26
 

Hi,
I am facing the following problem when I click on the Orders Section of Sales in Admin panel.

There has been an error processing your request.
Notice: iconv_strlen() [function.iconv-strlen]: Wrong charset, conversion from `ISO-8859-1’ to `UCS-4LE’ is not allowed in /home/e-web/e8/3e/uglycable.com.au/public/www/lib/Zend/Date.php on line 680
Trace:
#0 [internal function]: mageCoreErrorHandler(8, ‘iconv_strlen() ...’, ‘/home/e-web/e8/...’, 680, Array)
#1 /home/e-web/e8/3e/uglycable.com.au/public/www/lib/Zend/Date.php(680): iconv_strlen(’yyyy’)
#2 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Helper/Data.php(133): Zend_Date->toString(’EEEE, d MMMM yy...’)
#3 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Abstract.php(807): Mage_Core_Helper_Data->formatDate(NULL, ‘full’, false)
#4 /home/e-web/e8/3e/uglycable.com.au/public/www/app/design/adminhtml/default/default/template/page/header.phtml(31): Mage_Core_Block_Abstract->formatDate(NULL, ‘full’)
#5 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Template.php(144): include(’/home/e-web/e8/...’)
#6 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#7 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#8 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#9 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Adminhtml_Block_Template->_toHtml()
#10 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#11 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(’header’, true)
#12 /home/e-web/e8/3e/uglycable.com.au/public/www/app/design/adminhtml/default/default/template/page.phtml(51): Mage_Core_Block_Abstract->getChildHtml(’header’)
#13 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Template.php(144): include(’/home/e-web/e8/...’)
#14 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#15 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#16 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#17 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Adminhtml_Block_Template->_toHtml()
#18 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml()
#19 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Controller/Varien/Action.php(347): Mage_Core_Model_Layout->getOutput()
#20 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(94): Mage_Core_Controller_Varien_Action->renderLayout()
#21 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Controller/Varien/Action.php(376): Mage_Adminhtml_Sales_OrderController->indexAction()
#22 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch(’index’)
#23 /home/e-web/e8/3e/uglycable.com.au/public/www/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#24 /home/e-web/e8/3e/uglycable.com.au/public/www/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
#25 /home/e-web/e8/3e/uglycable.com.au/public/www/index.php(65): Mage::run()
#26 {main}

Please Help me in this matter.

And yes..
MAGENTO is showing this error some times, and some times it is working fine…
So I dont know what to do.
I am using MAGENTO V 1.3.2.4.

Any help welcome.
Thanks In advance.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Rameez
Jr. Member
 
Total Posts:  21
Joined:  2010-01-26
 

any one have any idea about this error?
I have this error again, while I click the invoice button or ship button in order details.

Plz help me… Its annoying.

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Most U Want
Jr. Member
 
Total Posts:  2
Joined:  2009-06-27
 

I have similar problem, order>view> error submission form, and system>tools>backup too, hope somebody can help, thanks!

When click order, it leads to an error submission form of magento:
There has been an error processing your request.
Trace:
#0 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Template.php(144): mageCoreErrorHandler(2, ‘include(/home5/...’, ‘/home5/mostuwan...’, 144, Array)
#1 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Template.php(144): Mage_Core_Block_Template::fetchView()
#2 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#3 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#4 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#5 /home5/mostuwan/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php(290): Mage_Core_Block_Abstract->toHtml()
#6 /home5/mostuwan/public_html/app/design/adminhtml/default/default/template/widget/tabs.phtml(38): Mage_Adminhtml_Block_Widget_Tabs->getTabContent(Object(Mage_Adminhtml_Block_Sales_Order_View_Tab_Info))
#7 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Template.php(144): include(’/home5/mostuwan...’)
#8 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#9 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#10 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#11 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#12 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Text_List->_toHtml()
#13 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Abstract.php(503): Mage_Core_Block_Abstract->toHtml()
#14 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Abstract.php(454): Mage_Core_Block_Abstract->_getChildHtml(’left’, true)
#15 /home5/mostuwan/public_html/app/design/adminhtml/default/default/template/page.phtml(58): Mage_Core_Block_Abstract->getChildHtml(’left’)
#16 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Template.php(144): include(’/home5/mostuwan...’)
#17 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Template.php(176): Mage_Core_Block_Template->fetchView(’adminhtml/defau...’)
#18 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Template.php(193): Mage_Core_Block_Template->renderView()
#19 /home5/mostuwan/public_html/app/code/core/Mage/Core/Block/Abstract.php(643): Mage_Core_Block_Template->_toHtml()
#20 /home5/mostuwan/public_html/app/code/core/Mage/Core/Model/Layout.php(526): Mage_Core_Block_Abstract->toHtml()
#21 /home5/mostuwan/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(347): Mage_Core_Model_Layout->getOutput()
#22 /home5/mostuwan/public_html/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(115): Mage_Core_Controller_Varien_Action->renderLayout()
#23 /home5/mostuwan/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(376): Mage_Adminhtml_Sales_OrderController->viewAction()
#24 /home5/mostuwan/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(248): Mage_Core_Controller_Varien_Action->dispatch(’view’)
#25 /home5/mostuwan/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(158): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#26 /home5/mostuwan/public_html/app/Mage.php(459): Mage_Core_Controller_Varien_Front->dispatch()
#27 /home5/mostuwan/public_html/index.php(65): Mage::run()
#28 {main}

 
Magento Community Magento Community
Magento Community
Magento Community
 
Rameez
Jr. Member
 
Total Posts:  21
Joined:  2010-01-26
 

Hi ..
I have solved this error,

Just follow the following steps to get rid of this error.

Open your “index.php” file, which is located into the magento root folder.

Add following two lines at the top… but make sure that you add it inside the “<? php ............... ?>” section of coding.

iconv_set_encoding("internal_encoding", “UTF-8");
iconv_set_encoding("output_encoding", “ISO-8859-1");

and save your file…
And you have done…

Enjoy.

Regards,
Rameez.

 
Magento Community Magento Community
Magento Community
Magento Community
 
framingsun
Jr. Member
 
Total Posts:  2
Joined:  2009-10-15
 

Thanks for your information,
But after do that, the home page in the frontend turns to error:
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home5/mostuwan/public_html/index.php on line 27
please help,

 
Magento Community Magento Community
Magento Community
Magento Community
 
framingsun
Jr. Member
 
Total Posts:  2
Joined:  2009-10-15
 

index.php as following:

<?php
/**
* Magento
*
* NOTICE OF LICENSE
*
* This source file is subject to the Open Software License (OSL 3.0)
* that is bundled with this package in the file LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* http://opensource.org/licenses/osl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to license@magentocommerce.com so we can send you a copy immediately.
*
* DISCLAIMER
*
* Do not edit or add to this file if you wish to upgrade Magento to newer
* versions in the future. If you wish to customize Magento for your
* needs please refer to http://www.magentocommerce.com for more information.
*
* @category Mage
* @package Mage
* @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/

if (version_compare(phpversion(), ‘5.2.0’, ‘<’)===true) {
echo ‘<div style="font:12px/1.35em arial, helvetica, sans-serif;"><div style="margin:0 0 25px 0; border-bottom:1px solid #ccc;"><h3 style="margin:0; font-size:1.7em; font-weight:normal; text-transform:none; text-align:left; color:#2f2f2f;">Whoops, it looks like you have an invalid PHP version.</h3></div><p>Magento supports PHP 5.2.0 or newer. <a href="http://www.magentocommerce.com/install" target="">Find out</a> how to install</a> Magento using PHP-CGI as a work-around.</p></div>’;
exit;
}

/**
* Error reporting
*/
error_reporting(E_ALL | E_STRICT);

/**
* Compilation includes configuration file
*/
$compilerConfig = ‘includes/config.php’;
if (file_exists($compilerConfig)) {
include($compilerConfig);
}

$mageFilename = ‘app/Mage.php’;

if (!file_exists($mageFilename)) {
if (is_dir(’downloader’)) {
header("Location: downloader");
} else {
echo $mageFilename.” was not found”;
}
exit;
}

require_once $mageFilename;

#Varien_Profiler::enable();

#Mage::setIsDeveloperMode(true);

#ini_set(’display_errors’, 1);

umask(0);
Mage::run();

i add your 2 sentences before “if”, after” * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
*/”
please advice, thanks for your time and effort!

 
Magento Community Magento Community
Magento Community
Magento Community
 
Most U Want
Jr. Member
 
Total Posts:  2
Joined:  2009-06-27
 

Is there anything i should change,

Notice: Undefined index: time_formated in /home5/mostuwan/public_html/lib/Varien/Data/Collection/Filesystem.php on line 353

public_html/lib/Varien/Data/Collection/Filesystem.php on line 353 as following:


$result = $a[$key] > $b[$key] ? 1 : ($a[$key] < $b[$key] ? -1 : 0);

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top