whiteoctober / WhiteOctoberAdminBundle

A different take on an AdminBundle for Symfony2
MIT License
79 stars 14 forks source link

Is this code is working? #37

Open razeta opened 13 years ago

razeta commented 13 years ago

I am trying to install the bundle but I cant make this lines to work.

Is this still valid? app/config\routing.yml:

_white_october_admin: resource: . type: white_october_admin

white_october_admin: resource: "@WhiteOctoberAdminBundle/Resources/config/routing/admin.xml"

Get error:

Cannot import resource "C:\wamp\www\application\app/config." from "C:\wamp\www\application\app/config\routing.yml". 500 Internal Server Error - FileLoaderLoadException 1 linked Exception:

RuntimeException »

Cheers

razeta commented 13 years ago

Is this bundle still supported?

richsage commented 13 years ago

I'm using the code you've posted:

_white_october_admin:
    resource: .
    type: white_october_admin

white_october_admin:
    resource: "@WhiteOctoberAdminBundle/Resources/config/routing/admin.xml"

and this works fine for me. Can you post any more detailed exception reports?

yveson33 commented 13 years ago

I have same issue.

Get error: Cannot import resource "/home/application/app/config/."
from "/home/application/app/config/routing.yml". 500 Internal Server Error

how do you fix it. thx.

razeta commented 13 years ago

I could not fix it, so I used sonata bundle intead.

:(

leek commented 13 years ago

You still haven't posted the actual exception error.