Magento

227

Solutions

317

Contributors

Magento is an open-source e-commerce platform written in PHP for e-commerce web sites. Magento employs the MySQL/MariaDB relational database management system, the PHP programming language, and elements of the Zend Framework. It applies the conventions of object-oriented programming and model–view–controller architecture. Magento also uses the entity–attribute–value model to store data.

Share tech news, updates, or what's on your mind.

Sign up to Post

How to create a meta data dynamically onto HTML head with the customer name as the content?
I am using Magento 1.9
0
Cloud Class® Course: Amazon Web Services - Basic
LVL 12
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

I work for a 3PL (3rd Part Logistics company), warehousing and shipping goods for 100's of clients.
Most warehouse orders are received electronically via EDI, XML, Flatfile... and mapped into our WMS (Warehouse Management software) through a middware mapping platform.

I need to get current and offer an API solution. I need to be able to quickly and easily talk to shopping cart API's (Shopify, Magneto, WooCommerce), as well as offer our own API that clients can interact with.

I don't have the tech skills in house to design or build this. Is anyone aware of of an existing software platform I could purchase that would support both types of API?
0
Magento
0
What would a Magento cronjob (crob.sh) does? Below is the script:
# location of the php binary
if [ ! "$1" = "" ] ; then
    CRONSCRIPT=$1
else
    CRONSCRIPT=cron.php
fi

MODE=""
if [ ! "$2" = "" ] ; then
	MODE=" $2"
fi

PHP_BIN=`which php`

# absolute path to magento installation
INSTALLDIR=`echo $0 | sed 's/cron\.sh//g'`

#	prepend the intallation path if not given an absolute path
if [ "$INSTALLDIR" != "" -a "`expr index $CRONSCRIPT /`" != "1" ];then
    if ! ps auxwww | grep "$INSTALLDIR$CRONSCRIPT$MODE" | grep -v grep 1>/dev/null 2>/dev/null ; then
    	$PHP_BIN $INSTALLDIR$CRONSCRIPT$MODE &
    fi
else
    if  ! ps auxwww | grep "$CRONSCRIPT$MODE" | grep -v grep | grep -v cron.sh 1>/dev/null 2>/dev/null ; then
        $PHP_BIN $CRONSCRIPT$MODE &
    fi
fi

Open in new window


If I want to create a cronjob in Windows (or task scheduler in Windows terms) to execute the cron.sh file, how can I do that?
0
I am using Dynatrace APM and want to trace user session in Magento 1.9 CE.

Does Magento uses cookie or javascript variable to store customer and administrator email address? If yes what is the cookie / variable name?
If it doesn't, how to set customer and administrator email address onto the page meta tag?
0
Do you face issues with your Magento e-commerce website? If yes, you need to assess its health and resolve the issues. Go through this article, you might be able to assess the problems and know what to do.
0
I'm trying to download Magento v.1 when i reached to download phase this error appeared to me about the SSL certificate.

CONNECT ERROR: SSL certificate problem: unable to get local issuer certificate
How can i fix this ??
0
I have Magento CE 1.9.3.3 hosting on a Windows IIS web server, how to create cron job?
Is it the same as creating Windows Task Scheduler? If yes please advise what file or script to execute, and usually how frequent the cron job should be executed.
0
In my Magento there is an exception message "The requested Payment Method is not available." from Mage_Core_Exception class happening on a few pages:
  • /checkout/onepage/saveShippingMethod/
  • /checkout/onepage/

This is the stacktrace:
stacktrace
The version is Magento CE 1.9.3.3
What is the issue and how to fix this?
0
I am migrating a Magento 1 module to be used on the Magento 2 platform.  All of the code has been migrated and produces the expected results but in Magento's technical review process it fails the varnish check.Capture.PNGMy initial research into the issue shows that you should specify cachable=false on your block elements or by setting the _isScopePrivate property in your defined Block PHP file.  The only problem is that I do not have any block elements.

I have created one to try and combat this issue but the module does not require any block elements.  The module works by appending the quote results to a rateResultFactory which is then displayed on the Checkout screen.

I have also tried to use the method described here to try and retrieve any dynamic data without requiring the cacheable flag.

Any help would be tremendously appreciated.

-saige-
0
Introducing Cloud Class® training courses
LVL 12
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

I have incidents when going to Magento admin dashboard triggered with many similar exceptions under Zend_Acl_Exception class:
Zend_Acl_Exception

