Solved

What does this mean and how can I fix it?

Posted on 2014-07-21
2
171 Views
Last Modified: 2014-07-26
I'm trying to set up Symfony. I'm on a Mac and when I go to the page that is supposed the page that says I have successfully installed Symfony and here's the index page to my first project, I get this:


<html><body><pre>********************************
*                              *
*  symfony requirements check  *
*                              *
********************************

php.ini used by PHP: /Library/Application Support/appsolute/MAMP PRO/conf/php.ini


** Mandatory requirements **

  OK        PHP version is at least 5.2.4 (5.5.10)

** Optional checks **

  OK        PDO is installed
  OK        PDO has some drivers installed: sqlite, pgsql, mysql
  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
  OK        The posix_isatty() is available
[[WARNING]] A PHP accelerator is installed: FAILED
            *** Install a PHP accelerator like APC (highly recommended) ***
[[WARNING]] php.ini has short_open_tag set to off: FAILED
            *** Set it to off in php.ini ***
  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
</pre></body></html>

That's the source code to a blank page. It looks like something's breaking down. What is it and how can I fix it?
0
Comment
Question by:brucegust
2 Comments
 
LVL 28

Accepted Solution

by:
chilternPC earned 500 total points
Comment Utility
no that's correct its a blank page.

Synfony is not a page based website - its a MVC generated website

you have to create a route, and a controller and a template to display the data
its probably best to view a tutorial on it.

https://www.youtube.com/watch?v=-PFDGYqIQMc

and the getting started http://symfony.com/get-started
0
 

Author Comment

by:brucegust
Comment Utility
chilternPC,

Thanks for getting back with me.

I'm going through this tutorial: http://symfony.com/legacy/doc/jobeet/1_4/en/01?orm=Doctrine

I'm supposed to see a page that looks like the graphic below signifying that Symfony has been set up and I've successfully initiated my first project. What am I doing wrong?

screenshot
And I know  you're thinking "You're accessing a default page in your directory. Why would you be looking for something else?"

Because, according to the tutorial, I should be accessing a virtual host based on these settings inserted into my Apache httpd.config file:

# 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

<VirtualHost 127.0.0.1:8080>
  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>

Open in new window


I'm going nuts. Any ideas?

Your comment is correct, now that I'm looking at it. I just assumed my settings in Apache were kicking in and the index.php page at home/sfprojects/jobeet/web/index.php was the page that I was seeing.

I've got questions at:

http://www.experts-exchange.com/OS/Unix/Q_28480503.html
http://www.experts-exchange.com/OS/Unix/Q_28480360.html
http://www.experts-exchange.com/OS/Unix/Q_28477885.html

I've been chewing on this all day. Any help could give me would greatly appreciated.

Thanks!
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Consider the following scenario: You are working on a website and make something great - something that lets the server work with information submitted by your users. This could be anything, from a simple guestbook to a e-Money solution. But what…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to dynamically set the form action using jQuery.

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now