This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use the new forum.
Home » support » Installation and setup » Images and css not foud
Images and css not foud [message #100029] Fri, 28 May 2010 23:20 Go to next message
jimmyx  is currently offline jimmyx
Messages: 1
Registered: May 2010
Location: Argentina
Junior Member
Hi sorry for my english is not the best but Im working whit the scrach tutorial and when I install the framework and go to see on my browser the default page can load the images (sfTLogo.png,ok48.png) and the CSS.

I look for the files and they arent in the directoryes. I dont know whi the the create project method cant make it.

Some body know Whi??, thanks for your time


JimmyX
Re: Images and css not foud [message #100078 is a reply to message #100029 ] Mon, 31 May 2010 06:45 Go to previous messageGo to next message
cokker  is currently offline cokker
Messages: 582
Registered: January 2007
Location: Germany
Faithful Member
I'm not sure I understand you correctly. Do you see the images on the default page? If not you have to create a symlink in your web-dir. sf -> /path/to/symfony/data/web/sf

greets
Sven
Re: Images and css not foud [message #100790 is a reply to message #100029 ] Fri, 11 June 2010 12:14 Go to previous messageGo to next message
Aginor404  is currently offline Aginor404
Messages: 6
Registered: June 2010
Location: Germany
Junior Member
Hello there!
I'm new to the forums, but have worked with symfony for quite a while now. I still consider myself a noob with it but I am learning Smile

I have a problem similar to the one of the OP, which is why I posted here:


I upgraded an old symfony project which somebody else created from symfony 1.0 to 1.1, to 1.2 and to 1.3.5 and it works (yay! That really wasn't that simple, took me some days...)

Now I discovered that symfony doesn't seem to be able to find some of its own files, which is quite strange.

I first realized that when it couldn't find prototype.js, even when I specified the relative path correctly at the point where it is loaded. I ended up copying the prototype.js into another directory where I could access it....

Then I noticed that the same happens with two of the graphics in the web debug toolbar that appears when I use the "myProject_dev.php". It just isn't found, although it is there.

Does anyone know that problem and how to fix it? I'm not yet used to symfony 1.3 and so I don't quite know where to set all the paths. Perhaps I missed one.


EDIT: I found out those pictures are actually ALL not working. Symfony just happened to load them from the wrong directory. I have kept my old symfony directories and apparently something pointed there. Now I renamed them and all the pictures are missing.
Strange about that: Everything except those pictures is working...


EDIT2:
Oh man, I am sooo dumb. Really.
I focused so much on symfony that I completely forgot to adjust my path in the "httpd.conf". iFail.
Thanks for listening, I hope you enjoyed the show. See you next time!


Thanks in advance
-Aginor

[Updated on: Fri, 11 June 2010 12:44]

Re: Images and css not foud [message #102193 is a reply to message #100790 ] Thu, 08 July 2010 14:35 Go to previous messageGo to next message
shooby  is currently offline shooby
Messages: 6
Registered: March 2010
Junior Member
Quote:

EDIT2:
Oh man, I am sooo dumb. Really.
I focused so much on symfony that I completely forgot to adjust my path in the "httpd.conf". iFail.
Thanks for listening, I hope you enjoyed the show. See you next time!


what did you change on your httpd.conf?

the images on the startscreen ("Symfony Project Created") aren't loaded. think it can't find the css.

any solution for that problem?
Re: Images and css not foud [message #102194 is a reply to message #100029 ] Thu, 08 July 2010 14:47 Go to previous messageGo to next message
Aginor404  is currently offline Aginor404
Messages: 6
Registered: June 2010
Location: Germany
Junior Member
Well, the symfony alias was still pointing at my symfony 1.0.18 folder instead of the 1.3.5 folder. I just changed that alias.

Hope I could help
Re: Images and css not foud [message #102202 is a reply to message #102194 ] Thu, 08 July 2010 15:58 Go to previous message
shooby  is currently offline shooby
Messages: 6
Registered: March 2010
Junior Member
yeah... i read this now in the getting startet section Very Happy

nice...

thx!
Previous Topic:MAMP / Symfony 1.4.6 - Pear include issue
Next Topic:how to find in windows php.exe....?
Goto Forum:
  

powered by FUDforum - copyright ©2001-2004 FUD Forum Bulletin Board Software