Launch Symfony 2.0 sandbox

New topics about Symfony 2 should go here

Moderators: dcobalt, tiagojsag

Launch Symfony 2.0 sandbox

Postby VictorR » Wed Apr 07, 2010 4:32 pm

Hi all!

I am trying to launch the sandbox application I have downloaded from symfony-reloaded.com today. I have all the requirements installed and I have passed the check script from the sandbox. All the requirements are ok, also the optional cheks.
What I have when I try to see http://localhost/sandbox/web/index_dev.php/hello/Victor is nothing (and there is nothing on the source code served).

I work with an iMac with 10.5v OSX (Leopard)
I also passed all the requirements to work with symfony 1.4.
Any thowghts?

Thanks in advance,
VictorR
VictorR
Junior Member
 
Posts: 10
Joined: Wed Apr 07, 2010 12:04 pm

Re: Launch Symfony 2.0 sandbox

Postby halfer » Wed Apr 07, 2010 5:44 pm

Is there anything in your Apache/PHP logs?
halfer
Faithful Member
 
Posts: 10148
Joined: Mon Jan 30, 2006 1:16 pm
Location: West Midlands, UK

Re: Launch Symfony 2.0 sandbox

Postby VictorR » Wed Apr 07, 2010 6:04 pm

Well, there are some warnings from some dll's not loaded in the apache2's error_log, but there is not any error.
VictorR
VictorR
Junior Member
 
Posts: 10
Joined: Wed Apr 07, 2010 12:04 pm

Re: Launch Symfony 2.0 sandbox

Postby halfer » Wed Apr 07, 2010 6:25 pm

Hmm, okay. I've not downloaded S2 yet, but is there another front controller in the /web folder you can try? Perhaps frontend_dev.php?
halfer
Faithful Member
 
Posts: 10148
Joined: Mon Jan 30, 2006 1:16 pm
Location: West Midlands, UK

Re: Launch Symfony 2.0 sandbox

Postby VictorR » Thu Apr 08, 2010 2:23 pm

Thanks, a lot, but there is no other front controller. I will try to solve these unloaded dll's. Perhaps this is the solution...
VictorR
VictorR
Junior Member
 
Posts: 10
Joined: Wed Apr 07, 2010 12:04 pm

Re: Launch Symfony 2.0 sandbox

Postby VictorR » Thu Apr 08, 2010 3:09 pm

Hi again!
I have downloaded again the sandbox app and now I have this on the apache error_log logs:

Code: Select all
[Thu Apr 08 15:06:39 2010] [notice] child pid 4106 exit signal Segmentation fault (11)

Any idea about what does it mean?
VictorR
VictorR
Junior Member
 
Posts: 10
Joined: Wed Apr 07, 2010 12:04 pm

Re: Launch Symfony 2.0 sandbox

Postby clac » Thu Apr 15, 2010 5:17 pm

VictorR wrote:
I also passed all the requirements to work with symfony 1.4.


Maybe just a mistake when you wrote it, but shouldn't it be 2.0? :D~ :-D~ :grin:

You need PHP >= 5.3.
clac
Junior Member
 
Posts: 4
Joined: Tue Apr 06, 2010 9:26 am

Re: Launch Symfony 2.0 sandbox

Postby VictorR » Thu Apr 15, 2010 5:48 pm

Hi!

This is the output when I type "php -v" on my terminal. Not so bad try. :P

Code: Select all
PHP 5.3.2 (cli) (built: Apr  6 2010 17:31:16)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
    with eAccelerator v0.9.6, Copyright (c) 2004-2010 eAccelerator, by eAccelerator


Thanks,
VictorR
VictorR
Junior Member
 
Posts: 10
Joined: Wed Apr 07, 2010 12:04 pm

Re: Launch Symfony 2.0 sandbox

Postby clac » Thu Apr 15, 2010 5:55 pm

Are you sure this is the one used by your servor?
what does "http://localhost/sandbox/web/check.php" output?
I my case, php -v displayed 5.3, but the check.php page was still saying 5.2... :?~ :-?~ :???: (then I managed to pass it to 5.3)
clac
Junior Member
 
Posts: 4
Joined: Tue Apr 06, 2010 9:26 am

Re: Launch Symfony 2.0 sandbox

Postby VictorR » Thu Apr 15, 2010 6:07 pm

This could be the php server is using another php.ini file, make sure it is using the php.ini from the php 5.3 version installation.

My output is:

Code: Select all
Checking that PHP version is at least 5.3.1 (5.3.2 installed)
VictorR
VictorR
Junior Member
 
Posts: 10
Joined: Wed Apr 07, 2010 12:04 pm

Re: Launch Symfony 2.0 sandbox

Postby halfer » Mon Apr 19, 2010 6:46 pm

If you're still getting the segfault, then you'll need to start unloading your accelerator and/or PHP modules until you can pinpoint which thing is causing it. Then you'll need to get an updated version, or perhaps swap it out for something (e.g. if the problem is found to be APC, and a newer version is not available, switch to eAccelerator).
halfer
Faithful Member
 
Posts: 10148
Joined: Mon Jan 30, 2006 1:16 pm
Location: West Midlands, UK

Re: Launch Symfony 2.0 sandbox

Postby VictorR » Tue Apr 20, 2010 8:59 am

Ok, thank you, I will try this.
VictorR
VictorR
Junior Member
 
Posts: 10
Joined: Wed Apr 07, 2010 12:04 pm


Return to General Symfony 2 discussion

Who is online

Users browsing this forum: No registered users and 5 guests