We’re rewarding the question askers & reputations are being recalculated! Read more.

Questions tagged [installation]

Denotes questions related to Installation

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

How to upgrade from 1.8 alpha (1.8.0.0-alpha1) to 1.8 FINAL

I've built a Magento site around 1.8 alpha release. Now 1.8.0.0 final is out, and I wish to upgrade my installation. What would be the easiest path of accomplishing this? Please note that my site is ...
2
votes
3answers
2k views

Programmatically installing a module

I need to install modules so that the database changes happen. I can't just let it be an install on logging to admin type of approach as I have a bash script that I am using to provision my test ...
0
votes
1answer
136 views

Install script will not run

I have been trying for three days to understand why I cant make this install script which I have run. I must have read every article on the subject at least twice and now feel I have a fairly sound ...
3
votes
2answers
470 views

When did data install/upgrade scripts get introduced

What version of Magento first allowed data install/setup scripts i.e. mymodule/data/mymodule_setup... It looks like in 1.5 CE data scripts do not work - but a cursory look at the core resource setup ...
0
votes
1answer
5k views

adding a new table to the database

I have an install script for a module which Ive been working on that has previously run perfectly. Since I last used it I have deleted the database, in which it was installed and now want to reuse it. ...
0
votes
3answers
14k views

Can't install Magento

I'm a beginner in Magento. Have tried to install it. At first, make a Database "magentotest" with username-> "root" and no password. The problem I got is when I press continue button it starts ...
1
vote
2answers
3k views

Magento installation error on server

Currently I have downloaded magento on my system. After that I just uploaded that file to my server(in zip format). After upload I went to the server and extracted all the files from folder. Now as I ...
1
vote
1answer
250 views

Best place to add URL Rewrite during extension install

I am working on an extension right now that needs to have a URL rewrite setup when it is installed. Is the best place to do this in a data install script? If not, where should this be done?
4
votes
1answer
712 views

How do you install the latest enterprise edition with n98-magerun?

I'm trying to figure out how to install the latest enterprise edition using n98-magerun. Can you install from a zip on the local filesystem using n98-magerun? Is the latest Enterprise Edition ...
3
votes
1answer
3k views

DROP TABLE syntax commented in install scripts?

What is the purpose behind having DROP TABLE IF EXISTS in commented SQL in Magento installers? From app/code/core/Mage/Admin/sql/admin_setup/mysql4-install-0.7.0.php: -- DROP TABLE IF EXISTS {$this-&...
0
votes
1answer
4k views

“Database connection error” when installing 1.7.0.2 on Ubuntu

I'm installing Magento version 1.7.0.2 on an Ubuntu VM, hosted in Azure - I'm getting "Database connection error" in the Magento Installation Wizard. I've installed PHP & MySQL as instructed here....
1
vote
1answer
1k views

Display error while setup the magento

I have worked on localhost. It was good in localhost, but not in antoher server.I installed my magento file in the server and setup the database. But when i open the site it show the error message ...
0
votes
2answers
998 views

Failed to open homepage in magento

Got these warnings while accessing the localhost/magento ‘homepage’: Warning: include_once(C:\xampp\htdocs\magento/errors/503.php): failed to open stream: No such file or directory in C:\xampp\...
6
votes
3answers
3k views

Magento keeps invoking install script after deployment

I'm trying to move my Magento store from local to web server. But I run into a problem: The install wizzard pops out, I can't figure out why. What I tryed till now: Double checked the database ...
3
votes
3answers
2k views

How to prevent extension installation problems with compilation mode enabling

I have the extension which is listening to core_layout_block_create_after event. It could be any event which is firing in magento admin. Also I have magento instance with compiler mode enabled. I ...
18
votes
4answers
4k views

Install Magento Base with Composer

I know there are nice ways to install Magento Modules (from Connect) and from GitHub (if composer.json is provided). (as described in http://magebase.com/magento-tutorials/composer-with-magento/) Is ...
2
votes
3answers
2k views

Run Magento from localhost on Mac

While it is possible to install Magento locally, I cannot seem to get Magento to actually set cookies in the Admin when logging in if I use the hostname localhost:8080. Having worked with Magento for ...
17
votes
5answers
3k views

Use of $installer v $this in install scripts

Ok, using install scripts there seems to be a weird convention to use the following: $installer = $this; I really don't understand this as it is completely redundant. Why not just use $this-> ...
3
votes
2answers
5k views

Add Input Validation to Product Attribute with MySQL Install Script

I have a shipping plugin that creates 3 product attributes, namely length, width and height. I have the following code in my install script: $setup = new Mage_Eav_Model_Entity_Setup('core_setup'); $...
1
vote
2answers
7k views

Magento will not run my customer install script

Okay so I am trying to add a field to the registration with my module. Obviously I have to add an attribute. So my "install script" is really just an upgrade to the customer entity. However, the ...
2
votes
2answers
4k views

Error 500 & dbModel read resource does not implement Zend_Db_Adapter_Abstract

I am trying to move my website(-s) to a new server. On my old server, Magento and Database were on the same box. This Magento installation Serves two Stores. I bought two new servers one for the DB ...
0
votes
2answers
5k views

How to manually upgrade Magento? [duplicate]

I want to upgrade Magento from version 1.5.0.1 to 1.7.0.2. How can I do this upgrade manually or via any other method?
3
votes
3answers
14k views

With .htaccess file Server Gives error “500 : internal server error” [closed]

I installed Fresh Magento in Live Server with a subdomain (shop.example.com) And It given me error 500 : internal server error But If i delete .htaccess the site works properly Without .htaccess ...
3
votes
2answers
3k views

Installation Validate class not found from basename 'StringLength'

I have an interesting phenomenon: I tried to install Magento on http://www.fortrabbit.com/ but I get the following error. I'm sure on my first try it didn't happen, but the table creation broke at ...
3
votes
1answer
434 views

Problem concerning order status in update script when installing fresh Magento

We have a installed a third party module on an existing Magento installation which creates some new order statuses in its setup script like this: $statusTable = $installer->getTable('sales/...
22
votes
2answers
5k views

Install scripts: Creating tables vs. updating existing ones

have one question, recently I was developing one module with a lot of tables in DB, and concept was changing often, so was need to change existing tables in DB, and I noticed difference in table ...
21
votes
4answers
19k views

How to use setup scripts for your module?

I realize, you can use setup scripts for your own module by declaring them in the etc/config.xml file of your module within the <global> space like this: <resources> <catalog_setup&...