Magento

241

Solutions

334

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

Magento 2.3.2 install.
I have installed Magento 2.x many times before.  However, this time around, after the install I cannot get the admin (Backend) to work.  I just get a 404 error everytime.  I have checked for server rewrites and they are enabled.  There is a .htaccess file in the root folder.  Not sure what might be going on.
Any ideas?
0
Python 3 Fundamentals
LVL 13
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Hello, I'm trying for the first time to submit an extension to the magento marketplace, but the technical submission has failed the installation and varnish test.  

From the composer.json file:

"type": "magento2-module",
    "version": "0.0.1",
    "require": {
      "php": "^7.0",
      "magento/framework": "~102.0.2"
    },
    "autoload": {
      "files": [ "registration.php" ],
      "psr-4": {
        "Vendor\\Extension\\": ""
      }
    }

Open in new window


Environment: PHP 7.0.31 Magento 2.2 CE:

Your requirements could not be resolved to an installable set of packages.

 
Problem 1
    - magento/framework 102.0.2 requires php ~7.1.3||~7.2.0 -> your PHP version (7.0.33) does not satisfy that requirement.
    - vendor/extension 1.0.4 requires magento/framework ~102.0.2 -> satisfiable by magento/framework[102.0.2].
    - Installation request for vendor/extension 1.0.4 -> satisfiable by vendor/extension[1.0.4].

Open in new window


Environment: PHP 7.1.22 Magento 2.2 CE

 
Problem 1
   - Can only install one of: magento/framework[102.0.2, 101.0.8].
    - Can only install one of: magento/framework[102.0.2, 101.0.8].
    - Can only install one of: magento/framework[101.0.8, 102.0.2].
    - vendor/extension 1.0.4 requires magento/framework ~102.0.2 -> satisfiable by magento/framework[102.0.2].
    - Installation request for vendor/extension 1.0.4 -> satisfiable by vendor/extension[1.0.4].
    - Installation request for magento/framework (locked at 101.0.8) -> satisfiable by magento/framework[101.0.8].

Open in new window


Environment: PHP 7.1.22 Magento 2.3 CE

Problem 1
    - Can only install one of: magento/framework[102.0.2, 102.0.1].
    - Can only install one of: magento/framework[102.0.2, 102.0.1].
    - Can only install one of: magento/framework[102.0.1, 102.0.2].
    - vendor/extension 1.0.4 requires magento/framework ~102.0.2 -> satisfiable by magento/framework[102.0.2].
    - Installation request for vendor/extension 1.0.4 -> satisfiable by vendor/extension[1.0.4].
    - Installation request for magento/framework (locked at 102.0.1) -> satisfiable by magento/framework[102.0.1].

Open in new window


Environment: PHP 7.2.10 Magento 2.3 CE

Problem 1
    - Can only install one of: magento/framework[102.0.2, 102.0.1].
    - Can only install one of: magento/framework[102.0.2, 102.0.1].
    - Can only install one of: magento/framework[102.0.1, 102.0.2].
    - vendor/extension 1.0.4 requires magento/framework ~102.0.2 -> satisfiable by magento/framework[102.0.2].
    - Installation request for vendor/extension 1.0.4 -> satisfiable by vendor/extension[1.0.4].
    - Installation request for magento/framework (locked at 102.0.1) -> satisfiable by magento/framework[102.0.1].

Open in new window

0
Hi,
one of my hosting customers (cPanel, CentOS) asked me to install Zend framework.
On his website there is already a Magento installation (done through PHP composer).
According to this URL:

https://framework.zend.com/downloads

it's necessary to run this command:

$ composer require zendframework/zendframework

can I run this command in same folder where Magento is?
Or should I create a different subdirectory for Zend framework?
Thank you
0
I have a customer with an ecommerce Magento 1.9.x website.  We have discovered that our hosting package bandwidth usage has gone up considerably.  It appears that some of our product pictures on the site are victim of hotlinking.  I have found some references on how to stop the hotlinking or replace it image when hotlinked.  For example: https://alistapart.com/article/hotlinking/  However, I was wondering is there a way to give the user that viewed the "hotlinked" picture from the remote site, a link back to our site.  If their going to steal our pictures/bandwidth, then maybe we can redirect their visitors to our site??
0
I am a student and I was looking to explore both Shopify and Magento.

