Solved

What does this mean and how can I fix it?

Posted on 2014-07-21
2
177 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 29

Accepted Solution

by:
chilternPC earned 500 total points
ID: 40210420
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
ID: 40210475
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
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 create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

717 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