I have a problem with symfony configuration. I installed symfony and configure everything as in tutorials, but i can't start server in my project file, because i've got that kind of error :
'symfony' is not recognized as an internal or external command,
operable program or batch file.
I tried to reinstall whole packet and I'm still geting same result. What I need to reconfigure or change?
You must install the Symfony CLI (the symfony binary) separately from the libraries/bundles/packages.
See the Symfony CLI installation instructions for more information.
This is typically done first, so your answer makes it unclear how you may have "installed symfony". If you indeed installed the CLI, you may have to take additional steps to make it globally available depending on your platform.
Related
I have downloaded TastyIgniter from GitHub and running it in localhost (Windows with WAMP and PHP version 7.1.9). In the last step of installation, I am getting errors that "Downloaded files from server are corrupted" and "Missing vendor files". May I know what is causing these errors and how I can run it without bugs in my localhost.
Run composer update command in the root of your project.
If composer is not installed. Download it from this link official website.
it seems like they hardcoded something.
when you unzip the setup-master folder, keep it as it is and don't rename or move its content.
start your installation by calling:
yoursite/setup-master/setup.php
this worked for me.
I tried to run the installation previously by unzipping the files directly in my html folder and tried several fixes but no success.
after a successful installation you need to forward in your apache config / .htaccess file to the subfolder
In order to do so, don't forget to perform the Post-Installation steps mentioned here:
https://tastyigniter.com/docs/master/installation
I finished by aborting tastyigniter. After a successful installation and theme activation, the application worked fine then "suddenly" it throws an exception that the newsletter component can't be found. All suggested helps on the dev forum didn't help. Even after reinstalling the application it comes to the same error.
Apparently you won't come over a "professional" installation support by the developer ($$$)
Thats pretty much my experience, I tried to install in different servers and environments running into several issues, especially it seems not to be made for anything other but specific development environment. Trying to secure installation with SSL already is an issue, that is very standard but poorly documented with this project. Having an example of how configuration files nginx go! Pay or have an experienced server admin do the trial and error. Integrated update mechanism, get your staging server and help to code. It is ok, just would be more honest to mention upfront, that running that app in production environment requieres some serious server administration skills and is nothing like installing and maintaining a wordpress or any other mainstream script.
I installed Symfony2 on Windows 8.1. The files are stored under IIS in wwwroot.
Everything runs very well when I use the internal built-in PHP server. I can access the site through localhost:8000/app_dev.php.
When I try to access the site straight through localhost (localhost/test_project/web/app.php), I can get to the site, but it doesn't update with my changes even after I close the browser and completely reload the site. I have the same problem on the internal PHP server when I try localhost:8000/app.php - my changes aren't there.
Questions:
1. Why are my app and app_dev showing different content?
2. How can I set up Symfony to run on IIS and not need the internal server?
Because app.php uses cached files and you need to clear framework cache to see your changes. It is production version of your web.
php app/console cache:clear --env=prod --no-debug
localhost/test_project/web/app_dev.php
Please look at official Symfony documentation for explanation.
Wondering if anyone has any best practices for running a laravel 5 code set across multiple dev environments...
I was developing something on my Imac, pushed up to github, pulled down from my macbook and now running into all sorts of issues just to get it up and running.
remade my .env file
ran composer update to pull down dependencies
Now I am getting some: PDOException in Connector.php line 47 - error.
Dont know what is going on but would like to know if there is a best practice that maybe i am missing something?
Thanks in advance
Citti
IMHO there is no problem with your workflow. Clone repository, recreate .env file and, finally, run a composer install or a composer update to re-install all vendor files locally.
But, when I encounter a problem after configuring a new environment, the most common causes are:
wrong .env parameters
forget to checkout correct git branch (normally git will clone in master branch, so do a git checkout my-awesome-dev-branch before testing)
check if your config/database.php uses your .env parameters correctly
wrong apache configuration (like don't enabling mod_rewrite and FollowSymLinks)
wrong nginx configuration (like don't enabling pretty urls)
forget to install php5-mcrypt and enable it with php5enmod mcrypt
forget to restart webserver when changing things
I tried installing laravel.
I installed xampp then the composer.
I followed the documentation but when i'm installing laravel, i always get this:
http://i975.photobucket.com/albums/ae238/Mochi_Ongpin/help_zpsb8870025.png
Can someone please help me? I already tried several times but failed.
Your Laravel is already installed, it timed out in the very last thing it does, which is create the compiled classes files bootstrap/compiled.php. If this file is present, delete it (it's not really necessary) and try to use your Laravel installtion.
Why is it timing out? Not sure, but you can, later, try to execute the command manually:
php artisan optimize
EDIT:
You successfully installed a Laravel application, but there is at least one other variable in this process: a web server. Without it you cannot see that success message.
Being on Windows you probably will have to install Apache 2 or WAMP, then create a Virtual Host for your Laravel application and hit: http://localhost/ to see that message.
You can also try to use Laravel's internal PHP server:
php artisan serve
And in your browser go to
http://localhost:8000
I currently have Magento set up on a development server (remote, SSH access) and production server (Cloud instance, SSH access). The current set up is a subversion export to update the development/production servers. This works swell.
If I SSH into the dev server, I can navigate to the Mage root directory and run the following command:
./mage install community Namespace_Module
This works well on the dev server. However, when I navigate to my local path (on my machine, where I've svn co'd Magento), running the mage tool always chokes when a channel is involved. As an example, I tried:
./mage download community Namespace_Module
And received the following response:
Error:
download: Uri doesn't contain host part
I don't understand why this error occurs. I have looked into the mage tool's code and found that the error occurs when the channel URL is malformed. (The mage tool is basically a PHP script, and it uses parse_url to separate the channel URL into the appropriate parts for processing.) However, I am absolutely certain that the setup is identical locally, as it's all in svn, and I have tried many iterations of channels in an attempt to make it work locally.
The ultimate goal of all of this is to be able to run the ./mage tool to install modules on the local system, and commit them to svn from there. Ideally, running an svn status command should show me all the files that would be added/modified during the installation of the module.
Anyone have any ideas as to why this might be happening and how to make it run locally? Thanks!
UPDATE
For anyone wondering, the way I handled this was using the old pear command line tool, then running svn status to extract the downloaded package pieces into the way our systems are organized. It's definitely not ideal and I am still eagerly hoping to get an answer to my original question, but it's the ugly and painful workaround I'm using in the interim.
You should check whether you have all necessary php extentions installed localy.
Missing php5-curl might be the problem.
As you have gotten the code from another server, you might need to reinit things using:
./mage mage-setup
You could also try:
./mage channel-add http://connect20.magentocommerce.com/community