Why can't I see my images on this Symfony installation?

I'm attempting to install Symfony. In an effort to move forward, I made a copy of the symfony files and moved them over to my MAMP folder in the Applications directory after not being able to see it in my home directory. I figured maybe I missed something and this seemed like an intuitive thing to do. Sure enough, I was able to see the index.php file when I put http://localhost:8080/sfprojects/jobeet/web/index.php, thought the “8080” port was something I changed in the MAMP interface, since the changes I made to the config file didn’t seem to do anything. In any event, I get a page that looks like what I have attached.

When I go looking for “symfony_data/web/sf/,” I have no idea where that directory is. Where would it be?
brucegustPHP DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Is that not defined in your configuration file?  Unix/linux/OSX config files usually hold clues to the location of the working directories.  Also, from your other question, it seems that you may have installed it in your user account's home directory.  That's likely the place to search if you don't see it in the configuration file.

You should learn to navigate through the command line if you use MAMP or LAMP environments.  Open Terminal.app and run the following find command.

find /Users/bruce -name index.php
The tilde (~) will expand to the home directory path on the command line.
find ~ -name index.php

Add the -ls option to list it in long format.

find ~ -name index.php -ls

You can also search the other terms.
find ~ -name symfony_data
find ~ -name web
find ~ -name sf
brucegustPHP DeveloperAuthor Commented:

OK, making some progress!

First off, I'm learning that you have to be very aware and intentional about the spaces you have in your Terminal commands.

I was able to successfully run the find ~-.name index.php command, so that's under my belt.

In an effort to get a bottom line to my dilemma, I ran this:

Bruce-Gusts-iMac:~ bruce$ find ~ -name symfony_data
find: /Users/bruce/Library/Saved Application State/com.adobe.flashplayer.installmanager.savedState: Permission denied

It cooked for a while, and then I got the error message you see above.

Bottom line: The images that I'm not seeing, as they're represented in the screen shot above, are in a directory that does not appear to be on my computer.

This is the image address of one of the images that doesn't display: http://localhost:8888/sfprojects/jobeet/web/sf/sf_default/images/sfTLogo.png

The directory, nor the image seem to exist. What am I missing?
Since it's not in your home directory, try the find command at the root.

find / -name symfony_data

find / -name sfTLogo.png

~ in unix expands to your home directory.  Since you mentioned MAMP, and your example image shows an OSX interface, it should expand to /Users/bruce (assuming that bruce is your account)

find ~ -name symfony
is the same as
find /Users/bruce/ -name symfony

Spaces and capitalization are very important in unix systems.  The default file system is case aware and case sensitive, but you could choose to partition Mac disks to ignore capitalization as Windows does.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

brucegustPHP DeveloperAuthor Commented:
serialband, here's a portion of the result of the find / -name sfTLogo.png

Bruce-Gusts-iMac:~ bruce$ find / -name sfTLogo.png
find: /.DocumentRevisions-V100: Permission denied
find: /.fseventsd: Permission denied
find: /.Spotlight-V100: Permission denied
find: /.Trashes: Permission denied
find: /dev/fd/3: Not a directory
find: /dev/fd/4: Not a directory
find: /Library/Application Support/Apple/ParentalControls/Users: Permission denied
find: /Library/Application Support/com.apple.TCC: Permission denied
find: /Library/Caches/com.apple.Spotlight/schema.501.plist: Permission denied
find: /Library/Caches/com.apple.Spotlight/schema.89.plist: Permission denied
find: /Library/Caches/com.apple.Spotlight/schema.99.plist: Permission denied

The "sfTLogo.pn" that' sin the sandbox folder is from a different download, but there is no logo in the MAMP directory under the jobeet folder.

I think I'm seeing what's happening. Although I'm getting a page that says I need to check my permissions, I'm thinking something happened with the way I set up the project and the necessary images didn't get moved. We may be poised on the threshold of great things!
Please precede your commands with sudo

sudo find / -name symfony_data
brucegustPHP DeveloperAuthor Commented:
The Symfony app was in the wrong folder. I changed that and I'm now cooking with grease!

brucegustPHP DeveloperAuthor Commented:

I figured it out, or at least I think I've discovered something that makes a great deal of sense.

As I was reviewing the steps in the Symfony tutorial, I realized that the Symfony app needed to the same directory as my project files and it was not.

That said, everything that I had been wrestling with was now a moot point in that the path, which up to this point, was wrong, is now correct.

I want to respect your time as well as your expertise, so I'm going to give you the credit for this question and, if you're willing, head out to http://www.experts-exchange.com/OS/Unix/Q_28480360.html for more easy money.

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.