Comments (7)
@altrano can you try to update your blog-generator.yml and set params section like that :
generator: admingenerator.generator.propel
params:
model: AltraOne\Bundle\BlogBundle\Model\Blog
namespace_prefix: AltraOne
subfolder: Bundle
bundle_name: BlogBundle
fields: ~
And of course clear your cache
from admingeneratorgeneratorbundle.
Unfortunately, there is now a new problem.
Fatal error: Class 'AltraOne\BlogBundle\Form\Type\Post\FiltersType' not found in /home/altrano/Projekte/AltraOne/app/cache/dev/Admingenerated/AltraOneBlogBundle/BasePostController/ListController.php on line 227 Call Stack: 0.0002 634808 1. {main}() /home/altrano/Projekte/AltraOne/web/app_dev.php:0 0.0115 2043216 2. Symfony\Component\HttpKernel\Kernel->handle() /home/altrano/Projekte/AltraOne/web/app_dev.php:24 0.0303 2767384 3. Symfony\Bundle\FrameworkBundle\HttpKernel->handle() /home/altrano/Projekte/AltraOne/app/bootstrap.php.cache:547 0.0304 2769104 4. Symfony\Component\HttpKernel\HttpKernel->handle() /home/altrano/Projekte/AltraOne/app/cache/dev/classes.php:4830 0.0304 2769104 5. Symfony\Component\HttpKernel\HttpKernel->handleRaw() /home/altrano/Projekte/AltraOne/app/cache/dev/classes.php:3853 0.3011 11673640 6. call_user_func_array() /home/altrano/Projekte/AltraOne/app/cache/dev/classes.php:3883 0.3011 11674008 7. Admingenerated\AltraOneBlogBundle\BasePostController\ListController->indexAction() /home/altrano/Projekte/AltraOne/app/cache/dev/classes.php:0 0.3011 11674008 8. Admingenerated\AltraOneBlogBundle\BasePostController\ListController->getFilterForm() /home/altrano/Projekte/AltraOne/app/cache/dev/Admingenerated/AltraOneBlogBundle/BasePostController/ListController.php:3
from admingeneratorgeneratorbundle.
You should have use 'AltraOne\Bundle\BlogBundle\Form\Type\Post\FiltersType'
and not use 'AltraOne\BlogBundle\Form\Type\Post\FiltersType'
in ListController cedriclombardot@0578907#L9R7
Are you sure to have clear your cache ?? Try a rm -rf app/cache/*
from admingeneratorgeneratorbundle.
i try rm -rf app/cache/* but the result is still the same. i try to fix the namespace manually in Admingenerated/AltraOneBlogBundle/BasePostController/ListController.php and then i become this:
Warning: file_put_contents(/home/altrano/Projekte/AltraOne/app/cache/dev/Admingenerated/AltraOneBlogBundle/BasePostController/ListController.php): failed to open stream: Permission denied in /home/altrano/Projekte/AltraOne/vendor/twig-generator/src/TwigGenerator/Builder/BaseBuilder.php line 251
the cache is generated wrong but why??
from admingeneratorgeneratorbundle.
Ok is fixed it was my error i forgot to set the subfolder.... :-) thanks
from admingeneratorgeneratorbundle.
Changing manually the namespace in dev have no importance, we try to
overwrite each time.
Is your apache user equal to your applicative user ? Else if try by
chmoding the cache chmod 777 -R /home/altrano/Projekte/AltraOne/app/cache/
. Seems to be a classic
symfony2 problem
Cdric
2011/11/20 AltranoLabs <
[email protected]
i try rm -rf app/cache/* but the result is still the same. i try to fix
the namespace manually in
Admingenerated/AltraOneBlogBundle/BasePostController/ListController.php and
then i become this:Warning:
file_put_contents(/home/altrano/Projekte/AltraOne/app/cache/dev/Admingenerated/AltraOneBlogBundle/BasePostController/ListController.php):
failed to open stream: Permission denied in
/home/altrano/Projekte/AltraOne/vendor/twig-generator/src/TwigGenerator/Builder/BaseBuilder.php
line 251the cache is generated wrong but why??
Reply to this email directly or view it on GitHub:
https://github.com/cedriclombardot/AdmingeneratorGeneratorBundle/issues/46#issuecomment-2805811
from admingeneratorgeneratorbundle.
Ok is fixed it was my error i forgot to set the subfolder.... :-) thanks => ok great could we close this issue ?
from admingeneratorgeneratorbundle.
Related Issues (20)
- afe_single_upload riquiered issue HOT 6
- Doctrine ORM Manager named "default" does not exist. HOT 8
- Hardcoded id in getFilterForm HOT 2
- Excel export. Wont Work HOT 3
- Extend ExcelController from the user project ListController HOT 8
- Problem after upgrade to Symfony 2.6 HOT 1
- Problem Multi upload with single upload HOT 4
- ContextErrorException HOT 3
- GenerateAdminCommand compatible with SensioGeneratorBundle HOT 2
- updateRouting definition error with symfony 2.6 HOT 4
- Conflict with avocode/form-extensions-bundle HOT 6
- ListController::isCsrfTokenValid() changed and need 2 arguments HOT 1
- Init new tag v1.0.3 and v1.1.4 HOT 4
- Add uglifyjs and uglifycss support HOT 3
- Filters HOT 1
- Cumplidos sus requerimientos, NO logro descargar via composer...please check ! I very interesting!
- ser
- Global stopOnFail(true) should be overrideable with local stopOnFail HOT 2
- updateRouting() should be compatible HOT 1
- ODM is no longer supported HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from admingeneratorgeneratorbundle.