[symfony-users] Re: SETUP SERVER

2009-05-22 Thread Alexandru-Emil Lupu
- permissions
- check error log and share with us

On Fri, May 22, 2009 at 7:20 AM, Nathan Rzepecki webmas...@lionslair.net.au
 wrote:

  And make sure your permissions are correct.

 -
 Nathan Rzepeckihttp://www.lionslair.net.au

 a


 Frank He wrote:

 Sounds like you have to update your configue file, such as database.yml,
 app.yml, settings.yml etc. You can use frontend_dev.php to see where is the
 error.

 On Thu, May 21, 2009 at 10:22 PM, janlar...@gmail.com wrote:


 hi im trying to replicate my server to a new pc, i can now run it but
 my problem is that when i clear cache it delete all in the cache and
 when im trying to access it does not work anymore i need to copy my
 cache from my old server and to my new one. Also my new server keeps
 ponting to my old database what do I need to configure so that I can
 point it to may new lo database server???

 Thanks,





 



-- 
I am on twitter: http://twitter.com/alecslupu
I am on linkedIn: http://www.linkedin.com/in/alecslupu
Tel: (+4)0748.543.798

--~--~-~--~~~---~--~~
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: SETUP SERVER

2009-05-22 Thread Eno

On Thu, 21 May 2009, janlar...@gmail.com wrote:

 hi im trying to replicate my server to a new pc, i can now run it but
 my problem is that when i clear cache it delete all in the cache

That's normal.

 and
 when im trying to access it does not work anymore i need to copy my
 cache from my old server and to my new one.

Bizarre - you should never copy cache from one server to another since its 
generated by symfony itself. You should check permissions - yes there's a 
command for that too:

http://www.symfony-project.org/book/1_2/16-Application-Management-Tools#chapter_16_sub_managing_a_production_application

 Also my new server keeps
 ponting to my old database what do I need to configure so that I can
 point it to may new lo database server???

Edit your databases.yml - did you write this application?

Might be useful for you to read the 'Application Management Tools' chapter 
in the book.

http://www.symfony-project.org/book/1_2/16-Application-Management-Tools




--~--~-~--~~~---~--~~
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: SETUP SERVER

2009-05-22 Thread Frank He
I also suspect the new server configuration does not support symfony's
minimum requirement, such as PDO, php 5 or whatever.

On Fri, May 22, 2009 at 1:21 PM, Eno symb...@gmail.com wrote:


 On Thu, 21 May 2009, janlar...@gmail.com wrote:

  hi im trying to replicate my server to a new pc, i can now run it but
  my problem is that when i clear cache it delete all in the cache

 That's normal.

  and
  when im trying to access it does not work anymore i need to copy my
  cache from my old server and to my new one.

 Bizarre - you should never copy cache from one server to another since its
 generated by symfony itself. You should check permissions - yes there's a
 command for that too:


 http://www.symfony-project.org/book/1_2/16-Application-Management-Tools#chapter_16_sub_managing_a_production_application

  Also my new server keeps
  ponting to my old database what do I need to configure so that I can
  point it to may new lo database server???

 Edit your databases.yml - did you write this application?

 Might be useful for you to read the 'Application Management Tools' chapter
 in the book.

 http://www.symfony-project.org/book/1_2/16-Application-Management-Tools




 


--~--~-~--~~~---~--~~
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: SETUP SERVER

2009-05-22 Thread Nathan Rzepecki
Is symfony actually installed on this new server or is your project frozen?

-
Nathan Rzepecki
http://www.lionslair.net.au



Frank He wrote:
 I also suspect the new server configuration does not support symfony's 
 minimum requirement, such as PDO, php 5 or whatever.

 On Fri, May 22, 2009 at 1:21 PM, Eno symb...@gmail.com 
 mailto:symb...@gmail.com wrote:


 On Thu, 21 May 2009, janlar...@gmail.com
 mailto:janlar...@gmail.com wrote:

  hi im trying to replicate my server to a new pc, i can now run
 it but
  my problem is that when i clear cache it delete all in the cache

 That's normal.

  and
  when im trying to access it does not work anymore i need to copy my
  cache from my old server and to my new one.

 Bizarre - you should never copy cache from one server to another
 since its
 generated by symfony itself. You should check permissions - yes
 there's a
 command for that too:

 
 http://www.symfony-project.org/book/1_2/16-Application-Management-Tools#chapter_16_sub_managing_a_production_application

  Also my new server keeps
  ponting to my old database what do I need to configure so that I can
  point it to may new lo database server???

 Edit your databases.yml - did you write this application?

 Might be useful for you to read the 'Application Management Tools'
 chapter
 in the book.

 http://www.symfony-project.org/book/1_2/16-Application-Management-Tools





 

--~--~-~--~~~---~--~~
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: SETUP SERVER

2009-05-22 Thread David Ashwood
It's usually best to start checking that symfony is ok (assuming you're
following the standard lib\vendor approach) with:

 

php lib/vendor/symfony/data/bin/check_configuration.php

php lib/vendor/symfony/data/bin/symfony -V

 

 then from the root of the project:

 

php symfony -V

php symfony

 

 

At least then you'll know that there aren't any issues with the base setup.

 

Then run:

 

symfony project:permissions

 

It won't hurt to also run:

 

symfony plugin:publish-assets

 

which should reset the appropriate permissions and setup plugins for you.
If you get any errors then you'll know that something is up.

 

 


--~--~-~--~~~---~--~~
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: SETUP SERVER

2009-05-21 Thread Frank He
Sounds like you have to update your configue file, such as database.yml,
app.yml, settings.yml etc. You can use frontend_dev.php to see where is the
error.

On Thu, May 21, 2009 at 10:22 PM, janlar...@gmail.com wrote:


 hi im trying to replicate my server to a new pc, i can now run it but
 my problem is that when i clear cache it delete all in the cache and
 when im trying to access it does not work anymore i need to copy my
 cache from my old server and to my new one. Also my new server keeps
 ponting to my old database what do I need to configure so that I can
 point it to may new lo database server???

 Thanks,
 


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