Laravel-filemanager: Issue with routes

Created on 10 Jun 2020  路  8Comments  路  Source: UniSharp/laravel-filemanager

Hi,

Cheers for the great package.

there is an issue with Routes when I am uploading my project via Ploi to my server

And provide the followings :

  • Operating system : Ubuntu
  • Laravel version : 7.9.2

    • PHP: 7.4

  • Package version : 2.0
  • Steps to reproduce your issue : I am using PLOI (Similar to Forge) to deploy my project and receive the below error each time relating to a route in this package.

  • Screenshots of browser console :

I am

Illuminate\Foundation\Console\Kernel::handle()
  21  artisan:37

      +20 vendor frames 
    206|             $route->name($name = $this->generateRouteName());
    207| 
    208|             $this->add($route);
    209|         } elseif (! is_null($symfonyRoutes->get($name))) {
  > 210|             throw new LogicException("Unable to prepare route [{$route->uri}] for serialization. Another route has already been assigned name [{$name}].");
    211|         }
    212| 
    213|         $symfonyRoutes->add($route->getName(), $route->toSymfonyRoute());
    214|
at vendor/laravel/framework/src/Illuminate/Routing/AbstractRouteCollection.php:210

  Unable to prepare route [filemanager/cropnewimage] for serialization. Another route has already been assigned name [unisharp.lfm.getCropimage].
   LogicException 

Most helpful comment

@mafftor Thank you very much sir. I have used your version and it work great. Cheers

All 8 comments

Hi, it's problem with routes' name
I've fixed it in my version of this package
visit and try https://github.com/mafftor/laravel-file-manager

@mafftor Thank you very much sir. I have used your version and it work great. Cheers

Please solve this problem with cached routes

Please solve this problem with cached routes

@mafftor Hi can you fix this problem in this package?

@mafftor Hi can you fix this problem in this package?

Hi, I already did, but not here, see my version of this project in my profile

@mafftor There is a problem and you know solution.
But you are solving in different package. Really really good solution.

For each problem, let's open a new package and solve the problem there.
Great open source contribution :)

Thank you.

@mafftor There is a problem and you know solution.

But you are solving in different package. Really really good solution.

For each problem, let's open a new package and solve the problem there.

Great open source contribution :)

Thank you.

I needed a custom solution and couldn't create a lot of requests of my "point of view" here.

I don't agree with many things in this package, that's why I had to create my own version for the client and buddies.

I've fixed not only one problem, I can't merge all of them

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sanvu88 picture sanvu88  路  3Comments

lunadiotic picture lunadiotic  路  3Comments

lukaszevo picture lukaszevo  路  4Comments

DaxtonChen picture DaxtonChen  路  4Comments

anasmorahhib picture anasmorahhib  路  5Comments