That's not the case anymore in 1.3 and 1.4. The default autoloader in
debug mode became sfAutoloadAgain[1], which reloads the class cache if
you're trying to load a nonexistent class.
[1]
http://www.symfony-project.org/tutorial/1_4/en/whats-new#chapter_a2fae23c9403b0e9ec99806fccf6b53e_sub_sfautol
Yes, I did php app/console doctrine:generate:entity "CountryBundle"
"Country" --mapping-type="yml", and it generate basic Entity in
CountryBundle with name Sensio.CountryBundle.Entity.Country.dcm
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-pro
Hi
I have got doctrine queries that operate on multiple tables and
even
across databases.
Where should i place these? Model classes dont seem appropriate
for
it.
if I place these in library class, the code doesn't remain
structured and i will end up having a class with l
> The security listeners are only attached when the request matches the
> pattern of the firewall. So you need to use an url of the form
> /admin/logout to be in the scope of the listener. This can be done in
> the logout configuration.
Thanks!
The following logout configuration worked fine for m
Hi,
Do anyone knows anything about this license problem in stOfcPlugin?
-- Wiadomość przekazana dalej --
Od: Michał Piotrowski
Data: 23 lutego 2011 11:21
Temat: stOfcPlugin license
Do: RASHID Dawood
Hi,
I wonder why in the doc dir is a copy of GPL license?
IFAICS your work
1. download and install jQuery plugin LightBox
2. edit your template
$uploadDirName = sfConfig::get('sf_upload_dir').'/products';
$filePath = '/uploads/products'.'/'.$this->getObject()-
>getPic();;
open file
3. edit your layout.php
//jQuery onload
$("a[rel=extraPics]").lightBox();
done,
Thank you friend
I will use your idea
On Thu, Feb 24, 2011 at 6:46 PM, Vit228 <228...@gmail.com> wrote:
> 1. download and install jQuery plugin LightBox
>
> 2. edit your template
> $uploadDirName = sfConfig::get('sf_upload_dir').'/products';
> $filePath = '/uploads/products'.'/'.$this->get
Hello
I am facing strange issue since couple of days. Here is the scenario.
I do visit login page. Provide authentication details. After that I am
redirect to secure page. Now when I visit homepage by changing browser
URL (Not by link) or press back button it shows me I am not
authenticate (shows
Hello friends
I want to create dynamic folder with specific name and file must save
in that folder.
For example if user upload a file , the file must be save in
folder name as UserID.
Suppose UserID is XYZ-001 So
File must be save in Folder named as XYZ-001
Can some body give me idea to complete t
Sounds some sort of caching issue on the browser side.
Check the HTTP headers if caching is disabled for the homepage.
gabriel
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed
Hi,
i have this widget :
$this->widgetSchema['user'] = new sfWidgetFormChoice(array(
'choices' => array(),
'renderer_class' => 'sfWidgetFormJQueryAutocompleter',
'renderer_options' => array('url' => 'autocomplete', 'config' =>
'{ multiple:true }'),
));
And t
Hi all,
I'm not sure wether or not this behaviour is intended.
I'm using a custom view class to change the template and layout dirs
for some modules in my application.
Here is the source:
class cmsView extends sfPHPView
{
public function configure()
{
parent::configure();
OK, now I probably can customize template, but It seems that errors
are not handled by SF...
In devel mode:
Unable to find the controller.
404 Not Found - NotFoundHttpException
Stack trace ...
In prod mode there is browser's default message, that page was not
found or something is wrong with se
Hi, I installed Symfony on my 1and1 shared server,
I tried to learn symfony with Jobeet's tutorial but when I run " php5
symfony propel:build-all" I have this error:
Unable to parse contents of the "sqldb.map" file.
this is the content of my sqldb.map file:
#/sql/sqldb.map
# Sqlfile -> Database
Up !
This is quite blocking for me not to have the repositories.
Can please someone point me to the right direction ? I really tried
many and many configurations... Maybe I just missed the one that
works.
Thanks a lot,
On 18 fév, 00:01, Lideln wrote:
> Hi,
>
> I am trying to generate the repos
Awesome. Thanks for the usefull info.
Anybody known if is it possible to use Netbeans IDE with Symfony 2?
On 23 fev, 18:22, oscar balladares wrote:
> A few minutes ago, I found out that there is a "branch docs" for the
> official PR6 of Symfony, it is a little more
> detailed documentation, wi
Hi all,
I'm quite new to Symfony2 and I was wondering whether I should put the main
layout of an application (and its stylesheets) in the /app/ (or whatever)
directory or in a bundle?
It is not clear to me because in the sandbox they put sort of a base layout
in the /app/ directory and another on
i have modifiyed my config. i think is nearly the same to your config.
security:
encoders:
users:
class: Project\UserBundle\Entity\User
algorithm: plaintext
providers:
default:
entity: { class: UserBundle:User }
firewalls:
backend:
pattern: /.*
Le 24/02/2011 11:12, Lideln a écrit :
The container cannot be accessed from the view.
What about $view->container
Unless you achieve accessing protected properties outside the class it
does not work.
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please sen
Hi Christophe,
On 23 fév, 18:22, stof wrote:
> On Wed, 23 Feb 2011 09:08:33 -0800 (PST), Lideln wrote:
> > Hi Carlos,
>
> > Thank you for the answer !
> > This is a good idea to use options to pass the EM, I will follow your
> > advice !
>
> Using an option is the good way to give the em to the
Generally you put the main layout in the /app/ folder and more specified
layouts in bundle dirs.
See "Three-level inheritance" near the end of this page:
http://docs.symfony-reloaded.org/master/book/templating.html
--
If you want to report a vulnerability issue on symfony, please send it to
sec
I'm no expert in any way but since I have working repositories I might as
well drop a line or two on this.
Personally I have never called the doctrine:generate:repositories task. I
have created the repository files and entity files by hand so that the file
structure looks like this. I don't know i
First, I'd like to say that I think the symfony 1 dependency injection
component has completely changed the way I think about writing testable
code. It's fast, fantastic, and well documented.
I've been awaiting such documentation for the Symfony 2 DIC to appear on the
symfony-reloaded website
Hi,
I'm not an expert too, but I have managed to configure a working
custom Repository class for my entity.
My main problem was, that I have used a incorrect annotation like
this:
/**
* @orm:Entity
* @entity(repositoryClass="Laboda\LabodaAdminBundle\Entity
\WishRepository")
*/
class MyEntityNa
Le 24/02/2011 20:24, Richard Fullmer a écrit :
First, I'd like to say that I think the symfony 1 dependency injection
component has completely changed the way I think about writing
testable code. It's fast, fantastic, and well documented.
I've been awaiting such documentation for the Symfony
If you mean running s2 commands from Netbeans, the answer is no.
Although Netbeans has support for PHP 5.3; it will parse namespaces and load
packages in the autocomplete pop up list.
You only need to create a new project with existing source, and set the PHP
5.3 version. [?]
2011/2/24 Joel
>
Hi everybody. Have a nice day.
Im following the Form guide from
http://docs.symfony-reloaded.org/master/guides/forms/overview.html
I have an entity named ContctRequest like this:
namespace ...;
class ContactRequest {
.../*some attributes..
/**
* @validation:AssertType("boolean")
*/
Hi Chris
A couple of us are coming down from Scotland, getting there late
afternoon on the 2nd. Staying at the Holiday Inn at Porte d'Italie,
it's pretty close to the venue, next to a motorway admittedly, but at
about £58 per night on lastminute just now it isn't too bad for Paris!
I imagine mos
sfDoctrineGuardPlugin is the most popular plugin ( it's written here:
http://www.symfony-project.org/plugins/ ) but it seems not under
development from one year and there are some bugs with simple patch
not fixed:
http://trac.symfony-project.org/ticket/9494
http://trac.symfony-project.org/ticket/8
Another thing to consider, is to put CSS and related stuff under
yourApp/web/ dir unless you want to build a selfish (plugin like) bundle;
in that case you can put your main Layout and css stuff in the Bundle's dir.
2011/2/24 taidehuone
> Generally you put the main layout in the /app/ folder and
I m suggesting you to use sfMultipleAjaxUploadGalleryPlugin for ur images
management... it is easy to install n use n modify...All the best...
Here the link is,,,
http://www.symfony-project.org/plugins/sfMultipleAjaxUploadGalleryPlugin
--
If you want to report a vulnerability issue on symfony, pl
I'm considering using Symfony 2 over Symfony 1, and based on the
documentation for Symfony 2, it seems that the notion of multiple apps
has been removed? If so, this will be a major factor to why I'll stick
with Symfony 1.
The reason why I use multiple apps is because I have two separate
websites
How would I replicate in Symfony 2, what Symfony 1 provided in default
routing?
default:
url: /:module/:action/*
I know that with the way Symfony 2 works, I would have to specify the
'default' bundle to look into for the controller to use and view to
execute
--
If you want to report a vulnera
Hello,
I am new on Symfony. I am practising the jobeet project.
I tried looking for a solution on the net but I didn't found my case :
This is the content of the file database.yml
all:
doctrine:
class: sfDoctrineDatabase
param:
dsn: 'mysql:host=localhost;dbname=jobeet'
username: root
password: mYsE
In your command line, if you type
php symfony
You will see a list of commands available and a short description of what
those commands do.
There you can see that doctrine:build-schema "Creates a schema from an
existing database"
If you are trying to create the database from a schema file, then
d
Hello Gabriel,
Thanks for response.
I do not face same issue with other site but for this only. so I
believe this issue relate to symfony 1.4.
Anyone had face same issue?
On Feb 24, 7:42 pm, Gabriel Petchesi wrote:
> Sounds some sort of caching issue on the browser side.
> Check the HTTP head
36 matches
Mail list logo