Re: [symfony-users] Re: symfony 1.4 install

2010-04-19 Thread Peter Petrik
On Ne, 2010-04-18 at 21:42 -0700, Angel Robert Marquez wrote:
 Starting httpd: Warning: DocumentRoot [/home/sfprojects/jobeet/web]
 does not exist
heh, obviously apache dont think so:)

1.) 
try:
---
chmod 777 home
chmod 777 sfprojects
chmod 777 jobeet
chmod 777 web


if it not works try default conf as I suggested

peter

 
 This file does exist pwd:
 /home/sfproject/jobeet/web
 total 28
 drwxr-xr-x. 2 root root 4096 2010-04-17 15:47 css
 -rw-r--r--. 1 root root  595 2010-04-17 15:48 frontend_dev.php
 drwxr-xr-x. 2 root root 4096 2010-04-17 15:47 images
 -rw-r--r--. 1 root root  236 2010-04-17 15:48 index.php
 drwxr-xr-x. 2 root root 4096 2010-04-17 15:47 js
 -rw-r--r--. 1 root root   26 2010-04-17 15:47 robots.txt
 drwxrwxrwx. 3 root root 4096 2010-04-17 15:47 uploads
 
 
 
 On Sun, Apr 18, 2010 at 9:34 PM, Angel Robert Marquez
 angel.marq...@gmail.com wrote:
 okey, i have ubuntu so i dont know if it is different
 in fedora. but i
 remember also that i had problem with port 8080 or
 8000 because for
 localhost it was set in /etc/apache2/ports.conf to
 listen on port 80.
 This is how I got things up and running on fedora:
 http://fedorasolved.org/server-solutions/lamp-stack
 It looks like port 80 was configured. 
 
 
 -when you restart apache server it is without errors?
 service httpd restart 
 Stopping httpd:
  [  OK  ]
 Starting httpd: Warning: DocumentRoot
 [/home/sfprojects/jobeet/web] does not exist
 httpd: Could not reliably determine the server's fully
 qualified domain name, using localhost.localdomain for
 ServerName
 
 [  OK  ]
 
 
 (/etc/init.d/apache2 restart)
 -bash: /etc/init.d/apache2: No such file or directory
  
  
 -i also used the commands a2dissite default and
 a2ensite www and left
 Looking into these commands. No man by default. Do I need to
 install them? 
 
 
 httpd.conf file blanc (attached file)
 Looking at this. 
  
 -i would try to reinstall apache and try to run
 symfony in default
 configuration and default directory /var/www/web (have
 to edit default
 conf maybe) and if it works try to use diferent
 settings
 I'll do this when I have a moment and let you know what
 happens. 
 
 
 Thank you!
 
 
 
  
 
 peter
 
 
 On So, 2010-04-17 at 16:11 -0700, angel.marquez wrote:
  Okay, I removed the initial install, logged in as
 root, svn co,
  modified the httpd.conf file, confirmed the port
 8080 is in LISTEN
  column, checked the permissions on the directories,
 restarted mysql
  server and checked the url(s). I'm going to try on
 my mac next. Any
  ideas? Appreciate the help.
 
 
  /etc/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 8080
 
 
  VirtualHost 127.0.0.1:8080
  ServerName www.jobeet.com.localhost
   DocumentRoot /home/sfprojects/jobeet/web
DirectoryIndex index.php
Directory /home/sfprojects/jobeet/web
  AllowOverride All
  Allow from All
/Directory
 
 
 
 Alias /sf 
 /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
Directory
 /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
  AllowOverride All
  Allow from All
/Directory
  /VirtualHost
 
 
  netstat -tlnp
  Active Internet connections (only servers)
  Proto Recv-Q Send-Q Local Address
 Foreign Address
  State   PID/Program name
  tcp0  0 0.0.0.0:3306
  0.0.0.0:*
  LISTEN  7654/mysqld
  tcp0  0 0.0.0.0:111
 0.0.0.0:*
  LISTEN  1003/rpcbind
  tcp0  

