I think I just populate the cache directory from a saved copy (before i deleted it with rm -rf cache/*) to get it back and working like before... However as i progressed to Day 3 of Joblet, I checked the browser @ http://jobeet.localhost/frontend_dev.php/job after setting up jobs module and I see nothing but white in browser... checking php error logs I see possibly same kinda issue:
[28-Sep-2009 15:08:58] PHP Warning: copy(C:\dev\symfony-workspace \jobeet\cache\frontend\prod\config/config_config_handlers.yml.php) [<a href='function.copy'>function.copy</a>]: failed to open stream: Permission denied in C:\dev\symfony-workspace\jobeet\lib\vendor\symfony \lib\config\sfConfigCache.class.php on line 356 [28-Sep-2009 15:08:58] PHP Warning: chmod() [<a href='function.chmod'>function.chmod</a>]: Permission denied in C:\dev \symfony-workspace\jobeet\lib\vendor\symfony\lib\config \sfConfigCache.class.php on line 362 [28-Sep-2009 15:08:58] PHP Warning: require(C:\dev\symfony-workspace \jobeet\cache\frontend\prod\config/config_config_handlers.yml.php) [<a href='function.require'>function.require</a>]: failed to open stream: No such file or directory in C:\dev\symfony-workspace\jobeet\lib\vendor \symfony\lib\config\sfConfigCache.class.php on line 276 [28-Sep-2009 15:08:58] PHP Fatal error: require() [<a href='function.require'>function.require</a>]: Failed opening required 'C:\dev\symfony-workspace\jobeet\cache\frontend\prod\config/ config_config_handlers.yml.php' (include_path='.;C:\dev\php\pear') in C:\dev\symfony-workspace\jobeet\lib\vendor\symfony\lib\config \sfConfigCache.class.php on line 276 I dont see a cache\frontend\prod\config/ config_config_handlers.yml.php. Should this have been created? Cleared cache and ran permissions check, seemed to go through fine. Not sure what I could be doing wrong as Im following step by step. Thanks for any ideas, Arian On Sep 14, 5:09 pm, Alexandru-Emil Lupu <gang.al...@gmail.com> wrote: > if i remember right, rm -rf cache/* would delete the file as well > however if you are trying to solve something, do something as follow: > > make sure you have cache and log dirs & also make sure that apache / php is > able to write in the folder > - run ./symfony cc > - run ./symfony project:permissions or appropriate > when you are trying to see the browser output switch to the dev environment > ( acces in the browser yourhost/index_dev.php ) > > Alecs > > On Mon, Sep 14, 2009 at 8:52 PM, armyofda12monkeys < > > > > armyofda12mnk...@gmail.com> wrote: > > > I was trying the jobeet tutorial. and thought it would be nice to > > learn a little svn. but I wanted to setup a local svn directory > > instead of online google one. and kinda mixed the instructions at end > > and my app is just a blank page now since I'm pretty sure did > > something wrong (pretty sure what i did wrong, just wanted some advice > > on proper steps in my situation). > > > I created a project in local repository, I imported it from my local > > symfony-workspace/jobeet folder (which is btw mapped to apache to be > > jobleet.localhost) > > $ mkdir /cygdrive/c/dev/svnrep > > $ cd /cygdrive/c/dev/svnrep > > $ svnadmin create jobeet > > > ... i get to step where i want to import it into local svn... and say > > to myself the line about not wanting the cache in the svn makes > > sense... so I do this before importing... > > $ cd /cygdrive/c/dev/symfony-workspace/jobeet > > $ rm -rf cache/* log/* > > then tell svn not to import these later on when commiting or updating? > > $ svn propedit svn:ignore log > > and type in text editor: > > * > > then commit my changes to local svn > > $ svn commit > > > Kinda figured after below error, the cache folder NEEDS to be there > > for the frontend app (i assumed the folders/files rebuild in the cache > > folder when going back to the app/project online). > > [14-Sep-2009 13:38:00] PHP Fatal error: require() [<a > > href='function.require'>function.require</a>]: Failed opening required > > 'C:\dev\symfony-workspace\jobeet\cache\frontend\prod\config/ > > config_config_handlers.yml.php' (include_path='.;C:\dev\php\pear') in > > C:\dev\symfony-workspace\jobeet\lib\vendor\symfony\lib\config > > \sfConfigCache.class.php on line 276 > > > What are better steps for that '$ rm -rf cache/* log/*' in my case? > > also why would that work in the Day1 tutorial in google Code example. > > Seems like they are viewing local copy in that case, then checking in > > the files. So that would error the local server in that case too > > right? > > > Thanks for any help :), > > Arian > > -- > 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 -~----------~----~----~----~------~----~------~--~---