Questions tagged [magento]

Magento is an open source e-commerce web application.

Filter by
Sorted by
Tagged with
1 vote
2 answers
711 views

Magento VM Instance on Google Cloud Platform doesn't allow uploading any files

Decided to give the Google Cloud Launcher a try by launching a one click Magento installation. Everything went smoothly and it did get up and running, however I have encountered one glaring fault that ...
dmandave's user avatar
1 vote
0 answers
459 views

Apache crashes when running Magento on Amazon EC2 Large

So I've spent the last two days trying to figure this out. We host a pretty high-traffic Magento site on Amazon EC2 Large, using both Apache w/mpm-prefork, Varnish, and APC caching. Problem is the ...
Fredrik's user avatar
  • 111
10 votes
2 answers
63k views

nginx recv() failed (104: Connection reset by peer) while reading response header from upstream

I have recently upgrade my magento from 1.5 to 1.9 and when ever I add a certain product to basket, I started to receive this error: 502 Bad Gateway There were no log entries in the var/log/ folder: ...
Latheesan's user avatar
  • 357
0 votes
0 answers
612 views

nginx - urls without trialing slash redirect to root

I've currently got an nginx config that is working for all intents and purposes apart from a small issue when a url doesn't include a trialing slash. The website is Magento held within a subdirectory ...
evensis's user avatar
0 votes
3 answers
3k views

Accessing a web site on a VM

I am trying to use a VM to allow me and some other people in the company to test-drive changes to a Magento store. The VM is out of my control (mostly) and is hosted on a Windows Server box on our ...
GeezerGeek's user avatar
0 votes
0 answers
786 views

Magento with nginx try_files not work

I have a server running Magento E-commerce application and it is running using Nginx. Recently I installed a Wordpress blog under document root like this: http://example.com/blog When I/m dealing with ...
mike's user avatar
  • 1
1 vote
2 answers
4k views

Correct rewrite syntax to remove index.php

I got an nginx vHost that hosts: a CMS in / a magento shop in /store Things are running fine except one thing: Removing index.php from the URL. At the moment the following URLs are working ...
Tsolen's user avatar
  • 23
0 votes
1 answer
2k views

Iptables PREROUTING to redirect port 80 through varnish not working

I try to use iptables to keep Varnish on port 8080 and Apache on port 80 and just preroute everything coming in at port 80 to port 8080. It isn't working. When I call the site on port 8080 everything ...
Øle Bjarnstroem's user avatar
0 votes
1 answer
831 views

Varnish error: /etc/init.d/varnish: 50: /etc/default/varnish: -p: not found

I've installed Varnish on Ubuntu 12.04 x64 and want to use it with my Magento shop. Information: Magento 1.9.0.1 Varnish Cache 3.0.5 Magento Turpentine 0.6.0 I've followed the installation ...
narzero's user avatar
  • 175
2 votes
2 answers
4k views

High Wait Time from Time To First Byte with Magento + Nginx

I am having issue with high TTFB time, especially wait time after send. Webpagetest shows the TTFB is almost 4 seconds. Pingtom specifies the wait time is the bottleneck here Here is my setup for ...
Tom's user avatar
  • 21
0 votes
1 answer
2k views

Nginx redirect for specific file extension

I'm having trouble setting up the redirects for a Magento extension. The URL requested is: example.com/index.php/Cdiscount/Package/download/type/offers/filename/...
dawns's user avatar
  • 1
0 votes
1 answer
2k views

How to make Nginx include index.php in file paths for sub-directories as well (Magento Multistore)

Running multistore setup with Magento on an Nginx server. I'm watching the access logs and can plainly see what is happening. Like many PHP web apps, it uses index.php in its URLs and I have it set to ...
sparecycle's user avatar
1 vote
0 answers
1k views

HIGH CPU usage by PHP on a VPS Magento Server

My server running magento is 4gb ram and 4 core cpu. But still i am struggling with the high CPU usage. I only have 10 visitors at any given point of time. I am not sure if the PHP has to take this ...
Anil's user avatar
  • 11
0 votes
0 answers
3k views

Sendmail Failing to Forward Locally Addressed Mail to Exchange Server

When a customer places an order via our (Magento CE 1.8.1.0) website, a copy of said order is supposed to be BCC'd to our sales manager. I say supposed because this was a working feature before the ...
DomainSoil's user avatar
0 votes
1 answer
5k views

Nginx magento configuration returns 404 but loads html

over the last couple of days I've been undertaking the task of moving our Magento site from shared hosting to a VPS. The VPS is using Nginx with php-fpm. Note Currently we're also having issues with ...
Lewis Campbell's user avatar
30 votes
8 answers
3k views

Deploying new code live

What's the best practise to deploy new code on a live (e-commerce) site? For now I have stopped apache for +/- 10 seconds when renaming directory public_html_new to public_html and old to ...
nicoX's user avatar
  • 611
