Hi,
I did a lot of searching and didn't come with an appropriate answer to this question.
My exact problem is: I have 'albums' that must have references (are related) to other 'albums'. Any 'album' might have 0 to N related albums.
Thanks in advance!
...
I want to rename the "web" folder to "html" in symfony 1.4, unfortunately searching for documentation on this has lead me nowhere except for how this would be accomplished in 1.0, which does not seem to be working.
...
I am getting stuck into the symfony practice tutorial and it is attempting to explain the executeIndex function. Unfortunately it discusses returning a Doctrine_Collection.
I have looked on the net and cannot fathom out what this is, I have seen the documentation for it in lots of places but none of them actually explain what it is in ...
I'm developing a Symfony 1.4 plugin and I noticed that plugin routes get matched before app level routes. Is it possible to have app level routes evaluated first?
...
I'm attempting to create a unit test for my app in Symfony.
My /config/app.yml looks like this:
all:
tmp_dir: "tmp"
# usps
usps_username: xxxxx
usps_password: xxxxx
usps_dir: usps
in the unit test, when I run something like:
$t->comment(sfConfig::get('app_usps_username'));
It will just output and empty line. What's goin...
Hello,
I am unable to find something like this in documentation provided for Propel Criteria in Symfony 1.4
The criteria, by default, is:
$this->Merchantss = MerchantsPeer::doSelect(new Criteria());
However, this selects all the fields in the table for 'Merchants'. I would only like to select a couple, lets say: id, name, category. ...
Hi there!
I want to translate the default form validation messages in symfony, like
'required' => 'my own text'
Is there a way to do this? I searched in google, but haven't find anything useful. The XLIFF files are not working for me. :(
OR
Is there a way, to set default validation messages for like 'required' fields?
e'
...
php symfony project:deploy -t production
>> exec rsync --dry-run -azC --force --dele...
[email protected]'s password:
sending incremental file list
sent 97140 bytes received 912 bytes 21789.33 bytes/sec
total size is 44912109 speedup is 458.04 (DRY RUN)
The rsync_exclude.txt has:
# Project files
/cache/*
/log/*
/web/*_dev.php
...
Hi there!
I'm trying to build a model for content pages on my site, and i gave it a self reference named 'Related Page'. Now if i build my models and try to create a new page in the admin generator everything works fine. If i give the page a related page (or more) it works fine too, but if i go to the other page and try to edit the refe...
Hello everybody,
I'm actually developing a webmail written in PHP5 with the native IMAP library and the Symfony framework. I have some difficulty to understand the structure result of the imap_fetchstructure() method and how can I use this with the imap_fetchbody() method to retrieve the body message.
The PHP5 documentation specify tha...
Hi guys, I have a question regarding the view.yml file in Symfony. Basically I would like to be able to include certain javascript SDKs in my layout with the help of the view.yml file like so:
first i would add an entry the the corresponding view file:
all:
load_facebook: true
load_twitter: true
stylesheets:
javascripts:
...
Hello Friends, I'm using Symfony 1.4. My project is multi langual. So i'm using translation table.
So from database i'm creating schema, them model , then form.
Each time i have Delete Translation class from model doctrine. I don't want to do that each time.
Can anybody have solution for this ?
...
Hi all, I'm going to put a new application I created the last few weeks in production.
Is there a hosting company that is best for Symfony or doesn't that matter at all?
Or are there hosting companies you recommend or don't recommend in my case?
It's a very small application written in php (Symfony 1.4) and a db mysql with phpmyadmin.
...
The login form works fine, but any other form I submit (things like editing or creating data) I get a CSRF attack detected error. I have tried to clear symfony and browser cache, deleted cookies, tried multiple browsers and multiple computers.
What can cause this? When I turn off the CSRF protection it works fine.
...
This has been bugging me for a long time now.
I am new to symfony (2 days to be precise). I am using sfGuardPlugin to implement user administration. I am using following approach:
I have a user say "site_user", there is a group called "moderator". site_user belongs to moderator. moderator has permission say do_something.
In security.y...
Hi there,
I'm working on an e-commerce project and I got stuck at the cart update. Here I have to present a form using the contents of the current cart, with input fields containing the current quantities.
I checked the documentation and the forums, but I didn't find anything useful. The problem is that i cannot declare the exact form ...
Hello,
I've got this weird error when i try to generate either the filters or the form on my production server.
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to
allocate 20 bytes) in /var/www/project/lib/vendor/symfony/
lib/plugins/sfDoctrinePlugin/lib/vendor/doctrine/Doctrine/Core.php on
line 669
I don'...