Re: [symfony-users] Re: symfony 1.4 install

2010-04-18 Thread Peter Petrik
okey, i have ubuntu so i dont know if it is different in fedora. but i
remember also that i had problem with port 8080 or 8000 because for
localhost it was set in /etc/apache2/ports.conf to listen on port 80.
-when you restart apache server it is without errors?
(/etc/init.d/apache2 restart)
-i also used the commands a2dissite default and a2ensite www and left
httpd.conf file blanc (attached file)
-i would try to reinstall apache and try to run symfony in default
configuration and default directory /var/www/web (have to edit default
conf maybe) and if it works try to use diferent settings

peter

On So, 2010-04-17 at 16:11 -0700, angel.marquez wrote:
 Okay, I removed the initial install, logged in as root, svn co,
 modified the httpd.conf file, confirmed the port 8080 is in LISTEN
 column, checked the permissions on the directories, restarted mysql
 server and checked the url(s). I'm going to try on my mac next. Any
 ideas? Appreciate the help.
 
 
 /etc/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 8080
 
 
 VirtualHost 127.0.0.1:8080
 ServerName www.jobeet.com.localhost
  DocumentRoot /home/sfprojects/jobeet/web
   DirectoryIndex index.php
   Directory /home/sfprojects/jobeet/web
 AllowOverride All
 Allow from All
   /Directory
 
 
   Alias /sf /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
   Directory /home/sfprojects/jobeet/lib/vendor/symfony/data/web/sf
 AllowOverride All
 Allow from All
   /Directory
 /VirtualHost
 
 
 netstat -tlnp
 Active Internet connections (only servers)
 Proto Recv-Q Send-Q Local Address   Foreign Address
 State   PID/Program name   
 tcp0  0 0.0.0.0:33060.0.0.0:*
 LISTEN  7654/mysqld 
 tcp0  0 0.0.0.0:111 0.0.0.0:*
 LISTEN  1003/rpcbind
 tcp0  0 127.0.0.1:8080  0.0.0.0:*
 LISTEN  1490/httpd  
 tcp0  0 0.0.0.0:22  0.0.0.0:*
 LISTEN  1300/sshd   
 tcp0  0 0.0.0.0:53110   0.0.0.0:*
 LISTEN  1227/rpc.statd  
 tcp0  0 127.0.0.1:631   0.0.0.0:*
 LISTEN  1037/cupsd  
 tcp0  0 127.0.0.1:250.0.0.0:*
 LISTEN  7144/sendmail: acce 
 tcp0  0 :::111  :::*
LISTEN  1003/rpcbind
 tcp0  0 :::80   :::*
LISTEN  1490/httpd  
 tcp0  0 :::22   :::*
LISTEN  1300/sshd   
 tcp0  0 ::1:631 :::*
LISTEN  1037/cupsd  
 
 
 /home/sfproject/jobeet
 dr-xr-xr-x.   2 root root  4096 2010-03-30 03:07 bin
 dr-xr-xr-x.   5 root root  1024 2010-03-19 12:16 boot
 drwxr-xr-x.  20 root root  3880 2010-04-17 00:36 dev
 drwxr-xr-x. 119 root root 12288 2010-04-17 14:20 etc
 drwxrwxrwx.   5 root root  4096 2010-04-17 15:43 home
 dr-xr-xr-x.  18 root root 12288 2010-04-15 22:28 lib
 drwx--.   2 root root 16384 2010-03-19 11:53 lost+found
 drwxr-xr-x.   2 root root  4096 2010-03-22 16:35 media
 drwxr-xr-x.   2 root root  4096 2009-08-25 11:06 mnt
 drwxr-xr-x.   3 root root  4096 2010-03-19 13:17 opt
 dr-xr-xr-x. 254 root root 0 2010-04-17 00:35 proc
 dr-xr-x---.   7 root root  4096 2010-04-17 16:03 root
 dr-xr-xr-x.   2 root root 12288 2010-03-30 03:07 sbin
 drwxr-xr-x.   7 root root 0 2010-04-17 00:35 selinux
 drwxr-xr-x.   2 root root  4096 2009-08-25 11:06 srv
 drwxr-xr-x.  13 root root 0 2010-04-17 00:35 sys
 drwxrwxrwt.  17 root root  4096 2010-04-17 16:02 tmp
 drwxr-xr-x.  13 root root  4096 2010-03-19 12:02 usr
 drwxr-xr-x.  21 root root  4096 2010-03-19 12:22 var
 
 
 
 
 /etc/init.d/mysqld restart
 
 
 http://localhost:8080/index.php/
 Oops! This link appears to be broken.
 
 
 http://www.jobeet.com.localhost/index.php/
 Oops! This link appears to be broken.
 
 
 
 
 
 
 
 
 
 
 -- 
 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
