MAGMI is not importing Images from remote URL's - magento

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

Related

How to upload Magento patch to root directory?

I am not a developer.
Today when I login admin panel, a message pop up telling me to download/upload Magento CE Patches SUPEE-5344 and SUPEE-1533
And I found this tutorial Magento CE Patches tutorial But I don't know what path to upload the .SH files. I know they provided an Example, /var/www/html/magento.but I don't have this www file should I create one?
Since I don't know what to do so I uploaded on cgi-bin folder. And I am not sure is working or not.
Please help me with this.
Best Regards
The patches should be uploaded and executed from Magento root directory. If you have Magento installed, the directory should exist already. This is the typical content of this directory:
$ ls -1
api.php
app
cron.php
cron.sh
downloader
errors
favicon.ico
includes
index.php
index.php.sample
install.php
js
lib
mage
media
PATCH_SUPEE-4829_EE_1.14.1.0_v1.sh
pkginfo
shell
skin
var
Upload it to the root of your magento installation. If your not confident with ssh i would ask a web developer to do this work for you, as potentially you could break everything.

Joomla set Temporary PHP directory

I installed Joomla 3.1.1 Stable on a Centos system.
I can access it, browse through it's admin backend and frontend, but I found in the Extension Manager/Warnings that "The PHP temporary directory is not set"
I went on google and found a fix: I created a php.ini file where I completed this line:
upload_tmp_dir = var/www/html/joomla/tmp
I did that because that is the location where I installed joomla (var/www/html/joomla/)
The fix I found online gave some other location for this folder, it was something with the home/accountname/public_html/... , but I do not have joomla installed in any accounts, it is installed in the "public": var/www/html folder.
I am asking what am I doing wrong because even after doing this, the warning stays the same:
"The PHP temporary directory is not set"
How can I fix this?
I set up the permissions for the entire joomla folder to 40777, and then to the inner folders and files so I would avoid a permission conflict. I then disabled the FTP from Global Settings (before doing this I was receiving a lot more errors when trying to upload anything)
I seriously thought that installing joomla on Centos would not give me so many headaches.
I need to install an extension in joomla (for a template) and I have an error that says nothing to me:"-1 - An error has occurred." - "Copy file failed" so I try to fix any warnings/errors that may cause this before giving up.
The fixes found online about this error (Copy file failed) refer to joomla 1.5 - 1.6. How is it possible that I still get it in version 3.1 ? It is rather absurd.
Any help would be appreciated.
Try to set it via .htaccess file, just add this:
php_value upload_tmp_dir /var/www/html/joomla/tmp
It started working after I changed permissions to ALL subfolders located in var/www/html/joomla
I will reset those permissions after I finish with configuring and customizing the website.
But for now, that was my solution.
-di3sel - the upload_tmp_dir was set up correctly in the php.ini
Thank you both, but my problem seems to be solved now.

how to use magmi for importing in magento?

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

got 500 Internal Server error in joomla [duplicate]

I have installed new site in Joomla 1.7 and its working fine, but when i checked its back-end (administrator) got 500 Internal Server Error.
Note: Site is working fine in Local server.
Please suggestion me any solution.
Thanks in advance.
First you have change folder permission to 775 for the following folders:
cache, logs, tmp & administrator/cache
then go to: configuration.php
find code:
$log_path = 'XXXXXXXXXXXXX';
$tmp_path = 'XXXXXXXXXXXXX';
and change code into:
$log_path = './logs';
$tmp_path = './tmp';
problem solved :)
I had this problem, but none of your advices didn't help.
I fixed a problem only after I switched off all modules via PhpMyAdmin (PMA).
Table modules, changed parameter "published" to 0 for all and then enabled only few modules with these types:
mod_login
mod_menu
mod_sumbenu
mod_toolbar
mod_title
After this I entered admin page and used top menu to enable all needed modules one by one. After admin page started to give me 500 error again I knew what module is faulty and I disabled it again via PMA.
May be some files are not uploded.Check failed transfer of your FTP server.Make sure all the files are uploded online
Check your error logs and backtrace what is causing the error. It sounds like you have MySQL errors, make sure any of your components/modules/aren't tricking out your site.
Think it's a component?
You can login into PHPMyAdmin and disable/enable modules manually by unpublishing them using the table editor, changing isPublished to 0 .
Try reinstalling database with the correct compatibility and also check web.config file on ftp for correct configuration paths !
I experienced something similar on my site. Digging through the log file, /administrator/error_log i saw this error message:
[08-Oct-2012 15:28:59] PHP Fatal error: Call to a member function login() on a non-object in /home/XXX/public_html/administrator/components/com_login/admin.login.php on line 65 .
Problem was, i had a previous installation of Joomla 1.5.x, and uploaded files for Joomla 1.6 to replace the previous files and upgrade security of the site. Took me almost a month to find a solution for my own case;
Finally found out from this website that I needed to completely delete all previous files in the website root directory before uploading a new version of Joomla.
Hope this helps someone out there who is in the same situation!
I also have the same issue on my site backend when editing or saving some articles, modules etc...Finally i solved it...
Add these lines to /etc/httpd/conf.d/mod_secuirity.conf on your server
SecRuleEngine Off
save it...and restart apache...it works fine for me.
Adding these lines disable mod_secuirity engine off.I don't know if it causes secuirity problems in future..
Tnx all...
Change the permission of folder administrator at 775 or 755
I tried all the above ideas. Without avail. For my site (which was an outdated Joomla 1.5.x site- don't ask!!!), where the backend suddenly stopped working, the final solution was switching the servers PHP version from 4 to 5.5 (even 5.4 did not work!).
I then got some strange PHP warnings in the frontend. But I then updated Joomla from the now again working backend to the last 1.5 version and everything worked fine from the on.
Phew! Maybe this helps someone later on...
In my case there was a single file with bad permissions.
It can be tricky to figure out which file has the problem so just run this to set the permissions for all the files in the directory:
chmod -R ug+rwX .
chmod -R o+rX .
Change the permissions of all of your files/directories.
Files should be 755
Directories should be 644
This is my case and my solution:
I have changed my server and got this error. I have protected my administrator folder using password protection method. So I have checked my new server and found that my protection information are not saved in control panel. also my .htaccess file (in administrator folder) is not compatible to my new server.
The solution:
Simply protect my folder using control panel
I have renamed the .htaccess file to htaccess.txt
It is done.
I hope it could be useful ;)

Changing Base URL in Magento

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.

Resources