Re: not loading js and css !!!

2013-09-09 Thread El Tello
Have you enabled url rewrite correcrly? El 07/09/2013 18:53, Lilit lilitbaku...@gmail.com escribió: hello NetworkError: 404 Not Found - http://localhost/css/jquery-ui.css; NetworkError: 404 Not Found - http://localhost/js/jquery.validate.js; NetworkError: 404 Not Found -

Re: not loading js and css !!!

2013-09-09 Thread Lilit
how should i enabled url rewrite ? IfModule mod_rewrite.c RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L] /IfModule i have this in app/htaccess -- View this message in context:

Re: not loading js and css !!!

2013-09-09 Thread El Tello
Check first if its enabled by copiing a frish cakephp installation and going to its url. If all is green all is okey, if not say us what not El 09/09/2013 09:09, Lilit lilitbaku...@gmail.com escribió: how should i enabled url rewrite ? IfModule mod_rewrite.c RewriteEngine On

Authorization throwing a notFound exception

2013-09-09 Thread Ben Kennedy
I have created a custom authorize component as per the book (I have some very complex permissions that are pulled from existing data sources). Everything works as planned, however whenever the component returns false (access not allowed), I get the following output: You are not authorized to

Re: not loading js and css !!!

2013-09-09 Thread Lilit
El Tello, i'm still getting those errors in firebug -- View this message in context: http://cakephp.1045679.n5.nabble.com/not-loading-js-and-css-tp5716365p5716380.html Sent from the CakePHP mailing list archive at Nabble.com. -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us

Re: not loading js and css !!!

2013-09-09 Thread Lilit
vineet, after adding the code it shows 500 Internal Server Error -- View this message in context: http://cakephp.1045679.n5.nabble.com/not-loading-js-and-css-tp5716365p5716381.html Sent from the CakePHP mailing list archive at Nabble.com. -- Like Us on FaceBook

Re: not loading js and css !!!

2013-09-09 Thread Lilit
js and css files both located in those directory folders.. -- View this message in context: http://cakephp.1045679.n5.nabble.com/not-loading-js-and-css-tp5716365p5716383.html Sent from the CakePHP mailing list archive at Nabble.com. -- Like Us on FaceBook https://www.facebook.com/CakePHP

Re: not loading js and css !!!

2013-09-09 Thread Lilit
RewriteBase / this line redirects to http://localhost/xampp/ i guess there's another problem too and i can't understand what thanks for your replies -- View this message in context: http://cakephp.1045679.n5.nabble.com/not-loading-js-and-css-tp5716365p5716388.html Sent from the CakePHP

Putting custom code in a separate repository

2013-09-09 Thread David Suna
I started a project locally by cloning the git repository for CakePHP (branch 2.4). I would like to maintain the ability to do a pull on the git repository to get any updates as new releases are put out. I assume I should be on branch 2.4 rather than on master. I would also like to have my

Re: Putting custom code in a separate repository

2013-09-09 Thread Jeremy Burns : Class Outfit
Check out Git submodules - that's exactly what they are for. Jeremy Burns Class Outfit http://www.classoutfit.com On 9 Sep 2013, at 14:17, David Suna david.s...@gmail.com wrote: I started a project locally by cloning the git repository for CakePHP (branch 2.4). I would like to maintain the

Re: Putting custom code in a separate repository

2013-09-09 Thread David Suna
Thanks for the suggestion. From a quick look at git submodules it seems that they are geared to using them in a single directory. The changes to a clean CakePHP installation end up being across multiple directories as well as include changes to some of the files in the original CakePHP

Re: Putting custom code in a separate repository

2013-09-09 Thread Simon Males
Some people have made lib/Cake a submodule https://github.com/nodesagency/cakephp-lib Another suggestion is too have cakephp/cakephp as an remote named 'upstream'. Then you could suck in changes via `git fetch upstream`, but it could get messy in the app directory. On Mon, Sep 9, 2013 at 9:48

Re: Putting custom code in a separate repository

2013-09-09 Thread Jeremy Burns : Class Outfit
You add submodules in a path relative to the root of the git repository. I am a Git command line coward so use SourceTree (http://sourcetreeapp.com) which does it all for me. I have all (most) of my plugins as submodules. On 9 Sep 2013, at 14:48, David Suna david.s...@gmail.com wrote: Thanks

Re: Putting custom code in a separate repository

2013-09-09 Thread David Suna
On Monday, September 9, 2013 4:58:06 PM UTC+3, Simon Males wrote: Some people have made lib/Cake a submodule https://github.com/nodesagency/cakephp-lib This sounds like it would work although it is somewhat of a shame to leave out all the code under app. My question would be how to get

Re: Putting custom code in a separate repository

2013-09-09 Thread David Suna
On Monday, September 9, 2013 5:05:04 PM UTC+3, Jeremy Burns : class...@classoutfit.com wrote: You add submodules in a path relative to the root of the git repository. I am a Git command line coward so use SourceTree (http://sourcetreeapp.com) which does it all for me. I have all (most) of

Re: Putting custom code in a separate repository

2013-09-09 Thread Rachman Chavik
On Mon, 09 Sep 2013 06:48:42 -0700, David Suna wrote: Thanks for the suggestion. From a quick look at git submodules it seems that they are geared to using them in a single directory. The changes to a clean CakePHP installation end up being across multiple directories as well as include