Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Magento Community version 1.7
2
votes
High memory usage of parent categories collection
You've written a procedural recursive method that has an exponentially growing array passed as an argument.
Just use $category->getPath() and explode by /
9
votes
How can I tell if a corrupt image file is being used for credit card skimming?
I'm adding another answer just because my other one didn't actually answer the question - and it certainly doesn't need to be any longer!
How can I verify if an image contains CC information
Ultimatel …
21
votes
Accepted
How can I tell if a corrupt image file is being used for credit card skimming?
For the specific answer to your question see, https://magento.stackexchange.com/a/72700/361
Background
Firstly, there is no specific exploit - there are a series of articles doing the rounds at the mo …
1
vote
Performance implication for persistent shopping
Has anybody noticed a performance impact as a result of enabling persistent shopping?
More storage space used in the session backend (ie. for most our customers, more RAM used on their Redis node …
3
votes
Magento - Linux server DU (root) CPU spikes
Its clearly a cron task, likely that of whatever server control panel you are using.
du is a Linux utility for calculating disk usage of a given directory/file/path.
You could try a quick grep throu …
2
votes
Cache Refresh- Cron Job Command?
n98 MageRun would be perfect for this. Just add a cron entry for
magerun cache:clean block_html
However, you would be out of your mind if you did this on a production store. You should never clear …
2
votes
Accepted
Multiple magento frontend servers and one Redis session cache
You can provided you are using Redis over TCP and not via a local socket.
3
votes
Accepted
Getting error log for every URL hits in magento1.7
At a guess you have edited your core, as that variable is defined.
See https://github.com/sonassi/magento-ce/blob/1.7.0.0/app/code/core/Mage/Core/Model/Session/Abstract/Varien.php#L86
Restore a clea …
6
votes
Optimizing app/etc/local.xml - caching like Redis
If you are looking to improve the performance of the backend, neither Redis or Memcached (or any other backend) will make much of a difference.
In the admin, the cache is rarely accessed (config/layo …
3
votes
Can't change tables to INNODB and indexer problem with Category Flat table
The fact those tables aren't INNODB already is alarming. I assume you've copy pasted the contents of /etc/my.cnf from a guide and not verified the contents or values. Then on restart of MySQL, the INN …
2
votes
Accepted
What else adds order comments?
If in doubt about 3rd party comments, why not just wrap the method in a conditional statement.
Assuming that only your admin users need access to WYSIWIG/HTML comment support, then you could ensure i …
6
votes
Accepted
Tuning Apache mpm_prefork_module for Magento
You are either using prefork or worker, so you don't need to adjust both settings.
There's two questions that need to be answered though.
What is more important to you, having the "benefit" of more f …
3
votes
Accepted
Deadlock on 1.7.0.2 CE Checkout
Bear in mind that a query that hits a lock timeout is not the same as a deadlocked query, the two are different and as such, the diagnosis tools are different.
To review deadlocks
Just open a MySQL CL …
4
votes
Accepted
is it safe to run magento compiler?
Compiler is very stable and only really encounters problems with edge cases where there is a relative class include hardcoded (rather than reliant on the Magento autoloader). These are few and far bet …
1
vote
Accepted
HTML Landing Page Override for Magento Store
You could use a simple rewrite rule in your .htaccess
Eg.
# replace to suit the domain
RewriteCond %{HTTP_HOST} www.example.com
# change to suit your own IP
RewriteCond %{REMOTE_ADDR} !^x\.x\.x\.x …