It looks like there is a lot of freelance work available for Shopify, but I was wondering what the use cases are for the two stores. When should Magento be used and when should Shopify be used?
0
Hi Experts

Could you point how to populate Magento 1.9.x with data - insert table contents?

The database is correctly created but the tables are empty, making it dificult to start.

The data template that was given only reacreates the table structures without any data inside.

Thanks in advance.
0
Hi Experts

Could you point out a good online course of Magento2 preferencially that you know and had followed?

There are many options on YouTube, so it is difficult to choose a didactic without some guidance.

Unfortunatelly the two that I had bought from Udemy (in Portuguese, that helps a lot) are from the old version 1.9 of Magento.

Thanks in advance.
0
Hi Experts

Could you point where a complete Magento 1.9.x could be downloaded?

It seens that the official site  no longer mantains that versions.

Thanks in advance
0
We are trying to setup an API in Magento 1.9.3.8 when the current admin password is entered, the system comes back with Invalid current password. Does any one know what password is magento expecting? I am the admin of the system so should be able to use my password, but the role name is not admin, is Sales API.

Any one here have an idea of how to fix this? Cannot setup my taxjar account because of this issue.

Thanks,

FE
0
How to create a meta data dynamically onto HTML head with the customer name as the content?
I am using Magento 1.9
0
Introduction to R
LVL 13
Introduction to R

R is considered the predominant language for data scientist and statisticians. Learn how to use R for your own data science projects.

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
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
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
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
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
In Magento CE 1.9, which are the tables that payment configuration and PayPal configuration?
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
Amazon Web Services
LVL 13
Amazon Web Services

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.

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
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
I am a college student. I have some money I inherited and I was thinking about starting an eCommerce site for vapes and juices.

I wanted some advice to see what platform I should use. To show you where my coding skills are at a project I am working on is available at wookify.com.

I've played around with Woocommerce. I'm intrigued by Magento.

I've also wondered about building an ecommerce site from scratch or with Laravel.

Thanks for your help, if I could make 1k a month I could pay expenses. What do I need to begin researching? Is this a foolish use of my money?
0
Magento 2.1 - How can I remove the ability for a user to UNSELECT a swatch image?

I have all configurable products, I have created default simple product configurations for all configurable products. In the configurable product I have a double swatch configuration and if the user accidentally clicks twice on a swatch image, that option becomes UNSELECTED. I need to remove the ability for the user to UNSELECT any swatch, the configurable product must always have a swatch selected. The user can choose different configurations, and move about, but should never be allowed to select nothing.

I have configured default configurations on all configurable products and I want the swatches to behave like radio buttons in that the user always has 1 of each selected. We have a total of 2 possible swatches. FRAME color and LENS color; one of each must always be selected.
0
Hi,
how can I backup my entire root server (UBUNTU 16)? It is hosted at MITTWALD. It is installed and configured (MAGENTO shop), now I want to backup the whole server with the possibility to restore it easily. I am not sure what is the best way to do this and I hope to get some good ideas.
Info: From the hosters console it is not possible to create backups.

Thank you!
0
I am trying to build a sunglasses store in Magento 2. Here is the issue I am facing:

Lets call the sunglass model DUDE.

The DUDE can have: RED, BLUE and WHITE frames.
The DUDE can have: YELLOW, BLACK or BLUE lenses.

We are currently struggling to figure out how we can add the DUDE as a single product with 2 color configurations. We don't want to have 3 products named DUDE-RED, DUDE-BLUE, DUDE-WHITE.

Currently I am not able to figure out how to enter 1 product that has 2 color configurations.

Please help experts = )
0

Magento

241

Solutions

334

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.