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
3
votes
Accepted
XAMPP and Magento directory Selector problems
You are confusing URLs with directories.
getBaseUrl is for URLs, which will always be separated by /
getBaseDir is for Directories, which will have a variable DS defined by PHP's constant variable D …
1
vote
Tried to change store URL and now can't access Store
Number 1 rule of Magento - don't edit the DB directly.
Number 2 rule of Magento - seriously, don't edit the DB directly.
Chuck Norris is excluded from these rules of course
We don't normally advocate …
3
votes
Accepted
Template Absolute and Relative paths
An absolute path is from the upper most level of the directory tree. Ie. / or C:\
Eg. /home/sonassi/www/index.php
A relative path is relative to the current working directory. In the case of a web …
7
votes
Clearing Magento after testing
If you don't need anything at all - just empty the whole DB and do a clean re-install.
Running mass-truncates always worry me with any potential lasting effects of broken key relationships.
Fast DB pu …
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 …
6
votes
Accepted
Magento 1.7 Directory Separator returning wrong seperator
There should be no reason at all to change the DS.
DIRECTORY_SEPARATOR is a predefined PHP constant that is set by your PHP installation itself.
If it is returning the wrong value, it is because you …
1
vote
Magento Store URL
The best way is to actually modify your DB dump prior to import and remove the var/cache and var/session directories.
So you'd first dump your DB, then use sed to replace URLs, then reimport.
sed 's …
1
vote
Magento 1.7 Checkout Page Not Working Properly
As you're a new user, I don't want you to feel to un-welcome. But I do fear this question will be closed.
Your "checkout as guest" issue is a JS error on the checkout
Timestamp: 19/04/2013 19:07:09
…
11
votes
Accepted
Inconsistent Page load times
You first need to decide what you are testing, whether its just the PHP render time - or the real-world page load time.
In either scenario, using firebug isn't going to be reliable - as your internet …
1
vote
Magento URL rewrite after heavy traffic
The only time Magento will append -1 to a URL is when you duplicate a product - it won't do it in any other circumstance.
Your issue will be caused by custom code.
Follow the debug guide to the lett …
2
votes
Errors after Magento migration
Just repeat your migration - it has clearly gone wrong
cd /domains/example.com/http
wget sys.sonassi.com/mage-dbdump.sh
bash mage-dbdump.sh
tar cvfz ../http.tgz . --exclude=var/log --exclude=var/sess …
0
votes
Redirected to the Homepage when add www. in any URL
You could easily rule out Magento being the cause by using a non-boostrapped file.
Eg. A PHP file with a simple <?php echo "Hello World"; - if the redirect still happens with that - you know its a s …
6
votes
How to keep billing info saved on checkout step if page refreshed
You won't be able to do it natively.
But you could be clever and use web sockets (if you need 2 way comms) to continuously save the form data (just like this website does!) - or just use a vanilla Aj …
4
votes
Accepted
Magento auto-generated sitemap is different with URL Rewrite
core_url_rewrite will contain every conceivable possible URL for category or product.
Eg. For this product
/sony-vaio-vgn-txn27n-b-11-1-notebook-pc.html
/electronics/computers/laptops/sony-vaio-vgn- …
3
votes
Check Magento Store Performance with APC or Memcache
Pankaj,
Contrary to popular belief, neither using APC or Memcache as cache/session backends will make a noticeable difference to single-user page load time - unless you had a disk I/O bottleneck to b …