How to install mongoDB on Bitnami WAMP (windows) for using with symfony 3 ?
Windows 10, x64.
php PHP 5.6.20 (cli) (built: Mar 31 2016 14:56:44).
I have tried mongodb releases from 1.1.1 to 1.1.8
from http://pecl.php.net/package/mongodb
I managed to download and install mongodb on windows. But i am not able to use it with WAMP and symfony.
1) WINDOWS installation...
User Profile
Collapse
-
gintare started a topic How to install mongoDB on Bitnami WAMP (windows) for using with symfony 3 ? Windowsin PHPHow to install mongoDB on Bitnami WAMP (windows) for using with symfony 3 ? Windows
-
Finally, managed to get url in order to extract controller and method parameters using example from to get url for subsequent analysis in order to extract controller and method paramters using example from
http://code.tutsplus.com/tutorials/u...urls--net-6049
1) In C:\Bitnami\wamp stack-5.6.20-0\apache2\htdoc s\www\Plan2own\ public\.htacces s
change RewriteRule ^(.+)$ index.php?url=$ 1 [QSA,L] to... -
How to get controller and methods from $_REQUEST['url] ?
I need to get url from REQUEST. Below is the example of index.php where i try to print request,post and get - all of them are empty.
I have tried this on my computer with Bitnami WAMP and in remote server (Arvixe). Because it does not work on the remote server, maybe the reason is in .htaccess? Where else could be the reason that REQUEST['url'] is not working?
C:\Bitnami\wamp stack-5.6.20-0\apache2\htdoc s\www\Plan2own\ public\index.ph p... -
Deploying Symfony2 application, working example
I am not able to deploy the project to the Server with Magellanes.
I am getting output:
Full error message looks like this:Code:"Not found required config C:\Bitnami\wampstack-5.6.17-0\sym_prog/ .mage/config/environment/production.yml for environment production "
...Code:C:\Program Files\Git>cd c:\bit*\wamp*\sym_prog c:\Bitnami\wampstack-5.6.17-0\sym_prog>mage deploy to:production
-
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).Leave a comment:
-
andres-montanez/magallanes in Symfony2
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,
...Code:c:\Bitnami\wampstack-5.5.31-0\sym_prog1601\proj282rec>php bin/mage init --name=" proj282rec" --email="g.statkute@gmail.com&q
-
Seems a solution can be to use flag --ignore-platform-reqs
composer update --ignore-platform-reqs
But if somebody knows how to remove the real reason of the error, could you please let me to know.Leave a comment:
-
gintare started a topic Symfony2, doctrine/migrations installation complains about php version, correctin PHPSymfony2, doctrine/migrations installation complains about php version, correct
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
...Code:"require": { "php": ">=5.3.9", "symfony/symfony": "2.8.*", "doctrine/orm": "^2.4.8", "doctrine/doctrine-bundle": -
ANSWER!
$this->get('user_loca tor') means that i am getting service named 'user-locator' using method get, which is defined in every class, which extends from.Code:Symfony\Bundle\FrameworkBundle\Controller\Controller
sym_prog\ExtSym 2\app\config\se rvices.yml
...Code:services: ... user_locator: class: Khepin\BookBundle\Geo\UserLocator scope: request arguments: [@geocoder,Leave a comment:
-
I am sorry, i have found the method getUserGeoBound aries(); in
\src\Khepin\Boo kBundle\Geo\Use rLocator.php
but it is not clear for me how we can access it from \src\Khepin\Boo kBundle\Control ler\DefaultCont roller.phpLeave a comment:
-
How to understand $this->get('user_locator')->getUserGeoBoundaries();
I am following course bout Symfony2, Extending Symfony2 Web Application Framework, Chapter 1
https://www.packtpub.com/packtlib/bo...sec08/Services
I can not understand how is implemented line:
Where is defined 'user_locator', where is defined method getUserGeoBound aries() ?Code:$boundaries = $this->get('user_locator')->getUserGeoBoundaries();
C:\Bitnami\wamp stack-5.5.30-0\sym_prog\ExtS ym2\src\Khepin\ BookBundle\Cont roller\DefaultC ontroller.php... -
How to pass array as parameter to controller action?
How to pass array as parameter to controller action using Symfony 2? Could you please write an example how to define route, which contains unknown length array as a parameter. For instance url: http://localhost:8000/blog/post/?tags=[tag1,tag2,tag3] where number of tags varies from 0 to 100.
Also example controller for this route, where action returns values of tags array. -
The solution was to reinstall phpspecs in Windows.
In the command line change working path to the folder "C:\Users\Ginta re\AppData\Roam ing\Composer". Your user will be not Gintare, but some other name.
Add a line describing the latest phpspec version to "C:\Users\Ginta re\AppData\Roam ing\Composer]composer.json"...Code:c:\Bitnami\wampstack-5.5.30-0\apache2\htdocs\lar_prog\comp>cd C:\Users\Gintare\AppData\Roaming\Composer
Leave a comment:
-
phpspecs is not working from command line, Windows
O have tried somple Laravel project.
phpspecs is not working.
It is installed on:
C:\Users\Gintar e\AppData\Roami ng\Composer\ven dor\phpspec
But there is no phpspec file in:
C:\Users\Gintar e\AppData\Roami ng\Composer\ven dor\bin
It is also installed to my project:
C:\Bitnami\wamp stack-5.5.30-0\apache2\htdoc s\lar_prog\comp \vendor\phpspec
there is phpspec file in:... -
The reason was the space. There should not be spaces in PATH variables line.
Correct:
C:\Users\Gintar e\AppData\Roami ng\Composer\ven dor\bin;C:\Bitn ami\wampstack-5.5.30-0\php;
Wrong:
C:\Users\Gintar e\AppData\Roami ng\Composer\ven dor\bin; C:\Bitnami\wamp stack-5.5.30-0\php;Leave a comment:
-
php , path
I do not understand why path variable is not working for me.
I have reinstalled Bitnami.
I have deleted the previous path variable, and added a new path:
c:\python33;c:\ python33\Lib\si te-packages;c:\pyt hon33\scripts;c :\users\gintare \appdata\local\ enthought\canop y\user;c:\users \gintare\appdat a\local\enthoug ht\canopy\user\ scripts;c:\user s\gintare\appda ta\roaming\npm; c:\program files\nodejs;C: \Users\Gintare\ AppData\Roaming \Composer\vendo r\bin;... -
Still, could you please comment, why CMS files may stop working, and recover by themselves after some time. Thank you a lot.Leave a comment:
-
It started working without a reason. Do not know why, but it was not working yesterday.Leave a comment:
-
Php, recurrent function is not working
I am looking through the book:
"CMS Design Using PHP and jQuery",
https://www.packtpub.com/web-develop...php-and-jquery
On chapter three they give simple CMS example, but it is not working.
When i copied the code to the index.php, it worked. But when i used it from CMS - it did not. It is a simple code, which has to generate hyperlinks to the array items.
The script below should read database... -
I am sorry, seems i was too tired to notice text. The reply is
that there is a line in the last file "cms2\ww.admin\ admin_libs.php" which loads form and captcha:
Code:require SCRIPTBASE.'ww.admin/login/login.php';
Leave a comment:
No activity results to display
Show More
Leave a comment: