473,408 Members | 2,477 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

andres-montanez/magallanes in Symfony2

103 100+
I am trying to install Magellanes using composer in Symfony2 according instructions given in:
http://magephp.com/#install
https://medium.com/@jontorrado/deplo...54c#.hhrsby6wu

But after the installation and upgrade,

Expand|Select|Wrap|Line Numbers
  1. c:\Bitnami\wampstack-5.5.31-0\sym_prog1601\proj282rec>php bin/mage init --name="
  2. proj282rec" --email="g.statkute@gmail.com"
i am getting the nonsense output:

Expand|Select|Wrap|Line Numbers
  1. dir=$(d=${0%[/\\]*}; cd "$d"; cd "../vendor/andres-montanez/magallanes/bin" && p
  2. wd)
  3.  
  4. # See if we are running in Cygwin by checking for cygpath program
  5. if command -v 'cygpath' >/dev/null 2>&1; then
  6.         # Cygwin paths start with /cygdrive/ which will break windows PHP,
  7.         # so we need to translate the dir path to windows format. However
  8.         # we could be using cygwin PHP which does not require this, so we
  9.         # test if the path to PHP starts with /cygdrive/ rather than /usr/bin
  10.         if [[ $(which php) == /cygdrive/* ]]; then
  11.                 dir=$(cygpath -m $dir);
  12.         fi
  13. fi
  14.  
  15. dir=$(echo $dir | sed 's/ /\ /g')
  16. "${dir}/mage" "$@"
The same output comes after using any command like,
Expand|Select|Wrap|Line Numbers
  1. c:\Bitnami\wampstack-5.5.31-0\sym_prog1601\proj282rec>php bin/mage version
  2. c:\Bitnami\wampstack-5.5.31-0\sym_prog1601\proj282rec>php bin/mage
Jan 23 '16 #1
2 2194
Dormilich
8,658 Expert Mod 8TB
what version—according to your composer.lock—of magellanes have you installed? additionally, what’s in the file vendor/bin/mage?

the output you see is a shell script, so you would be able to call it without the php in front.
Jan 24 '16 #2
gintare
103 100+
Actually it is working, despite strange command line outputs.

Double check the directory, because in NetBeans the directories starting with dot are not displayed (unless it is set somewhere in settings).
Jan 24 '16 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Claudia Gaete | last post by:
We've a database in MSSQL. For some reason, one transaction was interrupted at network level. That corrupted our database. If we try to attach it, we get the following error. Server: message...
0
by: gintare | last post by:
The question is how to tell to doctrine:migration:diff to generate migration for certain entity (there are several entities and in my case diff recognise only the first of them "Workout", does not...
0
by: gintare | last post by:
I am following Udemy course: https://www.udemy.com/introduction-to-web-development-with-symfony2/#/lecture/933836 There is Post model with several fields: title, author, body; which inherits...
2
by: gintare | last post by:
I am following course: https://www.udemy.com/introduction-to-web-development-with-symfony2/#/lecture/933870 Lecture 38. In short, they explain how to create Blog website. There are Model and...
1
by: gintare | last post by:
I follow online course about Symfony. https://www.udemy.com/introduction-to-web-development-with-symfony2/#/lecture/934594 In lecture 79 they create service for Author: ...
2
by: gintare | last post by:
1) Symfony, where is defined the method getRepository? I have a line in the code: $posts = $this->getDoctrine()->getRepository('ModelBundle:Post)->findAll(); i do not understand in which file...
2
by: gintare | last post by:
I am following course bout Symfony2, Extending Symfony2 Web Application Framework, Chapter 1 https://www.packtpub.com/packtlib/book/General/9781783287192/1/ch01lvl1sec08/Services I can not...
2
by: gintare | last post by:
I am not able to install doctrine/migrations. The error is that php version is not supported, though it is supported. Symfony 2.8.2 Php 5.5.31 composer.json "require": { ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.