No offence, but get back to jobeet tutorial and maybe further... back to php ... you have to understand that your "Symfony-1.2.9" folder is actually the symfony core folder ... Also ... if you copy the "symfony-1.2.9" to lib, won't help a little bit ... You might use simplest method of "Symfony project:freeze"... that will do all the stuff you need to run your project ... Else, you might wanna modify your config/*php to match the right path to your symfony lib ...
The sf images and so on are located in symfony-1.2.9/bin/web/sf/ ... copy that folder to your symfony_project/web/ folder... If you have added an alias into your vhost folder, then make sure that the paths are enclosed by quotes. also .. your WindBlows OS permit apache to read that folder. (known issues on Vista ). Alecs On Sun, Oct 11, 2009 at 10:47 AM, mini_alexander <aoohra...@gmail.com>wrote: > > ok - css and images don't work only with default symfony source > website. When I create my own default website - css and images work. > I have one more question - when I deleting "C:\Program Files\WebServ > \httpd\symfony-1.2.9" my project doesn't work - I have an error: > > Warning: require_once(C:\Program Files\WebServ\httpd\symfony-1.2.9\lib/ > autoload/sfCoreAutoload.class.php) [function.require-once]: failed to > open stream: No such file or directory in C:\Program Files\WebServ > \httpd\symfony_project\config\ProjectConfiguration.class.php on line 3 > > Fatal error: require_once() [function.require]: Failed opening > required 'C:\Program Files\WebServ\httpd\symfony-1.2.9\lib/autoload/ > sfCoreAutoload.class.php' (include_path='.;C:\Program Files\WebServ\php > \pear') in C:\Program Files\WebServ\httpd\symfony_project\config > \ProjectConfiguration.class.php on line 3 > > > Why ? I would like to start create a website but I can't - why I need > "C:\Program Files\WebServ\httpd\symfony-1.2.9" ?? My project is in "C: > \Program Files\WebServ\httpd\symfony_project", what is more I had in > symfony sandbox in catalog "\lib" folder "symfony" with many folders > and now I don't have folder "symfony" in "\lib" - what is going on ? > > > On 10 Paź, 22:54, Gábor Fási <maerl...@gmail.com> wrote: > > In the sandbox the contents of the /sf folder are copied in web/sf, > > just copy it there and it'll work. > > > > On Sat, Oct 10, 2009 at 21:55, mini_alexander <aoohra...@gmail.com> > wrote: > > > > > But this alias is only for showing default symfony site with css and > > > images ? I didn't use alias in symfony sandbox. So this alias isn't > > > obligatory ? When I change default symfony website everything will be > > > ok without this alias ? > > > > > On 10 Paź, 21:37, david <da...@inspiredthinking.co.uk> wrote: > > >> When switching like this - it's a good idea to go back to basics and > > >> Jobeet: > http://www.symfony-project.org/jobeet/1_2/Doctrine/en/01#chapter_01_w... > > > > >> You need to configure the sf alias > > > > >> On Sat, 10 Oct 2009 21:28:48 +0200, mini_alexander < > aoohra...@gmail.com> > > >> wrote: > > > > >> > On this site:http://www.symfony-project.org/installation > > >> > we can download symfony sandbox and symfony source. > > > > >> > Until today I have been downloading and using symfony sandbox and > > >> > everything was ok. Now I would like to use symfony source. I > > >> > downloaded symfony source: symfony-1.2.9.zip, unzipped and copied it > > >> > to C:\Program Files\WebServ\httpd. Next I created in C:\Program > Files > > >> > \WebServ\httpd folder 'symfony_project' and wrote in command line: > > > > >> > cd "C:\Program Files\WebServ\httpd\symfony_project" > > > > >> > php "C:\Program Files\WebServ\httpd\symfony-1.2.9\data\bin\symfony" > > >> > generate:project jobeet > > > > >> > php "C:\Program Files\WebServ\httpd\symfony-1.2.9\data\bin\symfony" > > >> > generate:app --escaping-strategy=on --csrf-secret=UniqueSecret > > >> > frontend > > > > >> > I copied file "symfony.bat" from "C:\Program Files\WebServ\httpd > > >> > \symfony-1.2.9\data\bin" to "C:\Program Files\WebServ\httpd > > >> > \symfony_project". I have created virtual host. But when I write in > > >> > browser:http://localhost/Isee: > > > > >> > Symfony Project Created > > >> > Congratulations! You have successfully created your symfony project. > > > > >> > Project setup successful > > >> > This project uses the symfony libraries. If you see no image in > > >> > this page, you may need to configure your web server so that it > gains > > >> > access to the symfony_data/web/sf/ directory. > > >> > This is a temporary page > > >> > This page is part of the symfony default module. It will > disappear > > >> > as soon as you define a homepage route in your routing.yml. > > >> > What's next > > > > >> > * Create your data model > > >> > * Customize the layout of the generated templates > > >> > * Learn more from the online documentation > > > > >> > Without images etc. - only text - why ? When I used symfony sandbox > > >> > everything was ok, what is more catalog "C:\Program > Files\WebServ\httpd > > >> > \symfony_project\lib" is EMPTY - why ? > > > > >> -- > > >> Using Opera's revolutionary e-mail client:http://www.opera.com/mail/ > > > -- As programmers create bigger & better idiot proof programs, so the universe creates bigger & better idiots! I am on web: http://www.alecslupu.ro/ I am on twitter: http://twitter.com/alecslupu I am on linkedIn: http://www.linkedin.com/in/alecslupu Tel: (+4)0748.543.798 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---