Replies: 10 comments 18 replies
-
You should not be creating new projects in symfony1. This project exists to provide support for existing applications which are still using symfony1, but new applications should be created in Symfony7 with Doctrine ORM 2 or 3. |
Beta Was this translation helpful? Give feedback.
-
I think it's a translation error. He wants to make an existing system work. But correct me if I'm wrong. |
Beta Was this translation helpful? Give feedback.
-
@DBA-Z21A If you have an existing system, I think it's easier to update it than to build a completely new skeleton. |
Beta Was this translation helpful? Give feedback.
-
OK I see, he's trying to port the sf1.1+propel project to use fos1 (i.e. sf1.6), and doing so by trying to create a new project, installing propel, and then copying over the code. I agree with your second comment - he should be updating sf1 in the original project from 1.1 to 1.6 rather than trying to create a new project. I don't know how propel is typically installed, but the symfony pear channels have been down for years, so installing from pear isn't going to work. |
Beta Was this translation helpful? Give feedback.
-
Thank you @connorhu, @mkopinsky.
Thank you for your valuable information. |
Beta Was this translation helpful? Give feedback.
-
@DBA-Z21A There are update instructions in the wiki. It's pretty basic, but it contains important informations. If this is done and you have done the parts of the wiki description that are relevant to you, you should be ahead. |
Beta Was this translation helpful? Give feedback.
-
thank you! Model creation commands such as "symfony propel:build-model" do not work yet, but I will research how to use them a little more. Thank you for letting me know that there is a problem with Propel Plugin+PHP8. Thank you very much for your appropriate and prompt assistance. |
Beta Was this translation helpful? Give feedback.
-
@DBA-Z21A I will convert this issue to discussion. Feel free to ask if you stuck somewhere. |
Beta Was this translation helpful? Give feedback.
-
Thank you for yesterday! After searching some websites and installing sfPropelORMPlugin via Composer, I tried modifying "config/ProjectConfiguration.class.php" as below.
However, the following error occurs. index.php php symfony cc Is this an error related to PHP8 that I received advice about yesterday? |
Beta Was this translation helpful? Give feedback.
-
Thank you to everyone who gave me advice!
It's a shame that it doesn't work with PHP8, but I'm still happy that it gave me a few years' grace. |
Beta Was this translation helpful? Give feedback.
-
This text was created using automatic translation.
Please forgive me if there are any grammatical errors.
I'm very happy that a project like this exists.
A big thank you to everyone involved in the project.
I would like to have a system written in Symfony 1.1, currently running on centOS7, run on PHP 8.0.3.
That system uses Propel for the ORM, so I created a new FriendsOfSymfony1 project as shown below and tried to install the Propel plugin, but it didn't work.
php vendor/friendsofsymfony1/symfony1/data/bin/symfony generate:project SymfonyTestProject --orm=none
(New project generation completed successfully)
vendor/bin/symfony plugin:install sfPropelORMPlugin
Unable to register channel "pear.symfony-project.com" (use --force-license to force installation)
vendor/bin/symfony plugin:install sfPropelORMPlugin --force-license
Unable to register channel "pear.symfony-project.com"
What should I do to create a new project using Propel?
Any advice would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions