Solved

What does this mean and how can I fix it?

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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
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 and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

786 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