It has the same stack trace:
Zend_Acl_Exception.Zend_Acl_Exception (C:\Web\lib\Zend\Acl.php:365)
Zend_Acl.get (C:\Web\lib\Zend\Acl.php:846)
Zend_Acl.isAllowed (C:\Web\app\code\core\Mage\Admin\Model\Session.php:200)
Mage_Admin_Model_Session.isAllowed (C:\Web\app\code\core\Mage\Adminhtml\Block\Page\Menu.php:247)
Mage_Adminhtml_Block_Page_Menu._checkAcl (C:\Web\app\code\core\Mage\Adminhtml\Block\Page\Menu.php:144)

Open in new window


Can someone help to explain what are these exceptions about? And how to fix these? I am using Magento 1.9.3.3
0
Magento CE 1.9.3.3 running on Windows IIS web server is having Mage_Core_Exception class exception with the message:
The address total model should be extended from Mage_Sales_Model_Quote_Address_Total_Abstract.

Open in new window


And here is the stacktrace:
Trace:
#0 C:\Website\app\code\core\Mage\Sales\Model\Quote\Address\Total\Collector.php(120): Mage::throwException('The address tot...')
#1 C:\Website\app\code\core\Mage\Sales\Model\Quote\Address\Total\Collector.php(145): Mage_Sales_Model_Quote_Address_Total_Collector->_initModelInstance('Mage_Sales_Mode...', 'nominal', Object(Mage_Core_Model_Config_Element))
#2 C:\Website\app\code\core\Mage\Sales\Model\Quote\Address\Total\Collector.php(81): Mage_Sales_Model_Quote_Address_Total_Collector->_initModels()
#3 C:\Website\app\code\core\Mage\Core\Model\Config.php(1357): Mage_Sales_Model_Quote_Address_Total_Collector->__construct(Array)
#4 C:\Website\app\Mage.php(463): Mage_Core_Model_Config->getModelInstance('sales/quote_add...', Array)
#5 C:\Website\app\Mage.php(477): Mage::getModel('sales/quote_add...', Array)
#6 C:\Website\app\code\core\Mage\Sales\Model\Quote\Address.php(988): Mage::getSingleton('sales/quote_add...', Array)
#7 C:\Website\app\code\core\Mage\Sales\Model\Quote\Address.php(1026): Mage_Sales_Model_Quote_Address->getTotalCollector()
#8 C:\Website\app\code\core\Mage\Sales\Model\Quote.php(1401): Mage_Sales_Model_Quote_Address->getTotals()
#9 C:\Website\app\code\core\Mage\Checkout\Block\Cart\Sidebar.php(222): 

Open in new window

0
I want to use MailChimp integration for Magento. But seeing some messages uncertain the whether the extension is working.
Screen-Shot-2018-05-15-at-3.56.37-PM.png
Some people said need to ensure cron jobs are running. Is it true? If it is, how do I check I have crob jobs running?
I am using Magento CE 1.9.3.3, MailChimp extension 1.1.11
0
How to check whether my Magento  CE 1.9.3.3 is already compliant in regards to PayPal security changes on the following?
  • IPN Verification Postback to HTTPS
  • Discontinue Use of GET Method for Classic NVP/SOAP APIs

If it is not compliant, what should I change to continue using PayPal?

Here is the PayPal link:
https://www.paypal.com/hk/webapps/mpp/merchant-security-roadmap?locale.x=en_HK
0
About Picking the right Magento Development Company
0
I have installed a copy of Magento 2 locally on my computer and what I want to do is to set it up so that I can access the whole thing as a Rest Api.

I have tried some url's like: http://127.0.0.1/magento/rest/v1/products but I don't get any json.

How can I set this up so I can access the api from my browser url?
0
I am using Site24x7 APM to monitor Magento website. It detected some exceptions messages which are "Error during unserialization", below is the stack trace:

Exception.Exception (C:\Web\Store-Production\lib\Unserialize\Parser.php:60)
Unserialize_Parser.unserialize (C:\Web\Store-Production\app\code\core\Mage\Core\Helper\UnserializeArray.php:44)
Mage_Core_Helper_UnserializeArray.unserialize (C:\Web\Store-Production\app\code\core\Mage\Sales\Model\Quote\Address.php:1094)
Mage_Sales_Model_Quote_Address.getAppliedTaxes (C:\Web\Store-Production\app\code\core\Mage\Tax\Model\Sales\Total\Quote\Tax.php:1477)
Mage_Tax_Model_Sales_Total_Quote_Tax.fetch (C:\Web\Store-Production\app\code\core\Mage\Sales\Model\Quote\Address.php:1027) 

Open in new window


Can I check what is this exception about and how to solve?

