Solved

What does this mean and how can I fix it?

Posted on 2014-07-21
2
173 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
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

920 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

14 Experts available now in Live!

Get 1:1 Help Now