Images and css not foud [message #100029] |
Fri, 28 May 2010 23:20  |
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 #100790 is a reply to message #100029 ] |
Fri, 11 June 2010 12:14   |
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
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]
|
|
|
|
|
|