1. What does it mean and what does it affect? How to solve this?
2. If there are "Error during unserialization"exception happened, is the cause always same? Or it is case by case basis depending on the stacktrace?

This is the system specification:
Magento CE 1.9.3.3
PHP 5.6.31
Windows Server 2012 R2
IIS 8.5
0
In Magento checkout page, a customer try to checkout, after clicked the Continue button at Payment information and seeing this error:
"PayPal Gateway has rejected request. Payment has already been made for this InvoiceID (#10412 Duplicated invoice)."

Why this would happen and how to fix this?
0
Hi Experts

Could you point how to workaround this issue when installing Magento-CE-2.2.3, after running composer install?

After almost full instalation it claims for a module facebook:

img001
The composer.json
composer.txt

How to obtain it?


Thanks in advance!
0
Cloud Class® Course: Microsoft Exchange Server
LVL 12
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

In Magento CE 1.9, which are the tables that payment configuration and PayPal configuration?
0
Can i check what are the directory / file permissions and User Account required to run Magento CE on Windows?
The permissions should be just required, but not grant more than that. The User Account that I am referring to are for example "IUSR", "IIS_IUSRS"
0
How to set the exception.log and system.log showing timezone of UTC+8?
Timezone settings in admin and web server is set to UTC+8 already, but the time logged in the files still showing UTC.
Timezone setting in Magento adminTimezone setting in web server
This is the system specification:
Magento CE 1.9.3.3
PHP 5.6.31
Windows Server 2012 R2
IIS 8.5
0
In Magento having 500 internal server error after clicked the Payment Methods button in admin. No log is captured in "var/log/system.log" nor "var/log/exception.log" when it happens.

The site has this Special Promotions extension installed https://amasty.com/special-promotions.html
When set one of its module at "app/etc/modules/Amasty_PromoBannersLite.xml" to be inactive, then there is no error. But this error never happen on Apache web server even if the module is active.

Need help to find out what is the cause of the issue and solve it.

This is the system specification that having error:
Magento CE 1.9.3.3
PHP 5.6.31
Windows Server 2012 R2
IIS 8.5
0
Magento exception.log file have this exception. What does it mean and what does it affect? How to solve this?

This is the system specification:
Magento CE 1.9.3.3
PHP 5.6.31
Windows Server 2012 R2
IIS 8.5

This is the exception log data:
2018-04-27T06:46:41+00:00 ERR (3): 
exception 'Mage_Core_Exception' with message 'Invalid block type: Mage_Newproductslider_Block_Newproductslider' in C:\Web\Webstore1_a\app\Mage.php:595
Stack trace:
#0 C:\site\app\code\core\Mage\Core\Model\Layout.php(495): Mage::throwException('Invalid block t...')
#1 C:\site\app\code\core\Mage\Core\Model\Layout.php(437): Mage_Core_Model_Layout->_getBlockInstance('newproductslide...', Array)
#2 C:\site\app\code\core\Mage\Core\Model\Email\Template\Filter.php(179): Mage_Core_Model_Layout->createBlock('newproductslide...', NULL, Array)
#3 [internal function]: Mage_Core_Model_Email_Template_Filter->blockDirective(Array)
#4 C:\site\lib\Varien\Filter\Template.php(163): call_user_func(Array, Array)
#5 C:\site\app\code\core\Mage\Core\Model\Email\Template\Filter.php(560): Varien_Filter_Template->filter('<div class="hom...')
#6 C:\site\app\code\core\Mage\Cms\Block\Page.php(123): Mage_Core_Model_Email_Template_Filter->filter('<div class="hom...')
#7 C:\site\app\code\core\Mage\Core\Block\Abstract.php(923): Mage_Cms_Block_Page->_toHtml()
#8 C:\site\app\code\core\Mage\Core\Block\Abstract.php(641): Mage_Core_Block_Abstract->toHtml()
#9 C:\site\app\code\core\Mage\Core\Block\Abstract.php(581): 

Open in new window

0
In Magento having 500 internal server error after clicked the Add Product button. The exception.log and system.log do not seem to have the log data, because after clicked the button there is no new log added to the file.
Need help to identify the cause of the issue and then fix it.

This is the system specification:
Magento CE 1.9.3.3
PHP 5.6.31
Windows Server 2012 R2
IIS 8.5
0

Magento

227

Solutions

317

Contributors

Magento is an open-source e-commerce platform written in PHP for e-commerce web sites. Magento employs the MySQL/MariaDB relational database management system, the PHP programming language, and elements of the Zend Framework. It applies the conventions of object-oriented programming and model–view–controller architecture. Magento also uses the entity–attribute–value model to store data.