[symfony-users] Re: White screen only in production enviroment
when I upload a symfony project and receive this kind of error, the problem is the folder permission. If you are you using Linux in you prod enviroment, you have to do this: - Give 755 recursive permissions to the projects folder - Give 777 recursive permission to the log and cache folder inside your project. - Run this task: ./symfony project:permissions - Clear cache (./symfony cc) I hope this help you. I none of this works, check if the database connection, or even if you're are using the same structure as the local one. On 17 feb, 07:37, Trailfinder wrote: > Hi all, > > My dev enviroment works great. But when I deploy to my production > enviroment, I get a white screen only. Strange thing is, my backend is > working. My frontend only gives white screens. > > I can imagine there can be multiple places to look. But is there a way > to test effectively where the problem is? > > Thanks! > > B. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: propel:build-schema not working[jobeet]
what version of symfony are you using? if you're using 1.3/1.4 so ... maybe you create the project with default configuration (Doctrine) and that is why Propel task does not exist. If you are starting to learn symfony I recommend you learn Doctrine because that's the future of Symfony. Grettings from El Salvador. On 11 mar, 06:26, Tahar Yazid Touaibia wrote: > Hello, > I am new to symfony, i just installed it and am trying to follow the > jobeet tutorial. When i run the following command i got an error : > php symfony propel:build-schema > > The message displayed : > > "there are no tasks defined in the "Propel" namespace. > > I running symfony on wamp and here is the result of my > check_configuration.php file : > > ** Mandatory requirements ** > > OK PHP version is at least 5.2.4 (5.2.5) > > ** Optional checks ** > > OK PDO is installed > OK PDO has some drivers installed: mysql, sqlite2 > OK PHP-XML module is installed > OK XSL module is installed > OK The token_get_all() function is available > OK The mb_strlen() function is available > OK The iconv() function is available > OK The utf8_decode() is available > [[WARNING]] The posix_isatty() is available: FAILED > *** Enable the php_posix extension (used to colorized the > CLI output) *** > [[WARNING]] A PHP accelerator is installed: FAILED > *** Install a PHP accelerator like APC (highly recommended) *** > OK php.ini has short_open_tag set to off > OK php.ini has magic_quotes_gpc set to off > OK php.ini has register_globals set to off > OK php.ini has session.auto_start set to off > OK PHP version is not 5.2.9 > > I would appreciate any help that can let me go further in the tutorial. > Thanks in advance > Yaz > > -- -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: propel:build-schema not working[jobeet]
Acá esta el tutorial para doctrine Here is the tutorial for doctrine Best Regards! On 11 mar, 06:26, Tahar Yazid Touaibia wrote: > Hello, > I am new to symfony, i just installed it and am trying to follow the > jobeet tutorial. When i run the following command i got an error : > php symfony propel:build-schema > > The message displayed : > > "there are no tasks defined in the "Propel" namespace. > > I running symfony on wamp and here is the result of my > check_configuration.php file : > > ** Mandatory requirements ** > > OK PHP version is at least 5.2.4 (5.2.5) > > ** Optional checks ** > > OK PDO is installed > OK PDO has some drivers installed: mysql, sqlite2 > OK PHP-XML module is installed > OK XSL module is installed > OK The token_get_all() function is available > OK The mb_strlen() function is available > OK The iconv() function is available > OK The utf8_decode() is available > [[WARNING]] The posix_isatty() is available: FAILED > *** Enable the php_posix extension (used to colorized the > CLI output) *** > [[WARNING]] A PHP accelerator is installed: FAILED > *** Install a PHP accelerator like APC (highly recommended) *** > OK php.ini has short_open_tag set to off > OK php.ini has magic_quotes_gpc set to off > OK php.ini has register_globals set to off > OK php.ini has session.auto_start set to off > OK PHP version is not 5.2.9 > > I would appreciate any help that can let me go further in the tutorial. > Thanks in advance > Yaz > > -- -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] How do I know if a record is new in postSave function
I would like to know if there's a way to know if a record inserted is new in the postSave function within a model? -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: How do I know if a record is new in postSave function
I'm going to try that my friend. On 5 jun, 03:16, Tugdual SAUNIER wrote: > why not use postInsert() ? > > Tugdual > > 2010/6/5 PachinSV > > > > > I would like to know if there's a way to know if a record inserted is > > new in the postSave function within a model? > > > -- > > 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 symfony-users@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-users+unsubscr...@googlegroups.com > > For more options, visit this group at > >http://groups.google.com/group/symfony-users?hl=en -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Help me in this problem starting symfony on ubuntu and xampp
You also can try doing the following: chmod -R 755 then: chmod -R 777 \logs chmod -R 77 \cache On 17 jun, 12:27, Dina aquarius wrote: > Dear Symfony Users, > > You are users and me is just a beginner who can't start the using > until now because of the errors. I installed ubuntu and xampp using the root > user not "sudo" or "gksudo". Also, did the same for installing symfony. I > created the projects directory in the "/root" ( the directory of the root > user not "/home" directory of the local users). I created the project app > and frontend. I configured the Httpd.conf like this: > > * * > > *ServerName localhost * > > *DocumentRoot "/root/myproject/web" * > > *DirectoryIndex index.php * > > *Alias /sf /usr/share/php/data/symfony/web/sf * > > * * > > * AllowOverride All * > > * Allow from All * > > * * > > * * > > * AllowOverride All * > > * Allow from All * > > * * > > * * > > the "http://localhost"; works fine ( i.e the Xampp). But the " > > *http://localhost/frontend_dev.php/"; don't works and says > * > > Access forbidden! > > You don't have permission to access the requested directory. There is either > no index document or the directory is read-protected. > > If you think this is a server error, please contact the > webmaster. > > Error 403 > > Will it be solved if I repeat the steps but create the project folder > outside the root? Please, help me urgently. > > Thanks for your time, > Dina -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Day 1 - jobeet problem
Just a suggestion, you should use a newer version of symfony (1.4) and instead of use Propel you should use Doctrine, that's the future of Symfony. On 22 jun, 10:30, Christian wrote: > Hi! > > my name is christian and i'm new with symfony framework. > > I found this step by step > tutorial:http://www.symfony-project.org/jobeet/1_2/Propel/it/01 > > i have troubles during the apache configuration... > > this is my httpd.conf > > _ > # Be sure to only have this line once in your > #configuration > NameVirtualHost 127.0.0.1:8080 > > # This is the configuration for your project > Listen 127.0.0.1:8080 > > > DocumentRoot "/home/chris/public_html/jobeet/web" > DirectoryIndex index.php > > AllowOverride All > Allow from All > > > Alias /sf /home/chris/public_html/jobeet/web/lib/vendor/symfony/data/ > web/sf > data/web/sf"> > AllowOverride All > Allow from All > > > ___ > > where public_html is my apcahe DocumentRoot in whitch i have a lot of > directory with different site, but when i put this link in my > browser:http://localhost:8080/index.php(as the tutorial say) i can't see > anything...only a blank page... > > can you help me please? > > thanks > Chris -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: Day 1 - jobeet problem
This is an example of what I have: #Attrition is the name of my porject. #Este solo debe aparecer una vez en toda la configuracion NameVirtualHost 127.0.0.1:80 ServerName attrition.localhost DocumentRoot /home/pachinsv/www/attrition/web DirectoryIndex index.php Alias /sf /home/pachinsv/www/attrition/lib/vendor/symfony/data/web/sf AllowOverride All Allow from All AllowOverride All Allow from All -- 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 symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Re: database on a different server than symfony
You can edit the yamel configuration file (database.yml) as they say ... or you can use the command line to it the command "symfony configure:database" On 4 dic, 00:29, DEEPAK BHATIA wrote: > Hi, > > I currently have symfony and database on the same server. But I want to move > the database to different server. > > Please help me in this regard. > > Regards > > Deepak Bhatia -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: I can't see the images of the "default" module.
Hi tirengarfio, your have to configure virtualhosts in your webserver, and use an alias statement that point to the right folder (I use xampp too, I hope this help you) e.g.: # you have to be sure, you only have one of this statements (NameVirtualHost) NameVirtualHost *:80 ServerName zynga DocumentRoot c:\xampp\htdocs\zynga2\web DirectoryIndex index.php Alias /sf C:\xampp\php\PEAR\data\symfony\web\sf AllowOverride All Allow from All AllowOverride All Allow from All On 18 dic, 14:23, tirengarfio wrote: > Hi, > > i have instaled XAMPP (for linux) and then i have installed symfony > in /opt/lampp/htdocs/my_proyect/lib/vendor. > > Now i cant see the images of the "default" module. I have change the > permissions, even from the /opt folder, but the problem persists... > > Any idea? > > Bye > > Javi -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: Is netbeans compatible with symfony
I newbie programming with symfony and I use Netbeans 6.7 - 6.8 ... and I have no problems with it. You can run symfony command directly from netbeans but I prefer to use the command line. And the netbeans intellisense works fine for me. Greetings from El Salvador! On 5 ene, 01:27, lucky wrote: > hi guys i'm new to symfony till now i was working without using ide > now i found that netbeans 6.8 supports symfony.is there any issues coz > i don wan again to struggle like earlier please if any one is working > on netbeans please let me know Boss. > > Regards, > Lucky -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: symfony 1.4 installation
I suggest you install symfony embeded in the project, that way each project will be version independant. On 6 ene, 04:41, karansoni wrote: > i am using Ubuntu Linux 9.10 and i have installed symfony1.2.9 on it > through pear . > > is there any phenomenon through which i can install the both versions > symfony 1.2.9 and 1.4 on my linux though PEAR don't support two > instalations then > > Do i have to install 1.4 through SVN??? I want to keep both versions > on my PC > > with regards, > > karan soni -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] related selects (dependant drop-down menus)
How can I do related (dependant) drop-down menus with symfony or using a third party library like jquery? which is the best or the easiest way to do it? thanks in advances for your answers. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.
[symfony-users] Re: No Propel in Available Tasks: upgrade from Symfony 1.1 to 1.2/1.3
Creo que el problema es que symfony 1.3 y 1.4 usa Doctrine como default, Ej.: Cuando creas un nuevo proyecto tienes que usar el parametro --orm=Propel (si quieres ocupar Propel, de otra manera el proyecto usará Doctrine), espero sea de tu ayuda, saludos! - I think the problem would be that symfony 1.3 and 1.4 uses Doctrine as default. e.g: when you create a new project you have to use the paramter --orm=Propel (if you want to use Propel, otherwise the project will use Doctrine). I hope this help you, best regards! On 31 ene, 16:52, maxxyb wrote: > Hi > > I am trying to upgrade my Symfony project and am having problems with > the Propel portion of the upgrade. For some reason I can see no > Propel tasks in the Available Tasks list when I used the command > "symfony list". > > Can anyone tell me what I may be doing wrong? > > I have tried to upgrade to both 1.2 and to 1.3 with the same result. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.