Make sure the XML you have is well formed. If there is an error in the
XML the translations will not be interpreted.
You can check the XML with:
1. Editor that has support for XML checking - Netbeans, Eclipse
2. Open the messages.xml in in Firefox/IE
AFAIK this XML is not well formed:
Inicio
H
What do you mean by generate the data model?
Check if the access rights are correctly set up for the cache/
directory.
gabriel
On Dec 2, 12:03 pm, dianacastillo wrote:
> I have symfony installed in windows and it works fine when I go
> herehttp://localhost:8080//frontend_dev.php/
> I genera
I think that the sfSuperCache plugin was doing this at one time during
Symfony 1.0, I'm not aware of any plugins doing this for Symfony 1.4
Check here: http://www.symfony-project.org/plugins/sfSuperCachePlugin
gabriel
On Nov 29, 12:26 pm, "Felix E. Klee" wrote:
> In the default ".htaccess"
You should do the following:
- design tables to store info about: modules/actions/user/permission
- develop another security filter (that would replace the current
security filter)
that would use the new source for the credential data.
gabriel
On Nov 25, 9:02 pm, Javier Garcia wrote:
> Hi,
I did not solve this issue either, the workaround I used was to have
those parameters in the URL something like:
/search?id=10 => /search/id/10
or
/search?category=2&keyword=232 => /search/category/2/keyword/232
and eliminate the query string from the URL.
gabriel
On Nov 23, 1:22 am, Ken G
I agree with you, it's quite a headache to deal with the translation
files as XML. I have a couple of ideas on how this could be improved
but I did not have the time to implement it as a plugin.
For existing solutions to this problem take a look at:
http://www.symfony-project.org/plugins/mgI18nPlu
Assuming you use sfGuard it's something like:
$this->getUser()->signIn($user);
Where $user is an active sf_guard_user entry, so you have to save the
entry, signin and then redirect.
gabriel
On Nov 21, 5:22 pm, noel guilbert wrote:
> Hi,
>
> I have a subscribe form, and I want to log my use
> In the meantime, we have moved forward on our timer method and we
> discovered that rendering templates took us about 200ms. Don't you
> think this is huge ?
> Thanks anyway !
=
Does this include the time to wait for the XML data source?
On my dev machine it takes about 17 ms to process fact
On Nov 16, 7:17 pm, Remi wrote:
> -> we don't use any .htaccess file : everything goes directly to an
> "httpd.conf"
=
Also have
AllowOverride none
in apache config to not search for .htaccess files.
> -> we don't use ORM since we don't use databases : only Webservices
=
Make sure you dis
Some other suggestions:
- avoid .htaccess - move rewrite rules in the Apache configuration.
- avoid the ORM - if you do access the database use plain SQL to
manipulate the data.
- make sure APC is configured correctly (so that it caches large PHP
files, such as the ones generated by the routing)
You have to check the browser HTTP headers that are sent (Request/
Response) via Firebug or HttpFox Firefox extensions.
Do you have enabled caching for your page?
There are more things to consider when you try to cache a page, not
just the Etag.
gabriel
On Nov 8, 7:28 am, Shihab KB wrote:
>
Two possible solutions:
1. create a class or helper in lib/ that caches the data extraction so
that the second time when you request the data
you have it, something like this:
class myUserProfileCache
{
static protected $userData = null;
public static function getUserData()
{
if (is
Are you sure it's not a typo in the condition:
->where('m.name like ?', '%' . $q . '%')
- ->orWhere('l.name like ?', '%Swit%')
+ ->orWhere('m.name like ?', '%Swit%')
gabriel
On Oct 27, 5:20 pm, erikms wrote:
> Hi Florian, thank you for your prompt reply. I have DB logging on, I
> thi
No type specified for the "uri" and "label" columns in the failing
query:
CREATE TABLE layar_actions (id BIGINT UNIQUE
AUTO_INCREMENT, uri , label , entrepeneur_id BIGINT, INDEX
entrepeneur_id_idx (entrepeneur_id), PRIMARY KEY(id)) ENGINE = INNODB
As to why is this I can't say.
gabriel
On Oc
Looks like a problem with Apache vhost configuration. Make sure you
have it configured correctly.
gabriel
On Oct 27, 3:30 am, Marcio Pozzato wrote:
> Hi Gays,
>
> I`m doing the jobeet project again, and unfortunately when finished
> the Day 1 I couldn`t show the home pagewww.jobeet.com.localh
When using multiple conditions on the same column you need to use a
criterion that links them together otherwise the last defined
filtering criteria is taken into consideration.
Using your example something like this:
$c = new Criteria();
$c1 = $c-
>getNewCriterion((CommentsPeer::COMMENT,'likes',C
You can migrate only till Symfony 1.3, Symfony 1.4 has a lot of
backwards compatibility code removed
so your application probably will not work.
The procedure is to migrate step by step to 1.1, 1.2, 1.3 and check
what the migration script tells you on each stage.
If you want to go directly to 1.4 y
What operating system do you use?
It looks like a file I/O timeout to me.
Try out the following, create a php batch script that loads the
symfony instance/context and just prints out a message.
If you still have this timeout it should be much easier to debug this
way than with Apache.
gabriel
By default Lucene search does not look for substrings, I think there
are several reasons why they are doing this mostly related to
performance.
There are some tokenizer engines which put in the index the
combination of all substrings and they solve this way the problem of
substring search, example:
You can have another layer of business logic classes that you store in
lib/ which interact with your
models directly.
gabriel
On Oct 6, 7:24 am, "Sebastien Armand [Pink]" wrote:
> Most of the times in symfony applications, we'll have a model let's say it's
> 'Product' and then many interacti
If you have those index files it is likely that the indexing part
works ok, you just need to work on the query part of it.
These are the files created on my environment (Solr 1.4):
./spellchecker2
./spellchecker2/segments.gen
./spellchecker2/segments_1
./spellchecker1
./spellchecker1/segments.gen
.
Hi,
The following is not strictly symfony related but I'm hoping someone
on the list can give me a hint for a solution.
I have several websites:
* fish.com
* eagle.com
* bear.com
and I want all the static resources (css, js, images, uploads) to be
served by a common domain, let's say media.fis
he real IP in
> the access_log .
>
> Laurent
>
> On Sep 10, 1:10 pm, pghoratiu wrote:
>
>
>
>
>
>
>
> > Is the load balancer responsible for caching as well?
> > Checkhttp://en.wikipedia.org/wiki/X-Forwarded-Forandretrieve the
> > client IP addre
Is the load balancer responsible for caching as well?
Check http://en.wikipedia.org/wiki/X-Forwarded-For and retrieve the
client IP address from that HTTP header.
You don't need anything extra on the Apache side.
gabriel
On Sep 10, 12:52 pm, Laurent Vaills wrote:
> Hi,
>
> I am developping a
The session is closed after all content is sent from A1.
You should find a way to delay the load of the iframe (via Javascript
maybe) to make sure that A1 has completed and that A2 can load the new
content.
gabriel
On Sep 7, 6:04 pm, Phil Moorhouse wrote:
> Hi, I currently have an action (A1
Check the sessions settings in php.ini as well.
What operating system do you use? For instance on Ubuntu there is a
cron job that deletes the session files and this
is controlled by php.ini configuration:
# /etc/cron.d/php5: crontab fragment for php5
# This purges session files older than X, whe
Regarding cache one thing that you have to worry about is cache
invalidation (which can grow into a really complex and ugly issue).
Even if you don't use caching there are many strategies available, one
that I recommend warmly is to avoid the ORM layer entirely by using
memcache as intermediary sto
What's the CPU usage on that machine?
In my experience 50-100 concurrent requests is quite large for dynamic
pages and you need good hardware to handle that.
Or you should look into using cache heavily, reverse proxy caching,
avoiding the ORM layer entirely (by using memcache) ...
I think that the
Hi!
My suggestion is to use PHP 5.3.X, it has improved garbage collection
and it should help with reclaiming unused memory. Also you should
group the code that is leaking inside a separate function(s), this way
the PHP runtime knows that it can release the memory for variables
within the scope.
The <> chracters are not allowed in the XML element node and you have
to either
1. quote them as > or <
2. Include them in CDATA sections:
![CDATA[For security reasons...]]
![CDATA[Por razones de seguridad...]]
If you do not quote them translations breaks altogether (no
translation works).
It
Do you have a route set up for your homepage, something like:
homepage:
url: /
param: { module: homepage, action: index }
Try also redirecting to $this->redirect('@homepage') it's much more
efficient.
gabriel
On Aug 26, 5:48 pm, torok84 wrote:
> Hi,
>
> I noticed that
> $this->redirec
Is there a proxy between the browser and the webserver (for caching
purposes or some other reason)? Have you tested with different
browsers (Firefox, IE, Opera, Chrome)?
AFAIK symfony sets up the HTTP headers correctly to disable caching by
adding the following two lines in the HTTP response heade
Try uncomenting this lines:
# we skip all files with .something
RewriteCond %{REQUEST_URI} \..+$
RewriteCond %{REQUEST_URI} !\.html$
RewriteRule .* - [L]
These rules are used to process .css, .js and other static files.
gabriel
On Aug 26, 1:55 am, Benoit Pr wrote:
> Hi,
>
> I have 2 applic
Unless it's a problem with the network connection it's probably a
problem with the number of connections allowed by the MySQL server.
This is usually set up to 100 by default, it should be increased to
something like 500.
MySQL has admin tools to monitor the connections to the server, use it
to mo
Hi!
What's the latest date one can get a ticket for Symfony Day
(subscription deadline)?
gabriel
On Aug 25, 11:20 am, Dennis Benkert
wrote:
> Hi,
>
> this year we are organizing a symfony Day again here in Cologne,
> Germany on 8th October. As last year the conference will be one day
> long
Post the schema you use.
Usually a PK ID is autogenerated for a given table if none was
specified.
gabriel
On Aug 24, 1:52 am, Jochen Daum wrote:
> Hi,
>
> this may sound quite minor, but I'm just getting into Symfony and am
> interested in some of the details.
>
> When I run symfony doctrin
There is no such thing, a session may expire also because of user
inactivity thus there is no way to catch this on the server side. Even
in case the browser is closed nothing is sent to the server to signal
the session end (like a logout).
In case you store the user sessions in the database you co
We encountered something similar with OS version 32 bit vs. 64 bit,
having the same PHP version 5.2.4.
The dev machines use 32 bit OS but staging/prod run on 64 bit and the
problem happened only on the 64 bit machines.
gabriel
On Aug 17, 10:18 am, El Duderino wrote:
> The problem was eventual
> It might be worthwhile to take things a step further by versioning
> them in the URL so that they can be given an infinite cache expiration
> date, although this requires a database hit or perhaps a glob call
> when outputting the pages that contain them. The code is a big step
> forward as-is if
Hi!
How do you solve the cache invalidation for these resources (in case
they are cached on the client side)?
Please post also a link to the sources.
Thanks,
gabriel
On Aug 14, 5:08 pm, Tom Boutell wrote:
> We've committed a new CSS and JS minifier to the trunk of
> apostrophePlugin. It's
Hi!
Have no idea what could this be, in my opinion it is something related
to locking at the FS level.
My suggestion is to try one of the following:
1. Use a different cache storage class - sfSQLiteCache,
sfMemcacheCache or sfAPCCache.
2. Run code on a different machine or on a Linux/Unix system
Check out also the session variables that can be set up in
session.ini:
session.gc_maxlifetime
Depending on the OS you use there may be other things to consider as
well.
gabriel
On Aug 5, 4:31 am, Gustavo Adrian wrote:
> Hi,
>
> I'm using sfDoctrineGuardPlugin. My backend session always end
Check out Komodo edit
http://www.activestate.com/komodo-edit
some of my colleagues use it.
I think that with your configuration any java based editor should work
fine, make sure you configure properly
the java runtime settings (-mx, -mss) and allow more memory than the
default.
gabriel
On A
I see the admin generator more as a starting point, something you can
build upon.
We have in our application backend both simple and complicated admin
modules.
Simple - generated admin modules where only a couple of partials are
used, no actions override.
Complicated - rewritten editing + custom ob
You should use a plugin, put your templates in the same module and
enable the plugin for all the
applications that need it.
gabriel
On Aug 2, 5:26 pm, Stephen Melrose wrote:
> Hey,
>
> I've just been reading up on email best practices for 1.3/1.4.
>
> It all makes sense, however my project h
It's really nice, I think that something like this is missing on
http://www.symfony-project.org/.
When I started first with symfony (1.0.x) there was a screencast with
building an application with Ajax on the front page. From my point of
view these type of presentations have a high marketing value
You can store the column in a separate table and link it to the master
table 1:1 relationship.
An even better solution is to store this in memcache (also use the
memcache
incrementation mechanism) and save this value in the database from
time to time.
gabriel
On Jul 30, 11:18 am, comb wrote
I can see 2 ways of doing this:
1. Outside symfony core - rewrite/.htaccess
http://www.scriptygoddess.com/archives/2007/06/13/redirect-a-subdomain-to-a-directory-using-htaccess/
2. Use the symfony routing system:
http://www.symfony-project.org/blog/2009/03/02/call-the-expert-adding-subdomain-requ
Do you use utf-8 everywhere (when indexing the document, when
searching ...) ?
gabriel
On Jul 20, 5:09 pm, wueb wrote:
> I'm using Zend Lucene in symfony.
>
> When i search by words with á or ã he can't find it.
>
> Anyone knows what can be causing this and how to solve?
--
If you want to
This type of problems can be found easily with Firefox -> Firebug
extension, resources return 404 message.
gabriel
On Jul 19, 1:09 pm, Javier Garcia wrote:
> Well I just added .js in the name of the file (jquery-
> ui-1.7.2.custom.min.js) and it's working.
>
> On Jul 19
Did you clear the cache?
gabriel
On Jul 19, 2:20 am, Javier Garcia wrote:
> Hi,
>
> I'm loading correctly these .js in the dev enviroment:
>
>
> use_javascript('/sfJqueryReloadedPlugin/js/plugins/jquery-ui-1.7.2.custom.m
> in')
> ?>
>
> but in the prod enviroment the second one is not loa
Do you have this behavior also with the development controller
(frontend_dev.php)?
gabriel
On Jul 16, 4:09 pm, Lea Haensenberger wrote:
> I've encountered a strange problem with firefox and caching. When I
> log in and get redirected to the homepage afterwards I don't see that
> I'm logged in
AFAIK you can not specify security settings in generator.yml only in
config/security.yml
There you have to specify the action name and the credentials required
to access the action,
see more info here:
http://www.symfony-project.org/reference/1_4/en/08-Security
gabriel
On Jul 14, 11:58 pm, ga
Maybe you have no fixtures in the required directory, can you post the
content of directory where the fixtures are and sample fixture
content.
gabriel
On Jul 6, 4:43 pm, Elton Saheki wrote:
> No success,
>
> I tried to clear all caches, and did:
>
> $ php symfony doctrine:build --all --and-lo
> Your solution is to tell apache to ignore the utm parameters before
> the request even goes to PHP, making a REWRITE (not a redirect as I
> understood before).
Yes, this is it.
You may have problems with rewriting query parameters as this is not
so straight-forward.
gabriel
--
If you
Hi!
Sorry but this does not make too much sense to me.
You need to get an instance of the Zend Lucene class, assuming you did
everything as
explained in the Jobeet tutorial:
http://www.symfony-project.org/jobeet/1_4/Propel/en/17
$index = JobeetJobPeer::getLuceneIndex();
and then you do separat
ll the
> analytics data: suppose I want to track a marketing campaign.
> 2) I'm using a template cache, so I can't specify a cache key.
>
> Is there any other solution?
>
> On Jul 5, 4:10 pm, pghoratiu wrote:
>
>
>
> > You have 2 options:
> > 1. Chang
You have 2 options:
1. Change in mod_rewrite to filter out the extra query elements that
pollute the query string
2. Set up explicitly the sf_cache_key when including a partial - in
your case tthe sf_cache_key would be the id.
gabriel
On Jul 5, 4:26 pm, illarra wrote:
> Hi
>
> Is there a way
I think I know what is causing this, in the webserver configuration
the
index.php is set up as the default file to search for when someone
requests
a dir, like:
www.domain.com/dir/
it will automatically search for
www.domain.com/dir/index.php (or index.html if that as configured in
the web server).
The same way you do it in the action.
Actually putting controller code in the view is not recommended,
better use a component or something else for this.
gabriel
On Jul 5, 1:13 am, Ricardo Jose Guzman Milanes
wrote:
> Thanks for the link Gabriel!
>
> But, how can I call that from the templat
You can change the sort order from score to whatever column you have
indexed, see more here:
http://zendframework.com/manual/en/zend.search.lucene.searching.html
look for "Search Result Sorting".
gabriel
On Jul 4, 9:30 pm, Ricardo Jose Guzman Milanes
wrote:
> Hello
>
> After implementing Luce
>From the first one the actual send is missing:
// send the email
$this->getMailer()->send($mail);
gabriel
On Jul 2, 5:25 am, Cosimo Zecchi wrote:
> Hi all.. I think it's a strange behavior: if I send email inside an
> action it will be sent. If I try t
If you want to upgrade the project you can get only till 1.3 because
in 1.4 the backward compatible elements were removed.
To move the project between 1.3 -> 1.4 you will certainly have to do
some rewrites/refactoring.
I also have a project running on 1.0 but I think I would rather jump
to 1.4 dir
I do not know much about your application but usually it is not a good
strategy to cache pages or partials accessible only to one user.
Usually these type of pages are not highly traffic-ed (compared to
public pages) and the cache will not be hit so many times (compared to
public pages).
If those
n
>
> RewriteCond %{REQUEST_URI} index\.php [NC]
> RewriteRule ^index.php$http://www.example.com/[L,R=301]
>
> RewriteCond %{REQUEST_FILENAME} !-f
> # no, so we redirect to our front web controller
> RewriteRule ^(.*)$ index.php [QSA,L]
>
>
> ====
it should be ok if you put that rule in the following order:
==
RewriteCond %{REQUEST_URI} index\.php [NC]
RewriteRule ^index.php$ http://www.example.com/ [L,R=301]
# no, so we redirect to our front web controller
RewriteRule ^(.*)$ index.php [QS
First check how was symfony installed, it was installed via PEAR or it
is a local installation
available in directory lib/vendor. In case of local installation you
have everything in place.
Otherwise find out which symfony version was used (1.0.x, .1.1.x,
1.2.x, 1.3.x, 1.4.x) and download/install t
Try with frontend_dev.php because index.php (the production
controller) does not print out error messages.
Also try to put there a phpinfo.php that prints out the phpinfo() so
you can check if all your settings are allright.
gabriel
On Jun 22, 7:30 pm, Christian wrote:
> Hi!
>
> my name is
The defaults for session storage are defined in apps/frontend/config/
factories.yml.
If there is nothing changed vs. the defaults than the PHP session
storage is used, in this case you can check
the serialized sessions stored usually somewhere in /var/lib/php5 (or
something similar, depending on yo
How does symfony store the session in your case, are you using the php
session or something else?
gabriel
On Jun 22, 9:19 am, ashton honnecke wrote:
> I am able to save information to the session manually:
> print_r($_SESSION['something']);
> $_SESSION['something'] = array('7');
etween User and Profile) and rebuild after that.
>
> I tried removing and re-adding the entire plugin with no change in behavior.
>
>
>
> On Fri, Jun 18, 2010 at 12:57 AM, pghoratiu wrote:
> > Check the session - the user id should be stored after sign-in.
> > This can b
> relations:
> Users:
> local: statusid
> foreign: statusid
> type: many
Try changing the relation type between tables to "one". The id is add
because the relation type is many.
> Now here's where things get completely bizarre. Hopefully this will be the
> key to someone.
Check the session - the user id should be stored after sign-in.
This can be checked in the web debug toolbar or directly the
serialized session data.
gabriel
On Jun 18, 9:50 am, ashton wrote:
> I'm not sure how I broke things, but I can no longer remain logged in
> beyond one page load (trie
It's part of the PartialHelper.php modify your config/settings.yml to
include it by default:
all:
.settings:
standard_helpers: [I18N, Partial]
or prepend use_helper('Partial') at the top of your template.
Check the manual.
gabriel
On Jun 17, 8:28 am, Dan wrote:
> Hello, I hav
It may be related to user sessions timing out and the framework doing
an internal forward to the login page,
did you consider that option?
gabriel
On Jun 16, 6:50 pm, Bruno Reis wrote:
> the $secureRequest var is the same as ImNotOnHTTP
>
> The odd thing is that it will work most of the time
Check the symfony logs - there should be some info about the filters
executed and redirects performed.
gabriel
On Jun 16, 4:17 pm, Bruno Reis wrote:
> any hints?
>
> 2010/6/14 Bruno Reis :
>
>
>
> > Hi,
>
> > I´m using a filter with the following code to change from http to https and
> > bac
Hi!
I think this is by design, sort of a "undocumented feature".
I had this problem as well when I first encountered it and since than
I remembered to always use the second level to store arrays.
gabriel
On Jun 14, 11:43 am, Tom Ptacnik wrote:
> Do someone know why first solution produce ba
Check if you have mod_rewrite enabled in your apache setup.
gabriel
On Jun 10, 2:48 am, Marvin Frederickson
wrote:
> I'm up to day 5 (page 69) in the guide. When I browse
> tohttp://jobeet.artemisu.local/the job list comes up fine. But when I
> click on the first job in the list, I get an
There is something wrong with your setup check:
1. phpinfo()
2. Run the /data/bin/check_configuration.php script
3. Check Apache log (the error log in particular)
4. Install xdebug if possible
White screen means usually a fatal error with the PHP interpreter.
gabriel
On Jun 11, 10:56 a
The frontend_dev.php is limited by default for accesses from
localhost.
Check and change that (add your IP) or delete that limitation
altogether.
gabriel
On Jun 11, 9:13 am, fRAnKEnSTEin wrote:
> using the "frontend_dev.php" i get:
>
> You are not allowed to access this file. Check frontend
Check also the output with the development controller
(frontend_dev.php).
In case you get blank page with prod you can see the problem with dev.
gabriel
On Jun 11, 7:12 am, fRAnKEnSTEin wrote:
> Hi there,
>
> Does any body knows any tutorial/guide/page or something that explains
> how to dep
This is the expected behaviour, you need to have access rights for the
given directory to create a subdirectory in it.
You can create the support directory with ownership set up as the user
used to run apache (under Ubuntu this is www-data)
in this case the access rights can be set up as 0700.
What type of image transformer you use (mod_gd)?
Check that is installed correctly (phpinfo()).
What type of images are you trying to transform?
There are some known limitations for libgd - no bitmap (.bmp) etc...
What error do you get when running under the dev controller (it should
be something
Check this for the sf_guard_forgot_password table, that is the one
giving the errors.
gabriel
On Jun 6, 8:49 pm, James Wheaton wrote:
> This is what I had before, so I get the same error.
>
> On 6/5/2010 2:16 PM, pghoratiu wrote:
>
>
>
> >> Ta
1. Split up the page in cache-able pieces and leave the main page un-
cached.
2. use AJAX to load content for the changed section.
gabriel
On Jun 5, 9:54 am, zedan wrote:
> I want to cache my index page, but i don't want to cache
> [_index_partial] which include by index page, I code cache.y
I think that it was your mistake by choosing the "wrong tool" for the
job.
Given your requirements (strict shared hosting environment)
CodeIgniter would be a better fit.
In the future if you commit to symfony try searching for a shared
hosting provider that is more
symfony friendly (there are plen
> Taking a look at
> plugins/sfDoctrineGuardPlugin/config/doctrine/schema.yml, all of the id
> columns use integer(4). Isn't this what the user_id type should be?
=
It should be type: integer(4)
columns:
user_id:
type: integer(4)
notnull: true
gabriel
--
If you wa
> how do you secure, that one cannot bypass the post-form, by url-
> manipulation?
You can not really do that, they can do whatever they want in the
request.
One thing that you have to do is to enforce a session upon the users
that get to search form - by requesting login for instance.
To ide
I don't think that you can do this given that these are decided on the
application level (not module level).
What you can do is do a forward to your own 404 page depending on the
request once you are in the 404
action.
gabriel
On Jun 4, 8:09 pm, Carlos Jorge Andrade
wrote:
> Hi,
>
> Is it po
> Saving session by ip ... what if $_SERVER['REMOTE_ADDR'] is not set ?
That value should always be set.
If there is a proxy between the client and the server it will be the
proxy server IP address and maybe set up
in the HTTP header as X-Forwarded-For.
> Anyway... as I mentioned my main ques
I think you should be worried about users that refuse to reply with
the cookie thus
the session is pretty much useless in this case (crawlers usually
don't hold the cookie).
In this case you need to track the users by IP address.
I would solve this problem on the Apache server side with dos_evasive
Try with:
'update' => 'myDialog',
gabriel
On Jun 4, 8:04 pm, Javier Garcia wrote:
> Hi,
>
> i have a template with this below to show a dialog when the link is clicked:
>
>
>
>
>
> echo jq_link_to_remote('Enviar mensaje 2', array(
> 'url' =>
> 'm
You just set it up in the action of step3 so it's available in the
template.
gabriel
On Jun 4, 3:12 pm, bedomon wrote:
> Hi,
>
> I work on symfony 1.0.21, and get a probleme with a form.
> My form got 3 step with for each an execute and validate method in
> action class.
> Catching the value
Not sure if this solves it, check the type of data for id's used in FK
references in the schema:
int(4)
or
int
It should be of the same type for the FK to work.
gabriel
On Jun 3, 11:25 pm, "Wheaton, James S" wrote:
> I’m in the midst of updating to symfony 1.4.1-stable; using
> sfDoctrineGua
Check your class inheritance tree, it's defined in one of your ORM's
base classes,
depending on what you use:
Propel: symfony/lib/plugins/sfPropelPlugin/lib/form/
sfFormProppel.class.php
Doctrine: symfony/lib/plugins/sfDoctrinePlugin/lib/form/
sfFormDoctrine.class.php
Search for unlink().
gab
You should store in the session the timestamp of the last request so
you can decide when to do the redirect for the user.
gabriel
On Jun 3, 12:44 pm, comb wrote:
> Thanks, I solved it with the users session:
>
> // redirect to referrer if not in this action here
> if ($this->getUser()->getAt
I have done something similar and the memory leak problem was
difficult to solve. In my case
it was due to circular references between objects and I always had to
use unset() explicitely on
individual objects after saving them into the database.
Make sure the objects you are trying to save do not r
You need to evaluate your routes into a module/action tuple, see the
last
example on this page:
http://pookey.co.uk/wordpress/archives/80-playing-with-symfony-routing-without-symfony
You can probably load the routes separately from the YAML as well.
gabriel
On Jun 3, 12:24 am, comb wrote:
>
Do you redirect after the form data is saved?
After a form is processed and data is saved the best practice is to
do redirect to avoid the re-POST
of form data, make sure you have this.
gabriel
On Jun 2, 7:44 pm, wueb wrote:
> I'm having a problem with symfony on my server.
>
> Almost every
> @pghoratiu: Yeah I know about Solr, but I cannot use it, like I wrote
> in the first post :-(
>
> Is there an alternative PHP-Search-Engine to Zend Lucene?
Sphinx is a good alternative, I did not use it personally but my
colleagues have and they are content with it.
It very muc
1 - 100 of 153 matches
Mail list logo