So far, I haven’t found definitive instructions for installing the sample data.
What is the sequence?
* Create db
* Run sql script for sample data
* Run installer?
I’ve seen threads for older versions of magento that suggested running the installer after the sample data is loaded, but I had problems with the installer not ‘kicking in’
If there is a FAQ/Wiki for this, please point me in the right direction.
Well you can do it either way, the problem is, if you run the SQL import after it’s installed, it resets some information (like admin username and password). So the way you listed it is how I’ve been doing it:
Well you can do it either way, the problem is, if you run the SQL import after it’s installed, it resets some information (like admin username and password). So the way you listed it is how I’ve been doing it:
Well you can do it either way, the problem is, if you run the SQL import after it’s installed, it resets some information (like admin username and password). So the way you listed it is how I’ve been doing it:
That’s what I’ve been doing. However, I can’t invoke the installer. It simply redirects to the Document Root (/)
Is there a particular URL that is needed for the installer? /index.php/install/wizard or something similar?
I had a similar problem, so I just deleted all the files then:
1. Extracted the sample data archive
2. Copied the contents to my web server magento directory
3. Extracted the main magento directories and files
4. Copied all into the magento directory.
5. Fired up phpmyadmin and dropped the magento DB
6. Created a new magento db and imported the sample data sql file into it
7. Ran the magento installer
8. Shiny new magento store is up and running…
I had a similar problem, so I just deleted all the files then:
1. Extracted the sample data archive
2. Copied the contents to my web server magento directory
3. Extracted the main magento directories and files
4. Copied all into the magento directory.
5. Fired up phpmyadmin and dropped the magento DB
6. Created a new magento db and imported the sample data sql file into it
7. Ran the magento installer
8. Shiny new magento store is up and running…
Hope this helps…
Can’t hurt to try. Seems to be a very roundabout way of installing sample data, but I can live with it.
It’s a little easier to do in SSH too. You can copy the entire list of commands and just paste it in. The last command, which imports the SQL dump, will ask for the password fo the database user. Make sure you replace DBUSER and DBNAME before pasting.
5 easy steps to import the sample data in already installed magento :
1
rename the location {root}/media
eg _media
2
upload the sample data file called media
{root}/media
eg {root}/media after upload
3 then create a new database as sample_database_magento
import sample sql.txt file on this database(sample_database_magento)
4.go to location {root}\app\etc\local.xml
Rename local.xml as ___local.xml or anything u want.
5.then browse the url http://www.yourdomain.com
it will go for the installer
and install magento but rember when u give the database name give sample_database_magento
and you are done:p
this is done and tested with version Magento ver. 1.0.19870 :d:p
please dont thank me if you feel like thanking me then post some new post which is meaningful and a good help to programers;)
I had all the sample data loaded and my store was working fine....UNTILL i decided to delete the products and now i have an error on the page ‘null’ is null or not an object also if i add a product it always sets it at out of stock which is wrong