Hi Florian,
It works ok from the command line, for example if I type:
wkhtmltopdf-i386 http://google.com google.pdf
it does create the google.pdf file.
On the other hand, that Snappy lib seems interesting, I don't know how
to use it though, it would be great if they had a very simple working
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.
I think you should use Snappy, it seems better written than the
integrationWithPHP example.
I didn't tested, but I would try this:
$snappy = new SnappyPdf;
$snappy-save('http://google.fr', '/tmp/google.pdf');
Read
Rectification:
$snappy = new SnappyPdf;
$snappy-setExecutable('/usr/bin/wkhtml2pdf'); // or whatever else
$snappy-save('http://google.fr', '/tmp/google.pdf');
On Oct 22, 9:26 am, Florian sideral.undergro...@gmail.com wrote:
I think you should use Snappy, it seems better written than the
Hi,
I've found it in 5 secounds and never tried, but this plugins should
do the trick.
http://www.symfony-project.org/plugins/sfPropelSqlDiffPlugin/0_1_6
IN THEORY:
Just create a new schema with column removed and then use plugin to
create a sql diff database.
The diff should create an alter
... MY BAD ... it is for propel ...
2010/10/22 Macvek mac...@gmail.com:
Hi,
I've found it in 5 secounds and never tried, but this plugins should
do the trick.
http://www.symfony-project.org/plugins/sfPropelSqlDiffPlugin/0_1_6
IN THEORY:
Just create a new schema with column removed and
Hi,
i have this propel schema:
comentario:
id:
author: varchar(255)
content: longvarchar
created_at:
when i do build-all-load the classes (model, form, filter) are not
created.
But if i change add the _attributes key like this:
comentario:
_attributes: { phpName: Comment }
Sure, but what if I want to overwrite from a plugin? The way you're giving
is not at all upgrade safe. I just want the change for one project - so
changed in projects config dir - not in the plugin itself.
Maybe someone has got a serious answer, too?!
2010/10/21 Georg geor...@have2.com
Are you using cache? Do you maybe have different caching compared to your
dev an prod server?
2010/10/21 stephenrs ssgro...@gmail.com
I'm preparing a site for launch - moving it out of my local dev
environment to a remote VPS host, and I've discovered that sometimes
pages take up to 60+
From the command line it works perfectly, if I type for example:
wkhtmltopdf-i386 http://google.com google.pdf
It creates google.pdf with the file...
On the other hand, the Snappy lib you mentioned seems interesting, I
couldn't figure out how to use it though, it would be great if they
had a
Hello,
have you tried to use '~' after the id end after the created_at ?
regards,
philippe
On Oct 22, 11:15 am, Javier Garcia tirengar...@gmail.com wrote:
Hi,
i have this propel schema:
comentario:
id:
author: varchar(255)
content: longvarchar
created_at:
when i do
Hi,
I'd like to attach more than one file in a mail, at now i do like
that :
foreach ($fichiers as $fichier):
$message = $this-getMailer()
-compose('m...@domain.tld', $address, $obj, $msg)
-attach(Swift_Attachment::fromPath($fichier)) ;
Bonjour,
est-ce possible d'utiliser symfony sans utiliser une base de donnée
(par exemple pour faire une interface de gestion de fichier de
configuration ?).
Hello,
is it possible to use symfony without database as model for an
exemple, create a GUI for configuration files ?
regards,
pmo.
--
Not sure if I understand you correct, but that is what the task does. It builds
all classes. Doesn't matter if you change anything in your Schema at all, if
the task is run, the classes are rebuilt.
Regards,
Christopher.
-Ursprüngliche Nachricht-
Von: symfony-users@googlegroups.com
Yes, that I found, too. But there must be a way for setting it in schema for
doctrine as it has git the removeColumn method. Only problem: I searched all
possible values in Google, but always just found description of that method. I
really wonder if it is somehow possible (it should be).
Am
ah, sorry, I missed the *not* in ... the classes (model, form, filter) are not
created.
Can't help you with that then.
Regards,
Christopher.
-Ursprüngliche Nachricht-
Von: symfony-users@googlegroups.com [mailto:symfony-
us...@googlegroups.com] Im Auftrag von Javier Garcia
If we look at the code of sfDoctrineDatabase.class.php, the attributes
node needs to be in the param section. I think if you try some others
attributes instead of query_cache, they will be set correctly.
I think the problem is especially for this query_cache attribute. According
to the Doctrine
Are you using mamp?
Envoyé de mon iPad
Le 2010-10-20 à 14:34, Marcio Pozzato mspozz...@gmail.com a écrit :
So do I.
But, a friend of mine said the problem is around the CSS file
localization. Even if it is correct, I couldn't perform it.
In day one, before Web Server Configuration, you find
If you mean MAMPP, no.
I'm using XAMPP, under Windows XP Professional, and Apache, MySql, PHP.
2010/10/20 Nic ngarn...@ngarneau.com:
Are you using mamp?
Envoyé de mon iPad
Le 2010-10-20 à 14:34, Marcio Pozzato mspozz...@gmail.com a écrit :
So do I.
But, a friend of mine said the problem
If it is a problem with alias, then You should copy aliased contents
to htdocs/sf which will solve it.
Also try to get css files in browser by direct access.
BTW. At the end of day 3 you are not suppose to see /job with
graphical contents, which is configured in day 4: The Stylesheets,
Images,
In the jobeet tutorial, you can access jobs only if they are valid
(30 days) thanks to :
method_for_query: retrieveActiveJob
The problem is that it fowards to a 404 page.
How to redirect the user to the HOMEPAGE instead of displaying a 404
page if the user try to access an outdated job ?
No idea?
On Oct 19, 5:41 pm, Javier Garci tirengar...@gmail.com wrote:
Hi,
in Jobeet there is this part below of the schema:
jobeet_category:
_attributes: { isI18N: true, i18nTable: jobeet_category_i18n }
id: ~
jobeet_category_i18n:
id: { type: integer,
Il y a une option, dans le 'settings.yml' si je me souviens bien, du
genre:
with_database: true
passe le à false, je pense que ça devrait le faire!
Qu'on me corrige si je me trompe.
Jérémie
--
If you want to report a vulnerability issue on symfony, please send it to
security at
Try the terms symfony 404 customizing in Google and you get many ways ;)
Am Freitag 22 Oktober 2010, um 13:40:15 schrieb Tristan:
In the jobeet tutorial, you can access jobs only if they are valid
(30 days) thanks to :
method_for_query: retrieveActiveJob
The problem is that it fowards
How about this:
$message = $this-getMailer()
-compose('m...@domain.tld', $address, $obj, $msg);
foreach ( $fichiers as $fichier )
{
$message-attach(Swift_Attachment::fromPath($fichier)) ;
}
$this-getMailer()-send( $message );
On Fri, Oct 22, 2010 at 5:51 AM, jimpass
Are you storing doctrine object into session ?
On Thu, Oct 21, 2010 at 11:45 PM, Thomas Ohms thomas.o...@googlemail.comwrote:
Are you using cache? Do you maybe have different caching compared to your
dev an prod server?
2010/10/21 stephenrs ssgro...@gmail.com
I'm preparing a site for
Hello Gustavo,
I don't understand what you mean by Then in your own actions . Which
action are you speaking.
I just want to change the layout accordingly to user's group jsut
after login.
--
If you want to report a vulnerability issue on symfony, please send it to
security at
I don't want to customize the 404 page, it's already done,
I just want to redirect the user to the homepage instead of a 404 page
when he tries to access a job which is outdated.
Thanks :)
On 22 oct, 15:32, Thomas Ohms thomas.o...@googlemail.com wrote:
Try the terms symfony 404 customizing in
$this-redirect('@homepage');
On Fri, Oct 22, 2010 at 5:26 PM, Tristan tristan.bessou...@gmail.comwrote:
I don't want to customize the 404 page, it's already done,
I just want to redirect the user to the homepage instead of a 404 page
when he tries to access a job which is outdated.
Thanks
Hi. I need return any view as pdf. is possible, some snippet?...
Symfony 1.2
--
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 to the Google
Groups symfony users group.
To post to
Hi,
There is a discussion going on currently.
http://groups.google.com/group/symfony-users/browse_thread/thread/f7385f40ced78272?hl=en_US
Regards,
Chris
On Oct 22, 5:26 pm, José Regalado djd...@gmail.com wrote:
Hi. I need return any view as pdf. is possible, some snippet?...
Symfony 1.2
--
you can use the file view.yml on your modules
On Fri, Oct 22, 2010 at 7:29 AM, ziclo lauren...@gmail.com wrote:
Hello Gustavo,
I don't understand what you mean by Then in your own actions . Which
action are you speaking.
I just want to change the layout accordingly to user's group jsut
On 22 oct, 12:36, catchamonkey ch...@sedlmayr.co.uk wrote:
Hi,
There is a discussion going on
currently.http://groups.google.com/group/symfony-users/browse_thread/thread/f73...
yep... This is good, but my hosting service is not able fot this. Some
other way?...
--
If you want to report a
I am a bit new to this symfony framework. I am having a problem seeing
the images on the Symfony Project Created page. I can see all the
writing but no pictures. I installed the project using netbeans. I am
attempting to do the project described on the main site
http://www.symfony-project.org/. I
2 solutions :
copy and paste the folder lib/vendor/symfony/data/web/sf/ in web/
or
in web/ , do :
ln -s yourproject/lib/vendor/symfony/data/web/sf .
Jérémie
Le vendredi 22 octobre 2010 à 11:11 -0700, apc...@dsl.pipex.com a
écrit :
I am a bit new to this symfony framework. I am having a
I am using mPDF to do this.
2010/10/22 José Regalado djd...@gmail.com:
On 22 oct, 12:36, catchamonkey ch...@sedlmayr.co.uk wrote:
Hi,
There is a discussion going on
currently.http://groups.google.com/group/symfony-users/browse_thread/thread/f73...
yep... This is good, but my hosting
or u can add this line in ur web server config file
alias sf yourproject/lib/vendor/symfony/data/web/sf
this sud work ..
ashish
On Sat, Oct 23, 2010 at 12:10 AM, Jérémie jeremie.symf...@gmail.com wrote:
2 solutions :
copy and paste the folder lib/vendor/symfony/data/web/sf/ in web/
or
in
http://www.symfony-project.org/plugins/sfTCPDFPlugin
2010/10/22 José Regalado djd...@gmail.com
On 22 oct, 12:36, catchamonkey ch...@sedlmayr.co.uk wrote:
Hi,
There is a discussion going on currently.
http://groups.google.com/group/symfony-users/browse_thread/thread/f73...
yep... This
On Oct 22, 4:31 pm, Gareth McCumskey gmccums...@gmail.com wrote:
http://www.symfony-project.org/plugins/sfTCPDFPlugin
mccumskey.blogspot.com
twitter: @garethmcc
Yes but my difficult is here:
HI. i am using tcpdf and the following code:
$config = sfTCPDFPluginConfigHandler::loadConfig();
Does anybody have any clue how to use this featured.. i have looked at
the document at
http://docs.symfony-reloaded.org/master/guides/security/index.html
but:
1. only work for Doctrine, not for MongoDB
2. there is no instructions on how to validate the form and execute
the login / logout process
I want to create a one-to-one relationship between users and
companies. Since I shouldn't be editing the sfDoctrineGuard schema's
directlyI've created a sfGuardUserProfile model:
sfGuardUserProfile:
tableName:sf_guard_user_profile
columns:
user_id:{ type: integer,
Hi,
You don't need refClass for 1-to-1 !
Cheers,
Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
On Sat, Oct 23, 2010 at 1:31 AM, Jonotron jonot...@gmail.com wrote:
I want to create a one-to-one relationship
in the debug tool bar what is the difference between them? i got a
query under Doctrine_Connection_Statemen only on the hosting VPS
server, can't get the same sql query when have the same thing on my
dev machine.
--
If you want to report a vulnerability issue on symfony, please send it to
I guess one-to-one in this case isn't the correct description.
sfGuardUser has one Company, Company has man sfGuardUser. To
accomplish this (because I shouldn't edit the sfGuardUser model
directly) I go through an intermediary table sfGuardUserProfile. I
believe my schema above is correct, and
http://pastebin.com/gw25Kvnf
--
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 to the Google
Groups symfony users group.
To post to this group, send email to
45 matches
Mail list logo