I am having my current website running on Magento 1.6. I am looking to upgrade it to 1.9 but don't know how to start. I went through the below articles but was not able to move ahead.
http://www.customerparadigm.com/magento-development/upgrade/how-to-upgrade-magento/
http://www.crucialwebhost.com/kb/installing-magento-via-ssh/
Can anyone please help me from ground level. I need to know it from scratch. I wanted to replace the below code but was not able to locate the file in my database. I am currently using filezilla to access my server file. My database is maintained by a different company called nexcess.
wget http://www.magentocommerce.com/index.php/getmagento/1.9.1.0/magento-1.9.1.0.tar.gz
wget http://www.magentocommerce.com/downloads/assets/1.9.0.0/magento-sample-data-1.9.0.0.tar.gz
tar xvf magento-1.9.1.0.tar.gz
tar xvf magento-sample-data-1.9.0.0.tar.gz
mv magento-sample-data-1.9.0.0/media/* magento/media/
mv magento-sample-data-1.9.0.0/magento_sample_data_for_1.9.0.0.sql magento/data.sql
mv magento/* magento/.htaccess .
mysql -h DBHOST -u DBUSER -pDBPASS DBNAME < data.sql
rm -rf *.sample magento/ magento-sample-data-1.9.0.0/
rm -rf magento-1.9.1.0.tar.gz magento-sample-data-1.9.0.0.tar.gz data.sql
Please help me how to go through with it
Upgrade Roadmap for CE 1.9.0.1 from 1.6
1) take a backup of current database and current 1.6 code.
2) download latest magento from the http://www.magentocommerce.com/download
3) remove all folders and files from your 1.6 code (but you should have backup somewhere) and place all folders and files from the 1.9.
4) now from your 1.6 merge your following folders into the 1.9
- Community app/code/community
- Local app/code/local
- Media
- your theme or package (app/design/frontend/default/<ur theme> or app/design/frontend/<your package>)
- custom folders from Skin (both for adminhtml and frontend).
- copy your custom xml files from app/etc/modules/ to current app/etc/modules/
- any custom admin theme folder from adminhtml/default/yourtheme.
- copy your custom folders from adminhtml/default/default/ (1.6) to adminhtml/default/default/ (1.9).
- custom js files if any from app/js/.
5) now go to app/etc/local.xml.Edit database details their.put your database username and password and database name.
6) now check the site.it done.`enter code here`
P.S. for more information check my answer on http://magento-online-tutorials.blogspot.in/2015/06/magento-upgrade-from-17-to-19.html
Any template you are using will need to be upgraded to use formkeys, otherwise your add to cart, registration, etc. will fail mightily.
Time to fire up a dev or staging server so you don't break your source of income.
Use The Below terminal commands
chmod 550 mage
./mage mage-setup .
./mage config-set preferred_state stable
./mage sync
./mage install http://connect20.magentocommerce.com/community Mage_All_Latest --force
php shell/indexer.php reindexall
rm -rf downloader/.cache/ var/cache/
Easy you can upgrade with magento Connect.
Choose : Mage_All_Latest then click upgrade. It will automatic upgrade to latest version magento.
Have you tried using Magento Connect (System > Magento Connect > Magento Connect Manager if you've never used it before) to do the upgrade? I just did it from 1.6.2 to 1.9 two weeks ago, and it went just fine for me. Very simple, didn't require any SSH.
Related
So today I was installing Drush via Composer. it was completely installed according to terminal but in /usr/local/bin there is no Drush folder.
I tried before and then I tried with Composer as well, but since that failed I tried via Homebrew but since I work with MAMP, it only gave 2 options (cancel and drush) and yea then I uninstalled that and tried again with composer even did a fresh install.
I did the "composer global show -P" command and It's in /users/mymacname/.composer then it outputs a giant list like:
composer-plugin-api 1.1.0 The Composer Plugin API
so when I go to that location, there is a .composer folder,
when I go in that folder - vendor - bin - there are:
drush
drush.complete.sh
drush.launcher
drush.php
php-parse
psysh
thats all there is and when I type drush, or drush status it gives "-bash: drush: command not found
How can I solve this?
Greetings Ditger
I think you missed the step where you have to add the export to your .bash_profile
export PATH=$PATH:/Users/[username]/drush
this is of course specific to my install, you will have to find where your drush is installed and appropriately add the export path
I've installed the latest Sylius-Standard (based on Sylius 1.0#dev) and followed the quick tutorial. Everything is working fine except the admin panel, where CSS and JS return 500 when accessed in dev mode (via app_dev.php).
I can see that they are fetched from a path that does not include app_dev.php. For instance, app.js is fetched from http://my.local.domain/assets/admin/js/app.js, which returns a 500 because it tries to access the prod database that is not setup.
There should be no need to create the prod database or install prod assets to access the admin panel in dev mode — what am I doing wrong?
Sylius use a gulp library to manage css and js. The following command should fix your problem:
$ npm install
$ npm run gulp
Edit
After a few years, this is the proper answer: https://stackoverflow.com/a/59135635/4243630
In order to see a fully functional frontend you will need to install its assets.
Sylius uses Gulp to build frontend assets using Yarn as a JavaScript package manager.
Having Yarn installed, go to your project directory to install the dependencies:
$ yarn install
//Then build the frontend assets by running:
$ yarn build
We are on Sylius 1.2.x, we followed the official documentation
This sorted out that problem for us.
If you are on 1.x this is the link to the documentation
This should solve your problem.
I recently created an ubuntu virtual server(EC2) on Amazon Web Services, then installed wordpress through console apt-get install wordpress , before that I installed, apache, php and mysql. The website is running, but the problem is that I can't install wordpress themes, I get this message:
Downloading install package from https://downloads.wordpress.org/theme/twentysixteen.1.1.zip…
Unpacking the package…
Could not create directory.
I already give the right permissions to these folders :
usr/share/wordpress/wp-content,
usr/share/wordpress/wp-content/themes,
usr/share/wordpress/wp-content/plugins,
usr/share/wordpress/wp-content/languages
And added this line:
define('FS_METHOD','direct');
to usr/share/wordpress/wp-config.php
at the end.
I don't know what else to do.
Thank you.
I recently figure out how to fix it, I edited this file:
/etc/wordpress/config-mydomain.com.php
And found this line:
define('WP-CONTENT-DIR','srv/www/wp-content/localhost');
This must be replaced by:
define('WP-CONTENT-DIR','var/www/html/wordpress/wp-content');
This often happen when you use this file to create your database and setup your files in ubuntu: usr/share/doc/wordpress/examples/setup-mysql
And then you can install themes without problems, but you must give aproppiate permissions to the folders wp-content, themes, etc. after fix this!!
You could try defining the content directory
define('WP_CONTENT_DIR', '/var/www/wordpress/wp-content');
When I try to upgrade TYPO3 version from installtool, I get the following exception.
Automatic TYPO3 CMS core update not possible: Folder structure has errors or warnings
To perform an update, the folder structure of this TYPO3 CMS instance must stick to the conventions, or the update process could lead to unexpected results and may be hazardous to your system
Does anyone have an answer?
If you have upgrade your typo3 version then follow this points.
upgrade typo3 version using instal tool. must required symlink in your typo3 installation otherwise upgrade typo3 version using instal tool not working and get following exception.
follow below symlink structure
unzip typo3_src-7.6.x.zip
ln -s typo3_src-7.6.x typo3_src
ln -s typo3_src/index.php index.php
ln -s typo3_src/typo3 typo3
ln -s typo3_src/vendor vendor
cp typo3_src/_.htaccess ./
Also installation folder structure is writable permission on your server.
If you see this message you should go into the Install Tool's Folder Structure and try to solve the problems that are mentioned there. You should see a red circle with a number already next to the text "Folder structure". Like on this image:
(source: https://jweiland.net/typo3/codebeispiele/konfiguration/install-tool-warnungen-bei-folder-structure.html)
I am facing a redirect 404 issue while installing Magento 2.
here are the steps i followed
1 - git clone this repo
2 - composer install in the root of the project
3 - composer install in the setup folder
4 - Enabled php_intl extension
5 - Created a virtual host magento2dev.com
Now when in browser, i run http://magento2dev.com This redirects me to 404 http://magento2dev.com/setup/en_US/index
Nothing is displayed in log ...
Using version alpha95, and now tried alpha96 But same problem.
any suggestions ???
Please install composer under root/home directory and then copy the composer.phar to user/local/bin directory so that it can be accessible from everywhere (assuming you have Ubuntu or Linux).
Right now, due to the unstable web interface of the installer, it is recommended to use CLI instead.
Here is a described sample installation.
Installing Magento 2 has always been an issue for me too. But it seems like using Docker is one of the best solution in my case. I ran a container which has a pre-built Magento 2 with all its system requirements.
We have lots of different docker images for Magento 2, try it out.
Sample Repo:
https://registry.hub.docker.com/u/ilampirai/docker-magento2/