1 vote
4 answers
4k views

Varnish doesn't seems to be doing anything

I would highly appreciate an input on whats going wrong here: Running Magento on Ubuntu 14.04 x64 + Nginx + Mysql + Php5-FPM Please double check my steps so maybe you could help me point what's ...
user avatar
1 vote
0 answers
623 views

Simple php page gives 404 error in Magento

For testing purpose, I created a folder and created a test.php file in my magento site. It contains: <? echo "Hello"; ?> It works on one machine but not another machine. I chmod 777 to the ...
Sam Kong's user avatar
  • 933
1 vote
1 answer
1k views

Session created with wrong permissions?

Is there a way to modify the permissions on generated session files? The system is writing the files to /var/session directory correctly, but without the proper access permissions (resulting in no ...
user4984's user avatar
  • 123
1 vote
1 answer
8k views

Nginx Map Directive for multiple variables

I currently use nginx with Magento and I use the map directive to supply the store code like this: map $http_host $magecode { www.store.com retail_store; wholesale.store.com ...
Alex Block's user avatar
0 votes
4 answers
6k views

Nginx URL virtual host rewrite issues with Magento e-commerce

I've been running into some problems with my URL rewrites. When I click a link in my Magento back-end it completely messes up the URL. We start with this link: http://icanttellmydomain.nl/index.php/...
Stefan Grob's user avatar
-1 votes
1 answer
986 views

Installing PDO and other PHP extensions for magento

I have a server and i was using php files on it. For some reason i had to reinstall apache on it. My files and my SQL database is still there. Now after fresh installation of Apache, when i run my ...
karan's user avatar
  • 13
1 vote
0 answers
412 views

MAGMI fails while importing big chunks of records. Ideal Mysql configuration for Magmi

Configuration: Linux Centos 6, NGINX, Mysql We are trying to use MAGMI a common tool for mass importing of data in Mysql based on webbrowser. I run in an issue. As a try to import more than a small ...
Claudio Ferraro's user avatar
0 votes
1 answer
763 views

Magento Installation on Xamp results in a Blank screen

I was installing magento on my Windows 7 where Xamp 3.2.1 is installed Copied Magento folder to htdocs Create MySQL database with a user and called localhost:8001/magento where 8001 is the port for ...
LX00112233's user avatar
0 votes
1 answer
2k views

Redirecting Magento's admin to separate backend

I need the Magento admin to be sent to a separate backend from the store. I have 2 issues: Don't know how to properly match both index.php/admin and /admin with a regex (index.php/admin works, as it ...
hernandes's user avatar
0 votes
0 answers
1k views

Mysql tmp file cause site exception error crash

Running Magento and every 3-15 days or so (fairly random) I get this error: exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY000]: General error: 1 Can't create/write to file '/tmp/#...
cshaun's user avatar
  • 1
0 votes
3 answers
9k views

Magento Error 404 after moving from Apache to nginX

I moved my magento store from Server "A" which was on Apache to Server "B" running NginX. Copied all files and folders, Exported and Imported the SQL DB, Altered the local.xml file with the new DB ...
user179181's user avatar
1 vote
1 answer
6k views

NGINX not serving CSS & JS

NGINX will not serve CSS or JS files to the browser Link to page (magento) http://836237.vps-10.com/ Access log shows: [01/Dec/2013:16:55:17 +0000] "GET /js/varien/form.js HTTP/1.1" 304 0 "http://...
user179181's user avatar
0 votes
1 answer
179 views

4 Magento Requests per second = 210 mbit memcache bandwith?

After searching serverfault for similar questions without success, these are my numbers for one magento instance, running on multiple servers: After varnish about 4 requests per second hit the ...
Karsten's user avatar
  • 318
2 votes
3 answers
4k views

Memcached - doesn't seem to be working

my local.xml <session_save><![CDATA[files]]></session_save> <cache> <backend>memcached</backend> <prefix>MAGE_</prefix> <memcached> <...
Trev's user avatar
  • 123
11 votes
2 answers
33k views

Add trailing slash when it's missing in nginx

I'm running Magento on Nginx using this config: http://www.magentocommerce.com/wiki/1_-_installation_and_configuration/configuring_nginx_for_magento. Now I want to 301 all URLs without trailing slash ...
user avatar
-1 votes
1 answer
1k views

How to Enable geoip on magento with varnish page cache

I currently have 3 stores online with 3 different domains, running magento with Apache and varnish (using Phoenix page cache extension) running on centos One store is for uk, another for Ireland and ...
molleman's user avatar
  • 111
2 votes
2 answers
2k views

Magento subpages give 404

I just restored our Magento website on a different server running apache2 on ubuntu. The home page pulls up just fine but if I try to go to any other page, I get a 404. Permissions All files are 660 ...
eisaacson's user avatar
  • 525
2 votes
0 answers
2k views

URL rewrite doesn’t work for magento

Web Server Rewrites in admin is set to yes. Secure and unsecure URLs do not have index.php in them. mod-rewrite is enabled and works I tried all combination with RewriteBase / in htaccess Flushed cash ...
Upment's user avatar
  • 121
0 votes
2 answers
1k views

Securing Magento against high-traffic situations

Hi i have an apache server 2.2 with php (magento) scripts. in normal times a php page renders in 1-2 sec, which is ok. Sometimes at high traffic or crude spider bots all Apache-Slots are blocked. ...
wutzebaer's user avatar
  • 129
5 votes
2 answers
7k views

mysql becomes unresponsive at same time every day

My server goes down every day at same time. I found that the issue was due to mysql. I tried show processlist; and found that data base was entering in to sleep mode. I saw there was so many inserts ...
Satyendra Mishra's user avatar
0 votes
1 answer
503 views

Best way to rotate Magento logs?

We have a lot of sites on Magento and the logs are getting gigantic, so I'm wondering if the best way is to use a cron script to rotate them or logrotate. I want to avoid making file copies as it ...
user2344668's user avatar
0 votes
1 answer
656 views

Magento Stuck During Installation

I have a very strange problem with Magento installation. The installation is done on EC2 with brand new clean CentOS 6.2 AMIs. PHP version is 5.3.3. I install PHP with: yum -y install mysql mysql-...
user181710's user avatar
0 votes
1 answer
527 views

Nginx Loads the same exact page for every url

Alrighty.. Im having a problem where every single page is loading the same exact page in this nginx config. The page that is loading seems to be index.php Not exactly sure what is up? It should be ...
Bryan Ruiz's user avatar
1 vote
0 answers
530 views

vhost working but not finding index.php

Its my first time that i have a vserver with plesk - i always deleted plesk and worked without it because i didnt liked it but now i try with and it doesnt work as i want it. installed magento here: ...
Jonny Vince's user avatar
1 vote
1 answer
3k views

nginx URL rewrite for subfolders

I have 2 subfolders, they are opened on my_url/test1 and my_url/test2 location /test1 { index index.html index.php; ## Allow a static html file to be shown first try_files $uri $uri/ /test1 /...
freento's user avatar
  • 135
1 vote
2 answers
2k views

Memory adjustments for magento with php5-fpm , Nginx, APC, Mysql

I am using magento with php5-fpm , Nginx, APC, and Varnish. When there is varnish hit, the load time is very good. But on varnish miss, the site takes toomuch time to load. I have seen through htop ...
MJQ's user avatar
  • 111
0 votes
1 answer
1k views

magento php-fpm too many process

in the last 2 days, suddenly the server is very slow. we are running magento, and we have seen 40-50 php-fpm process being run, each taking a few % of cpu, making performance very slow. we have 2 ...
Angel Wong's user avatar
0 votes
2 answers
607 views

Accidently set chown “root” to all my server

I'm running 2 magento apps on my web server and I accidently set "chown -R www-data:www-data *" from the root of the server. Meaning, all the files were owned by the user root. This immediately ...
Pedro Peixoto's user avatar
0 votes
1 answer
30 views

Magento 1.7 Costum option not working

I have this weird problem out of the blue. Magento was working find until today. The problem is this: Now it is like this: https://i.stack.imgur.com/lyKc0.jpg How it looks after I remove the costum ...
Nivong's user avatar
  • 1
3 votes
2 answers
16k views

Can't gzip some JS and CSS files

I am optimizing a magento store, and some JS and CSS (compiled and minified in a MEDIA folder) aren't being served gziped as they should. All pages are gziped (ex. this HTML page) but some content ...
MgtWizards's user avatar
-3 votes
1 answer
266 views

GoDaddy VPS running Magento went down twice past couple of weeks

Would this PHP error possibly cause the server to go down? [Tue Mar 05 02:48:28 2013] [error] [client 50.57.68.9] PHP Fatal error: Uncaught exception 'Exception' with message 'File 'httpdocs/...
Nick's user avatar
  • 101
1 vote
3 answers
21k views

Nginx unknown "https" variable

I've woken up this morning to find that a new Nginx server I've been teaching myself with is no longer serving websites. It looks like this is because Nginx is no longer running. When I try to start ...
Matt's user avatar
  • 143
0 votes
1 answer
2k views

How can I exclude the admin area from the litespeed cache when running Magento?

I have litespeed on my server and am trying to use the cache system. I have followed the wiki instructions. And have this in my Magento .htaccess RewriteRule (.*\.php)?$ - [L,E=Cache-Control:max-...
Ledgemonkey's user avatar
1 vote
1 answer
2k views

truncated headers from varnish configuration file

I need help with Varnish, I have a varnish configuration file as default.vcl. I can see from the output of varnishstat that hit ratio is quite high. I've also checked varnishtop -i txurl to see ...
sandeep.s85's user avatar
  • 2,149