473,549 Members | 2,741 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

andres-montanez/magallanes in Symfony2

103 New Member
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 2202
Dormilich
8,658 Recognized Expert Moderator Expert
what version—accordi ng to your composer.lock—o f 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 New Member
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
2803
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 3624, level 20, state 1, line 1 Location: page.cpp:2412 Expression: m_slots .offset == 0 SPID: 51 Process ID: 944
0
1986
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 recognise "Author" and "Post")? Maybe i should use some other command than "doctrine:migration:diff" ? Windows 7, Bitnami WAMP Stack 5.4.38-0...
0
1267
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 from Timestampable model with field: createdAt. When i try to display Post model in template, the Author and post are displayed, but field "createdAt"...
2
2418
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 Core bundles. There are Author and Post entities in Model bundle (Author and Post controllers in Core bundle). I have successfully created slug...
1
1198
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: myproject\src\Blog\CoreBundle\Controller\AuthorController.php class AuthorController extends Controller { public function showAction($slug)
2
2382
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 is coded method: getRepository('ModelBundle:Post). 2) Symfony, where is defined the method container->get('doctrine')? 3) It is not clear where...
2
1223
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 understand how is implemented line: $boundaries = $this->get('user_locator')->getUserGeoBoundaries(); Where is defined 'user_locator', where is defined...
2
2011
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": { "php": ">=5.3.9",
0
7450
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7720
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7470
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7809
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5368
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1941
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1059
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.