I want to import simple products by magmi, installed already and the csv created with one sample product, magmi can read it but not inserting it, the csv is the default but with media_gallery column i don't know what to check for plugins and what configuration should i use, the categories not created so i checked (On the fly category creator/importer v0.2.3) and (Image attributes processor v1.0.25), is there any way i can know more details about the reason the importing not working like a error log ? and simply how i can import via magmi ?
First of all, you can get most of the information on their website.
After that you can run magmi with the command from your magento root directory:
$ php magmi/magmi.cli.php -mode=xcreate -SKUF:matchfield=sku
All the configuration should be in /magmi/config. The logs you're gonna find in /magmi/state
That is the basic information you need to get started.
Magmi v0.7.15b installation with magento 1.9.1.0 and ubuntu package 14.04
Copy magmi to your root directory and unzip it as(http://website.com/magmi)
Give permission 705 or 777 to this directory (sudo chmod 705 -R /var/www/html/magmi)
Browse to http://website.com/magmi/web/magmi.php
configure Global parameters as
host localhost
port 3306
version of magento 1.9.x
DB name yourDB name
Username Yourusername & password
Current profile Default
Data sources
CSV Datasource v1.3.1
CSV import mode local
CSV base directory var/import
CSV header at line Array
and enter all option as per requirement and save profile
Restart apache2 sudo service apache2 restart
Refresh your magento admin panel
Related
How can i configure MAGMI Application and How can i used for Export and also Import. What is the procedure to connect my server.
Screenshot
Magmi is only for import.
Removing upgrade/upload functions are disable for security reasons:
Follow the link: https://sourceforge.net/p/magmi/git/ci/875893212a9c0a89d018466d023bd2fbd339dbb0/
Import steps:
Configure Global parameters Section:
Database (enter here the connection info to magento DB)
host : enter Mysql host name for magento DB (defaults to localhost)
port : enter Mysql port for magento DB (defaults to mysql base port : 3306)
DB Name : name of magento database
Username : name of user to access magento database
Password : password of user to access magento database
Table Prefix : if you chose to use a table prefix for your magento table (at the time of magento installation) then put the prefix here also(without the trailing _)
Note: Check your local.xml for db host name, db password, db username.
Magento (for magento filesystem location info & version)
version: select version of your magento (You are using 1.9)
Give path to magmi installed in magento dir. (Your magmi is in magento root directory- leave it blank)
Global (here magmi common general setup)
Directory permissions: 755
File permissions: 644
Then save global permission.
Configure Current Profile Section:
CSV base directory: Magento import directory (i.e. var/import). Also paste your .csv file to that folder.
File to import: Select CSV file to run for import.
Then Save Profile (Default).
Run Magmi:
Run Magmi with profile: Default
Select using mode according to your requirement.
Run Import
For more :
Magmi Wiki
Cateogry create
Image Ref:
Today when i logged into my magento store admin, it shown a new critical message like
Critical Reminder: Download and install Magento security patches. Download now.
Then i download SUPEE-5344 and SUPEE-1533 from https://www.magentocommerce.com/products/downloads/magento.
Please tell me how can i apply these patch files to my magento store.
Thank You!
Applying SUPEE-5344 and SUPEE-1533 Magento patches via FTP/sFTP or FileManager / File Upload without SSH
Refer Link: http://magentary.com/kb/apply-supee-5344-and-supee-1533-without-ssh/
You can test whether Magento is safe from vulnerable for security point of view see link: https://shoplift.byte.nl/ and enter your URL.
You should have a look at the official documentation on applying patches
But in short.
Download the patch from the Magento site,
Transfer the patch to you Magento installation root directory,
Call sh patch-file-name.sh and you should see the message Patch was applied/reverted successfully.,
You may need to revert permissions after the process and also make sure you download the right patch for the version of Magento you have in place.
for SSL use putty client software and use it to access SSL.
Go to your website hosted directory and type the
above command and yout patch get applied/reverted successfully.
Steps To Run Security Patche File in magento.
1 First download security error patche file from magento community .
2 Download files move it into root folder in magento.
3 Create a php file in root directory of magento for run patche files.
4 Rename Security patches files according to you.
Final Step Open Php file and add these function in php
<?php
print("<PRE>");
passthru("bash patch-1.sh");
print("</PRE>");
//patch-1.sh define the name of download security patch file name .
?>
First download .sh patch files and move to your document root (magento root folder). Then connect to ssh and go to your document root folder.
run this command.
sh patch-file-name.sh
A message such as the following displays to confirm the patch installed successfully:
Patch was applied/reverted successfully.
Delete cache and session.
rm -rf var/cache var/session
Now you may need to reassign ownership again. Based on your group name command. Generally there are two groups www-data or apache. If you have www-data then run this command
chown -R www-data .
For apache use this.
chown -R apache
I am having a terrible time trying to locate the files that are populating a select drop down in the "Import All Products" dataflow profile in Magento. Inside of the "Run Profile" tab there is a Select Dropdown that contains all of the files I have ever uploaded. I want to remove these as I have already uploaded about 15 .csv files.
I have tried searching in PHPMyAdmin for the file name. Also have tried sudo locate import-20140320221637-1_export_all_products.csv and sudo grep "import-20140320221637-1_export_all_products.csv" /var/www/ but I come up with empty results. Where are these being stored at?
Check in your magento_root/var/import folder. This is where usually all the import csv files are stored.
I am attempting to import products in to Magento via MAGMI. The CSV is being generated by a different application. The CSV file is as follows
sku,name,image,image_label
BLE02U,Hand Cream,http://s3.amazonaws.com/some_bucket_name/product_codes/50b82c2b315bb06f5a000037/product_code_images/original.jpg,awesome image
When I run the MAGMI there are no errors reported. The products appear in the backend of Magento but the images are broken. Looking in the media folder of my local magento install suggests that no images have been downloaded as there is only images from products I have uploaded by hand.
I have the Image attributes processor installed and I am renaming images with the following regex
re::((\d|[a-z]){24})\/product_code_images\/original\.([a-z]{3})::$1\.$3
Thanks in advance for any help.
OK turns out I had configured MAGMI incorrectly. I did not have the root magento path set up. Note by default this will not be correct and you will have to adjust it.
#Muk (comment below): Let's say you installed magmi in your rootfolder, then go to:
www.yourshop.com/magmi/web/magmi.php
I had the same problem but:
PHP Warning: curl_setopt_array(): CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in ...
I just disabled open_basedir and it worked like a charm.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Magmi v0.7.20_git
I am moving a magento store from mydomaintest.com to mydomain.com.
When I say move, in this instance, we simply used the Cpanel to Modify Account and changed the Domain Name from mydomaintest.com to mydomain.com.
Then using the advice found in forums I used PHPMyAdmin to update the Magento Core Config table to the new BaseURL for both Secure and Unsecure url's.
After doing this I deleted all files in /var/cache.
Trying to access the site by domain name or IP is providing the following error:
Fatal error: require_once() [function.require]: Failed opening required '/home/mydomain/public_html/errors/report.php' (include_path='/home/mydomain/public_html/app/code/local:/home/mydomain/public_html/app/code/community:/home/mydomain/public_html/app/code/core:/home/mydomain/public_html/lib:.:/usr/lib/php:/usr/local/lib/php') in /home/mydomain/public_html/app/Mage.php on line 847
Please help, we are trying to move live today and can't seem to figure this one out.
Thanks!
John
Go to System > Index management and Reindex data as it also contain the url rewrites. Also be sure to check System > Cache Management (some versions still have that) and flush all cache as var/cache is not the only caching location. The zend components save their cache in the tmp folder.
I had this issue with Magento running with Apache2 on Ubuntu 14.10
Make sure that MySQL module for PHP is install:
dpkg --list | grep php5-mysql
If it is not listed, you need to install it:
sudo apt-get install php5-mysql
Then restart Apache:
sudo service apache2 restart
In our case we get this message because someone deleted the "error" folder - the site works fine until an error happens.
Once we restored the folder (and make sure PHP can access it), we see the normal Magento error page.
If you don't have the folder you can download Magento and extract it from the archive.