Questions tagged [installation]

Denotes questions related to Installation

Filter by
Sorted by
Tagged with
0
votes
1answer
598 views

Category update during module installation

During my research on question 2 module setup scripts dependence I tested following: I tried to update already created category in module setup file (mysql4-install-0.1.0.php): $installer = $this; $...
45
votes
13answers
104k views

How do I set Developer Mode in Magento 2

I'm trying to install Magento 2 but I am getting the following error: Error happened during application run. Could not write error message to log. Please use developer mode to see the message. I ...
0
votes
1answer
1k views

Delete Magento database or site settings config?

I want to start my Magento installation from scratch. I'm unfamiliar with Magento, but in Drupal you can delete a settings.php and you db and it will be as if no Drupal has ever been installed. Then ...
7
votes
3answers
942 views

What could be bad about using symbolic links with local.xml

Synopsis First and foremost nobody likes to work on production applications. Therefore it is advised and good practice for someone to set-up separate stores, my structure is as follows: dev.magento....
0
votes
1answer
33 views

Make extension install after core modules

I have an extension i created that modifies core attributes. I want to make sure it is installed after all magento core modules. Is there a way i can use the depends node in my app/etc/modules/*.xml ...
1
vote
4answers
102 views

What files do I need to update after moving magento from “127.0.0.1” on one PC to another running on “localhost”

My friend and I are developing a magento theme together. His Magento installation was running on 127.0.0.1 and mine on localhost. After we've moved the files from his to mines the theme only renders ...
1
vote
2answers
50 views

How to Define Custom/Use Custom Resource Methods in Installation Scripts

What's the proper way to define functions used in installation scripts? I have a long list of data to add in a module, and I'd like to avoid writing a long serial script or just including functions at ...
6
votes
3answers
39k views

Creating new attribute using addAttribute() in installation scripts

I'm writing an installation script in an extension that adds some new attributes. I'm using the following. I'm following and old tutorial (http://blog.chapagain.com.np/magento-adding-attribute-from-...
4
votes
1answer
3k views

Install script to get access to root category id

I have a data install script which requires access to the default stores root category. If the code for the module is run when the site is first installed, the value is never available i.e. Mage::...
0
votes
2answers
5k views

Magento installation takes so much time [closed]

I am trying to install magento-1.8 on local server. Its takes so much time to installation process. I am trying install half an hour but still is process is not complete. Process running during ...
0
votes
1answer
2k views

Magento setup resources not working in magento 1.8.1

Personal I'm trying to create an installation script for magento module, but the problem is that he's not running my script and not save the core_resource table, anyone have any idea why that is? I ...
2
votes
2answers
3k views

Creating and placing a widget through install script

Can I create a widget instance and assign it to a specific page to appear through install script? I'd like to have some functionality similar to sample contents, but with widgets. To be more specific, ...
1
vote
2answers
740 views

Hide installation wizard after upgrade

From what I read the installation wizard runs only if there is no local.xml. I do have this configuration: ls -la app/etc/local.xml -rwxrwxrwx. 1 apache apache 2317 Dec 10 12:31 app/etc/local.xml ...
0
votes
1answer
205 views

How to run installing php code?

I am using Online module creator to create a table in admin panel. I added the sql query as needed to create the table but I don't know what to write in the field Run Installing Php Code. Please see ...
2
votes
4answers
2k views

Move existing category attribute into new group

I basically want to move an existing category attribute into a newly created group in my setup file. This is the way I expected it to work: $installer = new Mage_Eav_Model_Entity_Setup('core_setup'); ...
0
votes
2answers
1k views

Can Magmi be installed outwith your site root directory?

Does Magmi have to be unzipped and installed in the root folder? Experimenting with moving all files to a sub folder for added security really. The theory behind this is it is very easy for somebody ...
3
votes
2answers
11k views

How can I resolve Foreign Key constraint 'SQLSTATE[23000]: Integrity constraint violation:

I have been trying to create a simple module to enable order comments at checkout. I know there are a number of free extensions that do this but I need to add additional functionality so decided to ...
0
votes
2answers
854 views

What is preventing an install-script to run in Magento 1.8?

I am trying to create a simple module in order to add customer comments at checkout, I know there are a few freebies on the market that already do this but I need to further extend the functionality ...
1
vote
2answers
419 views

What is the best way to install the update of an existing extension?

I got to install the update of an already existing extension (in the community code) in my project. So, I got the files gathered in a zip file. I've got files for the code, for the shell, js, skin. ...
4
votes
2answers
91 views

What is the best way to versoining in install/ upgrade scripts?

Sometimes I use any of the following mentioned names to name the install/upgrade scripts in custom modules. install-0.1.0.0.php upgrade-0.1.0.0-0.1.1.0.php upgrade-0.1.1.0-0.1.2.0.php --------------...
0
votes
1answer
97 views

Shipping and Payment Filters does not appear

I have installed Shipping and Payment Filters using Magento Connect's installer. According to last reviews the module works with 1.7.0.2 CE but it does not appear on "Promotions" > "Checkout Rules" ...
2
votes
1answer
796 views

No time zone options in install wizard

The timezone dropdown is empty and I cannot get pass locale selection in magento 1.8 install wizard. I copied all the files to hosting ... so whats the idea? btw ... this solution http://www....
13
votes
1answer
16k views

Add varchar column to order address

I am trying to add a few varchar fields to the sales/order_address table but am coming up against a column definition error. I have the following code: $oInstaller->getConnection() ->...
4
votes
1answer
392 views

Setup script can't read base_url

I need to programmatically set a config based on the Magento instances' base_url. I cannot seem to access the base_url from my install/setup script: $installer = $this; $installer->startSetup(); ...
8
votes
5answers
15k views

Reasons for Magento redirecting to an install page

I have cloned a git repository containing a magento site in the same way as I normally do when joining a project. I went through the usual process of setting up database and setting everything up on ...
1
vote
1answer
3k views

core_resource creates module_setup but install script is not called

I am trying to create an install file but Magento is not running that file, although it is putting an entry in to the core_resource table. I have deleted the row which was created and loaded the page ...
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
251 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
713 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
1k 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 ...