I am currently facing an issue with the routing of my deployed silex app. I have successfully deployed the application using OpenShift and you can check it out here. However, whenever I try to access any page other than the home page, I encounter a 404 err ...
Currently, I am creating an app using Silex and following the documentation with some additional features. I have set up the route, added middleware for the route, and included finish middleware for the app. $app->put('/request/', function (Request $re ...
When I decided to build my new website, I opted to experiment with the Silex framework. Familiarizing myself with its documentation helped me progress smoothly thus far. Currently, I am developing a voting system and intend to incorporate dynamic function ...
I came across this solution but unfortunately, I couldn't get it to work... Here is my code, along with what I've tried and the results I'm getting: My Code 1/ My Security Provider : $app->register(new Silex\Provider\Session ...
Having recently subscribed, I have come to seek assistance on a platform where I have previously found many solutions to my issues. I have completed a course on Openclassrooms (Transitioning to a Professional PHP Architecture) which has equipped me with t ...
After encountering random crashes with socket errors while using the abandoned herrera-io/silex-pdo PDO provider in my Silex project, I switched to csanquer/pdo-service-provider. Everything worked perfectly on my localhost server, but upon deployment to a ...
After being inactive for two hours, the system logs me out automatically. However, whenever I refresh the page, an error message appears stating that Silex cannot find the attribute displayName on a null attribute. The layout view contains: {{ app.user.dis ...
Trying to streamline my Silex code, I am working on removing the $app parameter from my controller actions and only passing in the necessary dependencies. Typically, my controllers rely on these common dependencies: Template engine Session provider Tran ...
I've been attempting to integrate Doctrine ORM with Silex, but I'm encountering a frustrating challenge due to the inconsistent documentation provided. Upon running vendor/bin/doctrine in the console, the following message is displayed: output: ...
Currently, I am in the process of creating a ServiceProvider build for the Silex framework and have some queries regarding how to structure my code effectively, including design patterns. Here is an overview of what I have accomplished so far: /Package ...