Magento

226

Solutions

312

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

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
Cloud Class® Course: CompTIA Cloud+
LVL 12
Cloud Class® Course: CompTIA Cloud+

The CompTIA Cloud+ Basic training course will teach you about cloud concepts and models, data storage, networking, and network infrastructure.

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
About Picking the right Magento Development Company
0
Hi Experts

Could you point what is the correct login/ password to use when downloading Magento packages using composer?

I don't know if it's the same I successfuly use to enter Magento's site, probably not, since this error arises:

img001
(The same error occurs if I enter the email address I enter the site)

Probably something else is needed.

Thank you in advance
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
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
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
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
I'm trying to remember how to add an icon next to a link, for example, I want to add a cart icon next to the text "View My Cart".   This is in the header of a magento website and uses PHP.  I was hoping this can be done with css.  Thanks
0
The 14th Annual Expert Award Winners
LVL 7
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Unusual High CPU CLoud watch alarm from my AWS Ec2 Instance. The Ec2 Instance consists of Magento 2 website and Wordpress websites. The Magento 2 site is loading very slow accessing when the server is UP. But the server goes down for every 30 mins approx.  In the Apache Error log, it shows :

[Mon Mar 19 01:29:55.216115 2018] [lbmethod_heartbeat:notice] [pid 2571] AH02282: No slotmem from mod_heartmonitor
[Mon Mar 19 01:30:01.432626 2018] [mpm_prefork:notice] [pid 2571] AH00163: Apache/2.4.27 (Amazon) OpenSSL/1.0.2k-fips PHP/5.6.32 configured -- resuming normal operations
[Mon Mar 19 01:30:01.432665 2018] [core:notice] [pid 2571] AH00094: Command line: '/usr/sbin/httpd'
[Mon Mar 19 01:35:45.104754 2018] [mpm_prefork:notice] [pid 2571] AH00169: caught SIGTERM, shutting down
[Mon Mar 19 01:37:03.874296 2018] [suexec:notice] [pid 2570] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)

This unusual activity started on March 12th before that the server went down only once in a month. Any Idea on what causing this issue? Is it apache MPM prefork version or Magento codes? I don't know how to troubleshoot this.
0
We are creating a product page and this product has 2 configurable types, I will call them LONG and SHORT. We have implemented a double swatch extension that does a very good job of allowing using to configure a product with various options.

We are trying to figure out if we can have the image swatch sizes for LONG set to 100 x 20 and the swatch image sizes for SHORT be set to 20 x 20.

Is this possible in Magento 2 to have 2 swatches, but different sizes. I only see a single place to change swatch image size in the file: vendor/magento/module-swatches/etc/view.xml
0
Hi

I have inherited a Magento shopping cart that is hosted on an old shared server, which does not offer SSLs. The site works well though.

I have copied the files and database over to a new hosting package that supports SSL and been able to replicate the website.

Although the new site works, it is painfully slow. There does not seem to be any notable errors in the log files.

Is anyone able to advise where I can track down the problem?

I have checked that the database connection is working fine and that the server seems to process test PHP files ok.

The site is at viewgc.co.uk

Thank you
0
Hello Experts!

I am trying to get a bundled product in the shopping cart to add the " Additional Accessories " to total what the additional shipping cost is.

For example - One Product: Light Booth: <-- shipping price: 250.00
Additional bundled item:
Accessory: Table Stand. <----shipping price: 100.00

The shopping cart only will show 250.00 with this product in the cart.

So the extension is called the Product Matrix from WebShopApps.com
http://support.webshopapps.com/productmatrix/algorithm-column/

Thank you all !
0
I want to capture 80% amount in authorized.net. For example I have placed order with 1000 amount and I can see this amount in authorized.net sand box in unsettled transaction, I have searched api, by this api we can to capture 800 amount only. How to implement this in magento? Anyone have idea? Please let me know. Please find link here.
0
Hi folks

We support a Magento shop for which we recently enabled Nginx as a front end. All is good, however the Wordpress blog located at ./blog is being ignored, instead Magento tries to serve the location, and ends up in a 404.

I know this is due to the Nginx config not correctly redirecting for the /blog folder, but I don't know enough about Nginx to fix it.

There is a .htaccess file in the /blog folder, which looks like this:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
</IfModule>

# END WordPress

Open in new window


However this is now being ignored.  I have tried to add various bits of code to the Nginx config to no avail.  Please can someone fix my Nginx config to allow the Wordpress blog to work.  Either by redirecting to the correct index.php, or just excluding the /blog path from Nginx and allowing Apache to do it's thing.

