Thanks.I solved it.
I rename my matchForm to MatchSheet,and it work's!
I think itmay be a bug.When We have a module named A and another named AForm
,When we call A/new url it rais this error.
On Thu, Jul 30, 2009 at 7:53 PM, Eno wrote:
>
> On Thu, 30 Jul 2009, seifolah Ghaderi wrote:
>
> > Yes it
Duting my search in the code I found this line
if (!sfConfig::get('sf_compat_10') && false !== $i = array_search
('Form', $helpers))
which removes Form from helpers array if sf_compat_10 is not set ,
why ?
On Jul 31, 6:45 am, ahmed-araby <9ahm...@gmail.com> wrote:
> Hi all,
> I really want to kno
Hi all,
I really want to know what does sf_compat_10 do in the application in
specific ?
and if it affects the application performance ?
Also how to add helpers in every template in the application ?
I knew that I can add them to settings.yml but have to enable
sf_compat_10 , is there's any other
yeah - thanks :)
On Wed, Jul 29, 2009 at 3:29 PM, despai - wrote:
> bool *unlink* ( string $nombrearchivo [, resource $contexto ] )
>
>
>
>
> 2009/7/29 dagger
>
>
>> I guess it will be better if I define a template for image editing ...
>> as i also create 2 scaled versions at the time the user
Oh somehow didnt realize you are on 1.0 :)
sorry
Fabian
On Thu, Jul 30, 2009 at 11:06 PM, danielwinter wrote:
>
> I am using Symfony 1.0 in this project and the sfYaml::load() function
> definitely uses spyc/syck.
> But perhaps that is a clue - and I should use sfYaml from symfony 1.2
> and see i
I am using Symfony 1.0 in this project and the sfYaml::load() function
definitely uses spyc/syck.
But perhaps that is a clue - and I should use sfYaml from symfony 1.2
and see if sfYamlParser is faster.
thanks Fabian!
dan
--~--~-~--~~~---~--~~
You received this
Try hasCredential() instead of hasPermission() if you use $sf_user.
I think the latter only works for an sfGuardUser object, i.e. something like
$sf_user->getGuardUser()->hasPermission('bla')
2009/7/30 ShotoKan
>
> Hello...
>
> I have a trouble with the sfGuardPlugin: I need check if the user ha
your need put the DSN correct
on youur config/databases.yml
On Wed, Jul 29, 2009 at 1:10 PM, Gábor Fási wrote:
>
> Just specify the correct DSN and you should be fine. The pgsql dsn has
> a different format than the mysql one, it looks like this:
> pgsql:host=hostname;dbname=databasename;user=
On Thu, 30 Jul 2009, Bruno Reis wrote:
> but, if I do that, the config will be packed with the plugin, commited to
> svn, etc.. I need application specific code in a way I do not need to touch
> the plugin files. I found something on the end of:
> http://www.symfony-project.org/book/1_2/19-Master
On Thu, 30 Jul 2009, Bruno Reis wrote:
> Thanks Eno, but that does not shows what I am looking for. It explains the
> configurations and yaml reading process, but I need to register a custom
> handler to use in a plugin.
No, if your plugin is a module, then you can create module.yml and read it
1 - define a config_handlers.yml on the plugin config dir with something
like:
config/json_services.yml:
class:sfDefineEnvironmentConfigHandler
param:
prefix: json_services_
This will register sfDefineEnvironmentConfigHandler as the handler for the
json_services.yml files. It also def
Thanks Daniel,
but, if I do that, the config will be packed with the plugin, commited to
svn, etc.. I need application specific code in a way I do not need to touch
the plugin files. I found something on the end of:
http://www.symfony-project.org/book/1_2/19-Mastering-Symfony-s-Configuration-Files
Is this a real problem or what?
The program was great till a couple days ago and now, out of the
blue, a couple database connections have broken.
Just got a bid (from India!) of $550 to fix it
Am I being had?
Caould someone recommend a good, user friendly, symfony programmer
for a long term re
Hey Bruno,
just include a /yourplugin/config/app.yml file that contains your
settings.
This file will be included in the configuration automatically.
Daniel
On Jul 30, 10:16 am, Bruno Reis wrote:
> Thanks Eno, but that does not shows what I am looking for. It explains the
> configurations and
As far as I know, you could make your own config by defining it in
config_handler.yml in config folder.
On Jul 30, 2009 7:16 PM, "Bruno Reis" wrote:
Thanks Eno, but that does not shows what I am looking for. It explains the
configurations and yaml reading process, but I need to register a custom
Thanks Eno, but that does not shows what I am looking for. It explains the
configurations and yaml reading process, but I need to register a custom
handler to use in a plugin.
2009/7/30 Eno
>
> On Thu, 30 Jul 2009, Bruno Reis wrote:
>
> > I have a plugin that needs to be configurated with a yml
On Thu, 30 Jul 2009, seifolah Ghaderi wrote:
> Yes its empty.In both frontend and backend.If I insert some data to my
> table(in database),it show my list,but when try to edit or create new it
> rais this error:
>
> Catchable fatal error: Argument 1 passed to
> sfModelGeneratorConfiguration::fix
On Thu, 30 Jul 2009, Bruno Reis wrote:
> I have a plugin that needs to be configurated with a yml config file. How do
> I register this configuration file so that I can read the values with
> sfConfig::get?
> And what is the appropriate place to put this file? config/pluginName ?
http://www.symf
Hello everyone, I am reading the Symfony Book on the Web, specifically
Chapter 11. "Ajax Integration", and I am trying to implement some of
the examples. I am trying to use the helper remote_function(), I had
created a module "main" with two actions, "index" and "greet" at
indexSuccess.php I wrote
Hello everyone, I am reading the Symfony Book on the Web, specifically
Chapter 11. "Ajax Integration", and I am trying to implement some of
the examples. I am trying to use the helper remote_function(), I had
created a module "main" with two actions, "index" and "greet" at
indexSuccess.php I wrote
Hi,
I have a plugin that needs to be configurated with a yml config file. How do
I register this configuration file so that I can read the values with
sfConfig::get?
And what is the appropriate place to put this file? config/pluginName ?
Is there a way to auto-generate this file on plugin instalat
Hello,
Please find the line below
'common_area','url' =>
'cancel/cancel?id='.$currentdate,'script' => true,)); ?>
I have one question that I am using Ajax library of prototypejs but
datatable javascript library of Yahoo ?
Shall I use the Ajax calls of Yahoo library itself ?
Regards
Deepak
Hello...
I have a trouble with the sfGuardPlugin: I need check if the user have
the permission "X". I use $sf_user->hasPermission('X') but the plugin
returns FALSE because the user don't have this permission directly...
he have the permission through one group.
For example: the user "Paul" is in
Yes its empty.In both frontend and backend.If I insert some data to my
table(in database),it show my list,but when try to edit or create new it
rais this error:
Catchable fatal error: Argument 1 passed to
sfModelGeneratorConfiguration::fixFormFields() must be an instance of
sfForm, instance of Far
On Thu, 30 Jul 2009, seifolah ghaderi wrote:
> After I generate my module in admin side,One of My generated form is empty.
> It's name Is SampleMatch.when i go to /match/new ,it don't show any thing!!!
When you view the source of the page, is it empty?
--
--~--~-~--~~--
Well Actually I was referring to just the line of code that calls the
link_to_remote helper...
- Original Message -
From: "DEEPAK BHATIA"
To: symfony-users@googlegroups.com
Sent: Thursday, July 30, 2009 10:58:31 AM GMT +02:00 Harare / Pretoria
Subject: [symfony-users] Re: link_to_remot
Hello,
I have a problem loading fixture data for models that have NestedSet
behavior enabled.
Here's the model in question: http://pastebin.com/m48126255
Here's the data: http://pastebin.com/m4c957062
And here's the error: http://pastebin.com/m1ab769dc
I am using symfony 1.2 with doctrine 1.1 a
i fixed it,
just for others out there,
i realised that not all the tables were created in the database,
therefore had to edit the schema.yml and add all the other
tables, then did build all, cc , and data-load worked.
cheers,
carl
On Jul 30, 3:51 am, carllang wrote:
> yes i tried that now, cle
yes i tried that now, clear cache, but it still has the same error on
data-load
just by the way , when i do build all it displays this message
"
Phing was run before and used many custom classes that might conflict
with
your model classes. In case of errors try running "propel:build-
forms"
Hi.
After I generate my module in admin side,One of My generated form is empty.
It's name Is SampleMatch.when i go to /match/new ,it don't show any thing!!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"symfony u
sfYaml neither uses spyc nor syck.
If you can send me such an 1MB sample file that is slow I can run some
benchmarks against it
Fabian
On Thu, Jul 30, 2009 at 10:06 AM, danielwinter wrote:
>
> Good advice for sure, thank you. Moving data queries of of loops is
> something I do often, sometimes r
Thanks, I'll give the db session another go, and loadbalance
properly...
On Jul 29, 10:50 pm, pghoratiu wrote:
> By default sessions in PHP are stored in one of the OS dirs (on Ubuntu/
> Debian system this is /var/lib/php5) or
> you can specify explicitly where the sessions should be stored.
> I
Nope, that doesn't work either. Must be a security issue or something :
(
Ah well.
On 28 July, 13:05, Gareth McCumskey wrote:
> Instead of trying to run the symfony/propel command try running the mysql
> command to insert that sql:
>
> mysql database_name < /path/to/project/data/saql/lib.model
Hi,
Please find my link_to_remote code.
There is a tag at the bottom of the page but it's related css
and js files are in main page.
Thanks
Deepak Bhatia
On Thu, Jul 30, 2009 at 2:17 PM, Gareth McCumskey wrote:
>
> Can we see your link_to_remote code?
>
>
> - Origina
Can we see your link_to_remote code?
- Original Message -
From: "DEEPAK BHATIA"
To: symfony-users@googlegroups.com
Sent: Thursday, July 30, 2009 9:56:05 AM GMT +02:00 Harare / Pretoria
Subject: [symfony-users] link_to_remote - Ajax Call
Hi,
I am using link_to_remote Ajax call from th
W dniu 30 lipca 2009 10:18 użytkownik mirfan napisał:
>
> thanks for your comments i have also the same problem only the last
> values are saved but i its strange if symfony give embedFormForEach
> facility then there should bw a way to mangae it.
this is good question :)
> and also one more
> t
thanks for your comments i have also the same problem only the last
values are saved but i its strange if symfony give embedFormForEach
facility then there should bw a way to mangae it. and also one more
thing if i am using a loop then the loop will be limited to the
counter but in my form i have
Good advice for sure, thank you. Moving data queries of of loops is
something I do often, sometimes resulting in using a LOAD DATA INFILE
and bypassing the ORM altogether.
Unfortunately, it seems that simply calling sfYaml::load() is
consuming huge amounts of time and RAM, but I will have to diag
Hi,
I am using link_to_remote Ajax call from the main page.
The module called from link_to_remote uses external javascript
library. This external javascript library files location are put on
the main page using
.
When I click on the link_to_remote hyperlink and the module is
displayed on the m
I have only one advice for You.
Use embedForm instead of embedFormForEach.
Few days back I also tried to create dynamic form and I got nowhere
when using embedFormForEach.
Practically You should be able to use embedForm many times in a loop
and You should get the same effect.
In my case when I wa
40 matches
Mail list logo