CodeLobster IDE

Free cross-platform PHP IDE (HTML, PHP, CSS, JavaScript code editor) with support Drupal, Joomla, Twig, JQuery, BackboneJS, LaravelJS, Node.js, Fhalcon, CodeIgniter, CakePHP, Laravel, Magento, MeteorJS, Phalcon, Symfony, VueJS, WordPress, Yii
It is currently Tue Dec 07, 2021 6:36 pm

All times are UTC




Post a reply
Username:
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
   

Topic review - Can't create Symfony project because error.
Author Message
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
Have found the reason.
Could you please add an option to use
Quote:
composer create-project symfony/skeleton my_project_name
instead of
Quote:
composer create-project symfony/website-skeleton my_project_name
Post Posted: Sat Aug 14, 2021 1:00 pm
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
It was me again. Forget to login. Sorry.
Post Posted: Tue Aug 03, 2021 3:47 pm
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
Laravel seem to be fine. I get an default startpage after install.

Not so by Symfony 5. If I created the project and go to the page I get an "Index of" site. If I click to "public"-folder I get an connection error. See my screenshots.

Image
Image
Post Posted: Tue Aug 03, 2021 3:46 pm
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
Thanks. It seems to work. Now I can beginn zu learn Symfony / Laravel :-)
Post Posted: Mon Aug 02, 2021 11:43 am
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
Hi.

1) We have changed composer installer on our server side.
Please, try to install Symfony or Laravel once more.

2) If it doesn't help then, please, comment backward
Code:
;extension=php_openssl.dll

and try once more.

Thanks,
Codelobster Team.
Post Posted: Mon Aug 02, 2021 6:39 am
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
Thanks. I installed XAMPP, todays version with PHP 8.0.8. Now I get error:
Quote:
Directory: C:/Users/***/AppData/Roaming/CodelobsterIDE/ Command: "C:/xampp/php/php.exe" composer-setup.php
All settings correct for using Composer
SHA384 is not supported by your openssl extension

Seems like it is to old
Quote:
The error means you are using composer of version 1.7.2or below. You have to uninstall composer and then install a composer version 1.7.3 and above.
https://stackoverflow.com/a/57807668, https://github.com/composer/composer/issues/7802
Did I something wrong again?
Post Posted: Fri Jul 30, 2021 9:49 pm
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
Hi.

Looks like You have installed a web server already in C:\Web
(but most probably it is IIS, not apache).
But it doesn't matter.
Please, restart your web server after applying these changes in php.ini file.

Regards,
Codelobster Team.
Post Posted: Fri Jul 30, 2021 1:43 pm
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
Thanks for the fast answer.
I don't have an Apache installed. I thought Codelobster will do all the needed things for me?
Post Posted: Fri Jul 30, 2021 1:33 pm
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
Hi.

Please, uncomment the following line:

Code:
;extension=php_openssl.dll

to
Code:
extension=php_openssl.dll

in your php.ini file and restart apache server.

Thanks,
Codelobster Team.
Post Posted: Fri Jul 30, 2021 12:52 pm
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
Thanks for your response:
Quote:
Creating project
Directory: C:/Users/***/AppData/Roaming/CodelobsterIDE/ Command: "C:/Web/php/php.exe" composer-setup.php
Some settings on your machine make Composer unable to work properly.
Make sure that you fix the issues listed below and run this script again:

The openssl extension is missing, which means that secure HTTPS transfers are impossible.
If possible you should enable it or recompile php with --with-openssl

I use this PHP: https://windows.php.net/download/

Do I have to install something, bevore creating a project? I think Codelobster will do all for me?
Post Posted: Fri Jul 30, 2021 12:27 pm
  Post subject:  Re: Can't create Symfony project because error.  Reply with quote
Hi.

Could You, please, send us the content of Output Window.

Thanks,
Codelobster Team.
Post Posted: Fri Jul 30, 2021 6:48 am
  Post subject:  Can't create Symfony project because error.  Reply with quote
I want to test Symfony / Laravel-Framework, but if I want to create a new project, i get error:
Quote:
Can't create Symfony project because error:
Critical error: Setup symfony error

Same with Laravel.

Any idea, what I do wrong?
Post Posted: Thu Jul 29, 2021 5:48 pm

All times are UTC


Jump to:  
cron
Powered by phpBB © 2016 phpBB Group