NameVirtualHost 

Re: [symfony-users] Re: symfony 1.4 install

2010-04-17 Thread Peter Petrik
hi,

i had same error some time ago (on ubuntu). i had wrong permissions for
the /home/ directory. it has to be at least searchable for use it as
apache web dir. 

try to use the default web dir /var/web (in ubuntu)

peter

On So, 2010-04-17 at 11:25 -0700, Angel Robert Marquez wrote:
 @Gábor 
 I made the change to the httpd.conf file. Now I'm presented with this
 Forbidden
 You don't have permission to access /index.php/ on this server.
 
 
 __
 Apache/2.2.14 (Fedora) Server at localhost Port 8080
 
 I chmod 777 the index file here:
 /home/sfprojects/jobeet/web
 
 
 And still receive the same 403 message. I may have created the install
 as a user and need to perform the file mods as root. Should I start
 over and do everything su?
 
 @gabriel
 Yes, as stated in my steps.
 mysql restart
 /etc/init.d/mysqld restart
 
 
 On Sat, Apr 17, 2010 at 7:50 AM, pghoratiu pghora...@gmail.com
 wrote:
 Did you restart Apache after making the change to the Apache
 configuration files?
 It does not look like the Apache process is listening on port
 8080.
 
gabriel
 
 On Apr 17, 2:49 pm, Gábor Fási maerl...@gmail.com wrote:
  Change this to `Listen 8080` and try again (ie. remove the
 IP, only
  list the port).
 
  On Fri, Apr 16, 2010 at 18:29, Angel Robert Marquez
 
 
  angel.marq...@gmail.com wrote:
   Listen 127.0.0.1:8080
 
  --
  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
 athttp://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
 
 
 
 
 -- 
 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


Re: Yan: [symfony-users] symfony installation problem

2010-04-14 Thread Peter Petrik
Hi,

only have some points, i dont know if it will help;)

first, did you try check php conf. with

