-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a list of instructions how to switch from symfony 1.4.20 to FriendsOfSymfony1 #244
Comments
In the meantime found some information in the composer.json file. Could you please explain on how to get started with composer on an existing symfony 1.4.20 project? |
Hello @klemens-u I am going to answer all usual question that have the answer on the hand.
https://packagist.org/packages/friendsofsymfony1/doctrine1
Not so much, but it depends on what features your project use.
It is installed on its latest version by composer (you saw the |
Hi guys Thanks a lot ! I am still maintaining a symfony 1.x app. After updating all the files I added the following to mailer:
class: sfNoMailer I cleared cache with However my app is still trying to load SwiftMailer , I see this when I refresh the page:
Is that normal? Is sfNoMailer just disabling the initialization but it still requires the file? I was hoping to maybe just completely remove that folder as I don't use any of this features. |
Hello @fabd
After looking for #17 I found that following. symfony1/lib/config/sfFactoryConfigHandler.class.php Lines 223 to 227 in 1c64cbd
So I can answer: Solution 1A workaround is to define an empty class Solution 2You are welcome to contribute with a PR. cc @damienalexandre what do you think about this issue? |
I agree, SF1 require SwiftMailer classes, and sfNoMailer was only a workaround for performance (classes are loaded but not called / initialized). So you will have to keep the code even if you don't use it, or patch the ConfigHandler 👍 |
Thank you both 👍 I created an empty class in my appConfiguration.class.php file, just |
Hi everybody, and thanks for your effort to maintain symfony1.
Up until now I only cherry picked files from this repository e.g. for PHP version updates.
I now tried to switch over completely and had a few issues.
Could you please provide some information on the steps necessary to get started with 1.5.14?
Obviously some libs have been extracted.
Which Doctrine repo do you recommend?
Which Propel repo and version do you recommend?
Which Swiftmailer repo and version do you recommend? Here I noticed, that the version included in 1.4.20 does not work out of the box.
Any other repo's needed?
There were some BC changes. What changes are usually necessary to account for them?
Thank you!
The text was updated successfully, but these errors were encountered: