Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x

Magento

209

Solutions

280

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 a Magento website which synchronises with a back end POS system (plug-in install guide).

I'm trying to determine why the sync is not working (I cannot get support from the POS provider).

The debug shows

2017-09-04T04:55:02+00:00 DEBUG (7):  Starting products import.
2017-09-04T04:55:02+00:00 DEBUG (7):  Initialised "retail" model.
2017-09-04T05:05:03+00:00 DEBUG (7):  Cannot run a new import while another process is locking a products import.
2017-09-04T05:05:03+00:00 DEBUG (7):  Cannot run a new import while another process is locking a customers import.
2017-09-04T05:05:03+00:00 DEBUG (7):  Cannot run a new import while another process is locking a products import.
2017-09-04T05:05:03+00:00 DEBUG (7):  Cannot run a new import while another process is locking a customers import.
2017-09-04T05:10:04+00:00 DEBUG (7):  Cannot run a new import while another process is locking a products import.
etc

Open in new window


What could be causing this? NO sync is running. How can I determine what the locking process is? etc

When the plug-in is installed on a fresh vanilla  Magento 1.9 install it works and products sync.

Working debug ->

2017-09-04T04:43:03+00:00 DEBUG (7):  Starting products import.
2017-09-04T04:43:03+00:00 DEBUG (7):  Initialised "retail" model.
2017-09-04T04:43:06+00:00 DEBUG (7):  Loaded XML response.

Open in new window


I need to get this resolved.  Happy to employ a consultant if need be.
0
New feature and membership benefit!
LVL 10
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

I have installed oodo 10 in ubuntu operating sytem.

i want to  install magento connector module in oodo 10.

 i have added it oodo addons folder and restart oodo server.

But module not showing under apps section in oodo administrator section.

1. I found one solution -
  i. if admin have "Technical Feature" permisssion then admin able to install module from oodo administrator section. but there is no Technical Feature option in administrator details of my oodo admin section.

  ii. i have also activated developer mode but "Technical Feature" option not showing in administrator details of my oodo admin section.

So Please help me how to install oodo module

Please help me how to install magento connector module in oodo 10
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
hi, I managed to create a magento module with a custom collection.
I have now to import a CSV file into the database as a part of module initialisation, so I'm using
Varien_File_Csv() 

Open in new window

Given
$content = $helper->getFileContents($path); //Varien_File_Csv() 

Open in new window


I'm looping into content in this way, as I want discard duplicates rows from the csv. So I thought about pushing data into an array before saving.

foreach ($content as $row){
  
if (!in_array(getManagerName($row), $managers)){  

        $managersModel->setName(getManagerName($row));
        try {
            $managersModel->save();
        } catch (Exception $e){
        }
        $managers[$managersModel->getId()]= getManagerName($row);
        $managersModel->unsetData();
    }
}

Open in new window


Question is, is there any other faster or better approach I could use to limit db transaction eg: saving the entire collection after removing duplicates?
thanks
0
I need to get a basic install of Magento  up - so I decided to use the Azure 'Magento CE v1.9.1.0 on Ubuntu 14.04LTS'.

When I browse to the IP of the VM Magento returns error

"There has been an error processing your request
Exception printing is disabled by default for security reasons.

Error log record number: 1489044056301"

When I look at error  1489044056301 in /var/www/magento/var/report$

It shows:


[b]a:4:{i:0;s:107:"SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)";i:1;s:2280:"#0 [/b]

Open in new window


Stumbled at the first hurdle. Why is it not connected to MYSQL?

The readme file says to start mysql but it alreay appears to be started.


I thought I would simply need to start the VM.

Anyone with experience with this Azure Template/VM got a quick answer?
0
Hello,
 
I would like to change my layered navigation so users can only selected 1 item per drop down.
 
as a bonus, I would like it to behave like old style ajax menus
I have 4 different drop down menus in my layered navigation and they are all attributes. Ideally, the first drop down would cause the second drop down to populate, the second -> populate third drop down, the third -> populate fourth drop down. Is it possible to modify my layered navigation to behave this way? What files and functions could i modify to accomplish this?
0
I need to modify how products are displayed in the layered navigation and search results. I have many products that have the same attribute value so I want to add a GROUP BY so only one of each products displays if they have the same attribute value. What page and functions do I modify to add this?
0
how to add search bar after the top links in magento 2?
0
Free Tool: Site Down Detector
LVL 10
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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 am facing this issue but really dont know how to solve it. please tell me the solution even if its really simple for you as i am having a hard time solving it. whenever a customer sign ups to my website magento confirmation email have some code file in attachment .is there anyone to stop that code file in attachments
0
After ordering an item and going to checkout page..

By default, the form is showing in this order:

Street Address
City
State/Province
Zip/Postal Code
Country
I want to it to be in this order:

Country
Zip/Postal Code
State/Province
City
Street Address
I already re-order the first three(country, zip and state) by adding this:

<item name="sortOrder" xsi:type="string"> *** </item>

Open in new window


But there is no city and street address on \vendor\magento\module-checkout\view\frontend\layout\checkout_index_index.xml

How will I put the street after city?
1
My hosting provider upraded the server where one of my client's site was hosting using magento.  Since the upgrade, I am getting this message whenever anybody tries to checkout.
Fatal error: Class 'Mage_Checkout_Model_Type_Onepage' not found in /home/nicolas/public_html/app/code/local/Amasty/Customerattr/Model/Rewrite/Checkout/Type/Onepage.php on line 3

Not sure what to do.
0
sir i am tryint to import file byt the file is not properly uploaded it gives me error .

1-Skipping import row, required field "sku" is not defined.
2-Imported 0 records
 
I already save into utf-8 but still it is showing the error.
0
I am trying to add an attribute programmatically in Magento 2 but getting error. Please I need urgent help.
Thanks in advance. Details are as below:


I followed the instructions on https://www.atwix.com/magento/adding-attribute-programatically-magento2/ and tried to add attribute.
I have windows 7,xampp with php 7.0, magento 2.1 and mysql.
in path variable I set following for php commands:
C:\xampp\php;C:\xampp\php\php.exe

When I run
C:\xampp\htdocs\maglocal1>php bin/magento setup:upgrade
I get following error at the end

Parse error: syntax error, unexpected 'use' (T_USE) in C:\xampp\htdocs\maglocal1
\app\code\Atwix\TestAttribute\Setup\InstallData.php on line 5

My data in \app\code\Atwix\TestAttribute\Setup\InstallData.php is

<?php
namespace Atwix\TestAttribute\Setup;

 
use Magento\Eav\Setup\EavSetup;
use Magento\Eav\Setup\EavSetupFactory;
use Magento\Framework\Setup\InstallDataInterface;
use Magento\Framework\Setup\ModuleContextInterface;
use Magento\Framework\Setup\ModuleDataSetupInterface;
 
/**
 * @codeCoverageIgnore
 */
class InstallData implements InstallDataInterface
{
    /**
     * EAV setup factory
     *
     * @var EavSetupFactory
     */
    private $eavSetupFactory;
 
    /**
     * Init
     *
     * @param EavSetupFactory $eavSetupFactory
     */
    public function __construct(EavSetupFactory $eavSetupFactory)
    {
        $this->eavSetupFactory = $eavSetupFactory;
    }
 
    /**
     * …
0
Hello,

While trying to register a customer via a magento 2 extension, I always get We Can't save customer. I have tracked the filed responsible for it but couldn't resolve it.

I have attached the file for further inspection
BecomesellerPost.php
0
I upgraded a Magento website using the admin and magento connect.  I used the Mage complete package.  It seem that everything upgraded ok but now the admin gets the following error:
Fatal error: Class 'Unserialize_Parser' not found in /home/ispiritual/public_html/app/code/core/Mage/Core/Helper/UnserializeArray.php on line 43

The website is http://ispiritual.com.  The website works, but the admin gets a blank page with the error when I log in.
0
Hai ,
I am working now sagepay payment in magneto 1.9. I have a module also there.I have a sagepay account also there and that details below,
url :https://applications.sagepay.com/
mail:(PM me for details)
pwd:(PM me for details)

But where is my vendor name.Kindly check and help me.
thank you
0
Hello,

When I go to System -> Web Setup Wizard

Magento takes me to blank page with the following information:

Welcome to Magento Admin, your online store headquarters.
To use the Magento setup wizard sign into your Admin account and navigate to System => Tools => Web Setup Wizard

with a URL ending /setup/index.php/session/unlogin

Knowing that I'm logged in as Administrator already.
I'm using Magento 2.1.2

I can't reinstall anything as this is a production server.

Please help me.
0
[Webinar] Lessons on Recovering from Petya
LVL 10
[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

I am getting a js error on this page and would love some help figuring out why.

I am supposed to launch the site now but cant because this error makes it so you cant push the 'GO TO CHECKOUT' button when you add it to the cart on the mini cart in the top right dropdown.

I am at a loss and would love any help.

https://tinyurl.com/jzbpgxu

Thank you for your time.
0
Hi,

I have setup a mailserver that accepts TLS connections. I configured Magento to send mails via SMTP. When I do a test mail I see the following errors:
Jan 29 19:56:07 mail postfix/submission/smtpd[14799]: SSL_accept error from srv4.example.com[xx.xx.xx.xx]: 0
Jan 29 19:56:07 mail postfix/submission/smtpd[14799]: warning: TLS library problem: error:14094418:SSL routines:ssl3_read_bytes:tlsv1 alert unknown ca:s3_pkt.c:1472:SSL alert number 48:
Jan 29 19:56:07 mail postfix/submission/smtpd[14799]: lost connection after STARTTLS from srv4.example.com[xx.xxx.xxx.xx]

I suspect this is because of some sort of certificate error. I can use another client to connect and sent mails succesfully, however I am presented with a popup to accept the certificate from the mail server. Also when I configure magento to use gmail mails are sent succesfully as well.

If this issue is related to the certificate what is best to do? I cannot accept certificates from Magento. Or maybe I should use different certificates (I use self signed). Or maybe the problem has to do with something else completely?

Hope someone can help with this.

Thanks for your answer!
0
Hi Experts,

Is there any Magento 2 User dashboard interface template, the default one looks ok but I thought if you can guide me to a sort of template.

thanks
0
Dear all,
How do you classify products which provide a SDK and host modules like following products:
MS SharePoint, DotNetNuke, WordPress , Joomla  Drupal,  Magento , osCommerce, ZenCart , VirtueMart
I just need a name to use it in my research paper,
Thanks
0
I want to build my team to be SEO centric. We have a great opportunity to make money from sales of certain line of products that are not competitive. And I want to know the best way to go about it.

1. I want to hire research and content employees, who will take their time to develop the right content to best advise potential customers on best practices.

2. What else will I do right? that'll give hugely significant result within a 3-6 months time frame.

I will like to outsource the technical aspect to developers on elance, what should I be asking them to do: stuff like this: https://www.youtube.com/watch?v=bUBaGG33V4Q&feature=youtu.be keeps bothering me.
0
I manage a Magento store. We recently launched a corporate version, and moved the domain from the Magento Store to a Wordpress site. Wordpress works great.

Magento has two environments, a live and a stage site. We created TWO new URLs and changed the live store URL from the base (non sub) to a sub, and also changed the staging to another sub.

The issue is the live sub is redirecting back to the staging sub. Here are the links:
Corporate (Wordpress): apothecaryproducts.com
Live store: https://store.apothecaryproducts.com (ONLY works when https:// is in front, otherwise http://store.apothecaryproducts.com redirects to...
Stage store: zstagestore.apothecaryproducts.com

I'm at a loss for whats going on. I think it might be resolvable by setting up another "store" for staging, but I'm confused why its resolving to stage. Also the IP address resolves to stage: 162.209.57.148
0

Magento

209

Solutions

280

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.

Top Experts In
Magento
<
Monthly
>