This is on a Plesk-controlled CentOS server, so shared hosting is involved.  Here is the current NGINX config:
## These locations would be hidden by .htaccess normally
location ^~ /app/                { deny all; }
location ^~ /includes/           { deny all; }
location ^~ /lib/                { deny all; }
location ^~ /media/downloadable/ { deny all; }
location ^~ /pkginfo/            { deny all; }
location ^~ /report/config.xml   { deny all; }
location ^~ /var/

Open in new window

0
Hi,

I hope that someone is able to help. The web development team have changed the current website that we are using. We have an order download application that integrated into mageno.

The issue is that I try to change the endpoint address to the following and I receive an error:

https://old.filofax.co.uk/index.php/api/v2_soap/index/?wsdl=1

Error message is attached(error1)

I have also tried to generate a proxy class using the same error message.

My issue is that I can browse to this URL ok.

I would appreciate any help. I have contacted the hosting company and they don't have any iea.

Best Regards,

Ross
error1.png
0
We have a new site under development, running on Magento 1.9.3.1 and are looking for an extension that allows customers to "Make an offer" for a product.  There are many of these extensions out there, however we have not been able to locate one that works with CONFIGURABLE PRODUCTS. All of the products in our store are configurable and NOT simple products.

Can anyone recommend a well-performing extension of this nature that meets the following criteria:

1.  Works with configurable products
2. Allows a NON logged-in site visitor to make an offer ie. does not require registration and login first.

Thanks!
0
Hello everyone,

I am needing to remove UPS, Ground, Free Shipping etc whenever a certain product is in the cart or checkout.  I was able to remove the free shipping class when products with a Freight class are set in the back end.

The other challenge is the logic then to make sure if the same product going to CA lands in the $300 class but if it is going to GA then it should ship in the Freight_250 class. Im thinking that maybe that can be removed thru magento? But still would need the UPS and Ground etc whenever a Freight_class isnt showing.

The product is the Product Martrix Extension.
http://support.webshopapps.com/productmatrix/

Thank you all!
0
Free Tool: IP Lookup
LVL 12
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

I have a magento website in which I need to change the footer. I see the address change on the actual design area of the settings and I change it but it does not change the footer address. Do I need to get into the actual files to change it or am I missing the area in which I change that information?
0
I'm using Magento and when I log the queries I get , e.g
SQL: INSERT INTO `catalog_product_entity_varchar` (`entity_type_id`,`attribute_id`,`store_id`,`entity_id`,`value`) VALUES (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?), (?, ?, ?, ?, ?) 
BIND: array (
  0 => 4,
  1 => 85,
  2 => 0,
  3 => 243,
  4 => '/b/b/bb1052wrb_6.gif',
  5 => 4,
  6 => 86, etc, etc

Open in new window

Is there a handy-dandy way of getting the sql with the placeholders replaced by the values so i can tug it apart easily?
0
Hello there,

I have a question. I'm using magento 1.9 and I have a problem to figure out how to menage and solve this problem.

Basically, I have one product. Inside this product, I want to put another product with the quantity selection too. Right now, I made my page and I load a product with the basic custom options -> chechbox. This works fine, but I would like to give the options to the costumer to select two different quantity.

Think about a ticket, you can buy 4 ticket but just for 2 you want the special options.

I also tried the grouped products. But I don't want to make 3 product every time (one grouped product, one specific ticket, and the one special option). If I do this, I should make one grouped product and maybe I will load dynamically by id the two products in the page. So that, I will have one grouped products for all the products that I want to use with this options.

So, because I'm making my own phtml page, I'm looking if there is any specific code to put the checkbox options manually inside with the quantity too. The ticket will change, but this options would be static.

Ex: show_product.phtml

<?php

$_GET["event"];
$sku = $_GET["event"];

 $vPath = $sku.".html";
 $oRewrite = Mage::getModel('core/url_rewrite')
 ->setStoreId(Mage::app()->getStore()->getId())
 ->loadByRequestPath($vPath);

  $iProductId = $oRewrite->getProductId();
  $oProduct = Mage::getModel('catalog/product')->load($iProductId);

  $id = $iProductId;

  //get id 

Open in new window

0
I am unable to import large magento database (more then 11 mb) using phpmyadmin under ubuntu operating system.

I have already increase "post_max_size=100M" and "upload_max_size=100M" using php.ini file

The Error is showing after importing file:
"Script timeout passed,if you want to finish import please resubmit the same file and import will continue."

i have also resubmitted the same file but same error is showing.
Please help how to solve the issue.
0
Hi,

I am trying to figure out how to sort SKUs in the sales order and in the shopping cart in Magento (ver. 1.9.0.1). Ideally we would like ascending SKU order. Any ideas on how to accomplish this?

Thanks in advance!
0
Is a good practice to instantiate a Magento help in the constructor?

public function __construct()
    {
        $this->helper=Mage::helper('helper_name');
    }

Open in new window

0

Magento

226

Solutions

312

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.