Magento Products are not listed on fronend - magento

I downloaded a old magento site and installed it on my local server.
My admin panel is working perfect but products are not listed in frontend.
Links on the front end page are also not working.

When you say that you 'downloaded an old magento site', do you mean that you just copied down the folder structure?
If so, this won't have copied the product database, which is an entirely separate entity to the php/js/html/css that comprises the file structure.

Try reindexing and clearing the cache. Also, did you make sure the Base urls were updated in core_config_data database table?

Related

Magento site migrated on another server

I am using magento version 1.9.0.1 and having site on this
Client asked me to migrate data to other server with same configuration
But when I transferred all data to another server everything is working
fine except products not showing up at front-end.It shows in database and admin side.
I guess this in list.phtml
$products = $this->getLoadedProductCollection();
is not working
And I have also checked with loading base theme magento but no luck in that.
If anyone help me in this would be really helpful
Thanks in advance
You can do following steps :
1) go to backend, select all products, click on update attributes, click on websites on left, check your website and click on submit.
2) Go to system->config catalog and check if you have disabled retrieval of out of stock products on listing page.
3) After above steps, reindex your products and inventory.
4) Delete magento/var/cache/* and check website again.
After many attempts finally found solution,it was because of license issue
which is only for domain and i was accessing it from other IP and when I pointed it to that domain all things started working fine.
Thank you all for your inputs and help

*some* magento links pointing to old domain

I have just moved a magento site from one domain to the new one. Steps so far...
Backup the database and restore the database on the new domain. Change the core_config_base table for secure and unsecure base urls
Upload source files
Update the local.xml with new database information
Cleared cache
Now I can go to the site and everything is showing up fine on the new domain. The main navigation is working as it should. When I click on a product, however, it goes to the old domain. Does anyone know why this might be happening?
Can you verify the links when you hover products are correct or in correct consistently? Is old base URL in all links I mean. Also check htaccess file for any directives containing the old domain. Also check to make sure no custom URL rewrites exist in the Magento admin Catalog → URL Rewrite Management .Once you verify htaccess or custom URL rewrites in Magento admin are not causing it, I can suggest other procedures to fix.
Probably your previous developer didn't follow all Magento standards while coding.
My suggestion is download your code and search for strings that equates to your previous domain.Also check in data base, as use of CMS blocks too might result in previous domain links.
Btw make sure you delete all caches
Rm -rf var/cache/*
Verify base URL and secure URL are correct in all scopes via drop down in Magento system configuration.

Subdomains with Magento

THis is probably a dumb question, but I am currently moving to a new install of Magento. I'm on a Ubuntu server with nginx. The current installation is at /var/www, but I moved it to /var/wwwOLD so that the new site could be at /var/www. Is there a way to access the old site without renaming the new directory one to something else and the old one back to /var/www?
Sorry if this doesn't make much sense or is a common sense question that I should already know.
You setup a duplicated version of Magento in a separate folder by doing the following.
Configure a subdomain that points to the old folder. Example: oldsite.yoursite.com
Duplicate the Magento database to a new database
Edit the core_config_data table in the duplicated Magento database and edit the records with the path values web/unsecure/base_url and web/secure/base_url to the oldsite.yoursite.com domain value.
Edit the app/etc/local.xml file to point to your duplicated database (the one with your updated urls in the core_config_data table)
Delete everything in the var/cache folder.

Move Magento to new domain & server results in default homepage

I have just moved a Magento install from one server to another, and this is a change of domain too. I have moved all files from one /httpdocs directory to another /httpdocs directory.
I have uploaded the new database and imported the data as well as updated the local.xml file to point to the new database.
But when the site loads I get a default looking Magento page, rather than the correctly skinned Magento store.
Is there some config I have missed?
Make changes in your DB :
In core_config_data table, the values you need to change are in the path column. Change the web/unsecure/base_url and web/secure/base_url to match the new domain name by altering the value column for both records.
After that clear all catch, may you forget to do this step.
The answer is here, look at step 4. http://www.atwix.com/magento/moving-magento-to-another-server/
Log in to admin panel and go to System->Configuration->GENERAL/Design
Open package and themes, then set your custom package & themes name here. After that clear all cache from System->Manage Cache.
Hope it will work!

Magento not using appropriate URL - 404 Page not found

I have a magento site running locally using WAMP and it works great. However I need to create a different site so I created a folder for this new site under htdocs.
In that folder I loaded the Magento files.
Created a new database for newsite with all rights in phpmyadmin.
Went to the localhost:8888/newsite and started Magento installation wizard.
In the configuration section of the wizard I entered all the info required: db name, user, password. For URL Base I used the default (http://localhost:8888/newsite). Selected allow charts and Allow apache rewrites. Finished installing magento.
Now magento is running on newsite. I can see the front and back-end of the site.
Here is the problem: When I create a category and/or subcategory, magento does create the menu link but when I click any category, the browser takes me to a 404 not found. Upon analyzing the URL that took me there i see that the URL is : http://localhost:8888/newsite/category.html BUT by adding "index.php" into the URL (http://localhost:8888/newsite/index.php/category.html , the page does work!
So this means magento IS creating the page for the category but the linking is somewhat wrong.
Now, I've been making sure that rewrite is enabled and after all, the other site I mentioned I have is working properly, so I assume rewrite is properly enabled.
So I need help finding:
Why is one site working and the other isn't?
How can I fix this issue?
Thank you!
Sounds like you haven't copied over the .htaccess file (in your Magento root folder). You need this file for the Apache rewrites to work.

Resources