http://sf-to.org/1.4/check.php , $ php check_configuration.php
(http://www.symfony-project.org/jobeet/1_4/Doctrine/en/01)
?

second, I have ubuntu 8.04, everythink went ok for me, however, why you
dont use local copy of symfony for each project, as installing with pear
is not the recommended way of installing symfony
http://www.symfony-project.org/installation/1_4
?


Peter

On St, 2010-04-14 at 19:35 +, Guychmyrat Amanmyradov wrote:
 
 
 Sorry, i forgot to add this line :
 
 
 $ sudo pear install symfony/symfony-1.2.12
 downloading symfony-1.2.12.tgz ...
 Starting to download symfony-1.2.12.tgz (2,707,177 bytes)
 ...done:
 2,707,177 bytes
 $ symfony -v
 symfony: command not found
 
 $ php symfony -V
 Could not open input file: symfony
  
 
 --- 14/04/10 Çar tarihinde Guychmyrat Amanmyradov
 guychmy...@yahoo.com.tr şöyle yazıyor:
 
 Kimden: Guychmyrat Amanmyradov guychmy...@yahoo.com.tr
 Konu: [symfony-users] symfony installation problem
 Kime: symfony users symfony-users@googlegroups.com
 Tarihi: 14 Nisan 2010 Çarşamba, 22:33
 
 Hi,
 
 I am living very strange problem. Maybe someone can help to
 me.
 I just installed Ubuntu 9.10 and this are my steps.
 
 $sudo apt-get install apache2
 $sudo apt-get install php5
 $sudo apt-get install php5-cli
 $ php -v
 PHP 5.2.10-2ubuntu6.4 with Suhosin-Patch 0.9.7 (cli) (built:
 Jan  6 2010 22:56:44) 
 Copyright (c) 1997-2009 The PHP Group
 Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
 $sudo apt-get install php-pear
 $pear upgrade
 $sudo pear channel-discover pear.symfony-project.com
 $sudo pear install symfony/symfony-1.2.5
 
 downloading symfony-1.2.5.tgz ...
 Starting to download symfony-1.2.5.tgz (2,716,774 bytes)
 .
 ...
 .done: 2,716,774 bytes
 
 (in here i must see: install ok:
 channel://pear.symfony-project.com/symfony-1.2.5)
 
 
 
 
 $sudo find / -name symfony
 /usr/share/php/PEAR/symfony
 /usr/share/php/data/symfony
 /usr/share/php/symfony
 
 
 
 /usr/share/php/data/symfony/bin is empty.
 
 
 i have installed symfony hundreds of times before. But i
 really can not understand why i am living this problem. And i
 have tried symfony/symfony or symfony/symfony-1.2.12 ..etc. no
 success.
 
 i have used the same steps the same congifuration (  but
 diffirent computers. ) and successed before. I have installed
 on Intel CPU's before. This time on AMD. But i do not think
 the problem is CPU. 
 
 Anyone any idea ?
 
 
 Thanks in advance.
 
 
 
 __
 Yahoo! kullanıyor musunuz?
 İstenmeyen postadan bıktınız mı? Yahoo! Posta'da piyasanın en
 iyi istenmeyen posta korunması var 
 http://tr.mail.yahoo.com 
 
 -- 
 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
 
 
 __
 Yahoo! kullanıyor musunuz?
 İstenmeyen postadan bıktınız mı? Yahoo! Posta'da piyasanın en iyi
 istenmeyen posta korunması var 
 http://tr.mail.yahoo.com 
 
 -- 
 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] speed sf2

2010-04-10 Thread Peter Petrik
Hi,

It is possible to do comparison also with Rails, not only the php
frameworks?
http://symfony-reloaded.org/fast


Peter

-- 
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

To unsubscribe, reply using remove me as the subject.


Re: [symfony-users] Re: i18n - translation urls ?

2010-04-09 Thread Peter Petrik
I think 

http://www.apostrophenow.com/

peter

On Pi, 2010-04-09 at 11:06 -0700, alexmm wrote:
 Apostrophe ? Which apostrophe should I check ?
 
 On 9 Kwi, 19:47, Alexandru-Emil Lupu gang.al...@gmail.com wrote:
  Yes... you need a custom url.
 
  Check apostrophe. I am on mobile and i can't copy paste stuff
 
  sent via htc magic
 
  On Apr 9, 2010 8:40 PM, alexmm misiekaleksan...@gmail.com wrote:
 
  I have interesting question. Customer asked me if it is possible to
  have links in two languages. For example I have module JOB and I have
  Symfony appliaction in two lanuages: english and polish. 'job' ==
  'praca' in polish language. Is it possible to show url:http://xyz.com/job   
- in english languagehttp://xyz.com/praca - in polish language
  ???
 
  --
  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.comsymfony-users%2bunsubscr...@googlegroups.com
  For more options, visit this group 
  athttp://groups.google.com/group/symfony-users?hl=en
 
  To unsubscribe, reply using remove me as the subject.
 

-- 
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