Hi,
I'm getting Internal Server Error on my browser when i try to access
http://localhost/otherfolders.
My localhost is only working when i try to access http://localhost/cakephp
or http://localhost/merry_flowers (which is also a cakephp project).
Does anyone know on what is the problem?
thank
On Apr 16, 2011, at 02:57, varai wrote:
I'm getting Internal Server Error on my browser when i try to access
http://localhost/otherfolders.
My localhost is only working when i try to access http://localhost/cakephp
or http://localhost/merry_flowers (which is also a cakephp project).
Does
On Apr 15, 2011, at 10:42, varai wrote:
Can someone tell me what is the use of?
$this-Html-meta('icon');
Surely you could try it out yourself to discover what it does? :)
You could also read the documentation:
http://book.cakephp.org/view/1438/meta
Putting this command:
I can't use CakeLog::write('log','test'); in Shell
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send
I change use Ubuntu OS, CakeLog write direct in Terminal. May it can't write
in Windows's cmd ?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related
I change use Ubuntu OS, CakeLog write direct in Terminal. May it can't write
in Windows's cmd ?
Edit: I use as this: CakeLog::write('log',print_r($log)); . It print direct
in Ubuntu's Terminal but sure it isn't in Windows's cmd.
--
Our newest site for the community: CakePHP Video Tutorials
Hi everybody
I´m looking for a shopping cart (a catalogue is ok) but I can´t use
this:
https://github.com/mfriesen/kaching-php
It looks very good, but I can´t try in my pc.
I need some simple cart or shopping cart.
Can you help me with some other plugin or other app in Cake?
Thank you very
If somebody submits a link to a javascript script rather than a pic/image,
will the function($this-html-image() ) block it automatically, or do we
have to build our own checker for that?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new
As with anything from any user it should never be trusted.
I would say whatever anyone submits you validate so if they are submitting a
link, so submit an image I am guessing its being uploaded so make sure its
an image thru validation of the field / data
Is that what you mean?
K
Is CakePHP compatible with PHPIDS? If yes, where should I put the *
phpids-0.x/lib* folder?
Also, are SQL functions of CakePHP prepared statements?
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
No, the image is not to be uploaded. Rather, it is to be linked. I mean, say
the image is hosted at some other website at say,
http://url.com/image/cheese.jpg
. This link will be submitted but the user and will be stored in the db. On
the profile page(assume it's a sig or an avatar), it is
On Apr 15, 5:42 pm, varai vaanip...@gmail.com wrote:
Hi,
Can someone tell me what is the use of?
$this-Html-meta('icon');
It magically converts you into an iconic developer.
Referring to the cakephp cookbook, page 274, in order to get rid of
the many ? ? and many echo()
Hey everybody
I'd like to know how to display a list of
Manufacturers (associated with Cars) in a combobox when I create cars.
My Mysql query returns it:
SELECT `Carro`.`id`, `Carro`.`fabricante_id`, `Carro`.`nome`,
`Carro`.`modelo`, `Carro`.`blindado`, `Carro`.`cor`, `Carro`.`ano`,
Forget about this post, fellas.
On Apr 15, 3:36 am, Uriel Juliatti uriel.juliattiva...@gmail.com
wrote:
Fala pessoal, beleza?
Estou iniciando com o Cake e estou passando por dificuldades.
Instalei, tudo ocorre perfeitamente, mas na hora que construo meu
primeiro teste com MVC ele dá erro.
Hi All,
I just setup my window IIS server and I wanna install cakephp on it.
Currenty it is not running as you
know cake uses mod_wewrite.
Help me.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site
Thanks for the response, although I have to say that it help only partially.
Maybe my fault since
I forgot to mention also that I'm using the ACL Plugin and that the URL in
the admin reads:
[www.example.com/admin/acl/acos] at the time I attempt to logout.
BTW, adding the ['router'='0'] takes
Fala Lipe, beleza sim!
Eu resolvi, era no httpd.conf, agora funciona perfeitamente.
Estou com outro problema referente a Models. Se vocês puderem me ajudar, no
Rails eu sei resolver perfeitamente com a sintaxe do Ruby, minha lógia é
perfeita. O problema é na hora de jogar na combobox.
Fiz toda
On Apr 15, 6:03 pm, Brij brijbhushan@gmail.com wrote:
Hi All,
I just setup my window IIS server and I wanna install cakephp on it.
Currenty it is not running as you
know cake uses mod_wewrite.
Help me.
Sure - did you try turning it on and off?
--
Our newest site for the community:
Please keep to English on this group.
http://groups.google.com/group/cakephp-pt
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To
No it does not, if you look at the html helper in the cake library it
does no validation for this. Primarily it assumes you already have
done the proper checking when saving the url into the database and
confirmed that it is an image
The proper location for this would be to write your own
Thanks.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
On Fri, Apr 15, 2011 at 3:37 PM, Brian Sweeney eclecticg...@gmail.com wrote:
On Fri, Apr 15, 2011 at 2:47 PM, cricket zijn.digi...@gmail.com wrote:
What the heck is this?!
echo ?php $product_id = $product_id; ?; ?
Oh, and I just wanted to say that I was pretty sure this little snippet
would
On Fri, Apr 15, 2011 at 1:48 PM, Sergio sergc...@gmail.com wrote:
Thanks for the response, although I have to say that it help only partially.
Maybe my fault since
I forgot to mention also that I'm using the ACL Plugin and that the URL in
the admin reads:
[www.example.com/admin/acl/acos] at
On Fri, Apr 15, 2011 at 8:07 PM, Carlos Eduardo Sotelo Pinto
carlos.sotelo.pi...@gmail.com wrote:
Hi people.
I have read this article and thinking on a new challenge ( if it coudl
be called a challenge ). What about having a cakephp installed on a
server.. like a dedicated server, optimized
On Sat, Apr 16, 2011 at 11:01 AM, goluhaque afzal...@gmail.com wrote:
Is CakePHP compatible with PHPIDS? If yes, where should I put
the phpids-0.x/lib folder?
Probably. Use App::import('vendor', '...'); Not sure what to put for
the 2nd param as I'm unfamiliar with PHPIDS. Should be the class
On Fri, Apr 15, 2011 at 10:45 AM, Uriel Juliatti
uriel.juliattiva...@gmail.com wrote:
Hey everybody
I'd like to know how to display a list of
Manufacturers (associated with Cars) in a combobox when I create cars.
My Mysql query returns it:
SELECT `Carro`.`id`, `Carro`.`fabricante_id`,
Thanks Cricket
Well that is not the point or target that I am looking for, I am
looking for share the complete app, and having diferents webroot, I
mean shareing the app and having one approot foreach domain with its
own database. I am think on a server with a cakelib and app installed,
and the
On Sat, Apr 16, 2011 at 2:34 PM, cricket zijn.digi...@gmail.com wrote:
public function add()
{
if (!empty($this-data))
{
// attempt to save
}
$this-set(
'fabricantes',
$this-Carro-Fabricante-find('list')
);
On Sat, Apr 16, 2011 at 2:37 PM, Carlos Eduardo Sotelo Pinto
carlos.sotelo.pi...@gmail.com wrote:
Thanks Cricket
Well that is not the point or target that I am looking for, I am
looking for share the complete app, and having diferents webroot, I
mean shareing the app and having one approot
On Sat, Apr 16, 2011 at 2:40 PM, cricket zijn.digi...@gmail.com wrote:
On Sat, Apr 16, 2011 at 2:37 PM, Carlos Eduardo Sotelo Pinto
carlos.sotelo.pi...@gmail.com wrote:
Thanks Cricket
Well that is not the point or target that I am looking for, I am
looking for share the complete app, and
The Cookbook has a section on setting up the URL rewrites on IIS for
CakePHP:
http://book.cakephp.org/view/1636/URL-Rewrites-on-IIS7-Windows-hosts
On Apr 16, 9:13 am, AD7six andydawso...@gmail.com wrote:
On Apr 15, 6:03 pm, Brij brijbhushan@gmail.com wrote:
Hi All,
I just setup my
On Sat, Apr 16, 2011 at 11:06 AM, goluhaque afzal...@gmail.com wrote:
No, the image is not to be uploaded. Rather, it is to be linked. I mean, say
the image is hosted at some other website at say,
http://url.com/image/cheese.jpg . This link will be submitted but the user
and will be stored in
you can configure additional folders for your classes in bootstrap.php
http://book.cakephp.org/view/916/Additional-Class-Paths
2011/4/16 cricket zijn.digi...@gmail.com
On Sat, Apr 16, 2011 at 2:40 PM, cricket zijn.digi...@gmail.com wrote:
On Sat, Apr 16, 2011 at 2:37 PM, Carlos Eduardo Sotelo
I know this might sound kinda noob. As I observed, cakephp uses view/
layout/default.ctp as the header and footer. If I click go to another
page, is there anyway I could use another header instead of
default.ctp? For example, say I want to change the header completely
after logging in. Anyone
You could have an if or switch block in the layout to echo an element
if($logged_in){
echo $this-Element('private_header, array());
//1 element header
} else {
//other header element
echo $this-Element('public_header, array());
}
K
-Original Message-
From: cake-php@googlegroups.com
Hi Mates,
First off all, I would like to thank this group for being of great
support.
Guys, as in my project I was trying to display category list inside
select box. I am using Tree List, so what I have in my table is:
| id | category | parent_id |
Currently I am using generatetreelist()
if you are using Tree Behaviour the you need to use lft and rght field
and it will create an array based on this values...:)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu
2011/4/16 Mr.Jayesh jayeshach...@gmail.com
Hi Mates,
First off all, I would like to thank this group for being of
On Sat, Apr 16, 2011 at 3:28 PM, Vitor Pacheco vitorpc...@gmail.com wrote:
you can configure additional folders for your classes in bootstrap.php
http://book.cakephp.org/view/916/Additional-Class-Paths
Good point. That would be better.
Whether the original idea is a good one, though ...
--
If I understand the idea correct, it makes sense to me.
Example
I build a real-estate app for 1 agent, next week 2nd agent wants same thing
just different look, I could then have 100 agents all having their own site
(conditionally all sites are on 1 server) which is basically the 1 app
serving up
The location of document root (app/webroot/ in CakePHP land) is
variable. One can put the entire app in a directory accessible by each
vhost/webserver/what-have-you, and also make sure its somewhere that
can be seen by php.
Have the webserver serve up any request that isnt a static file by the
Hi Jayesh,
In the case of a Tree behaviour, the algorithm used to generate the
tree is based on ordering, its not very trivial to use ordering on the
regular sense on the tree, and maintain its structure at the same
time.
CakePHP's specific implemtation of this algorithm aside, one would
If you want pretty urls (mod_rewrite), take a look at and install
isapi_rewrite, its not opensource nor freeware, but i think theres a
'light' version around, but im not sure, it was already installed at
our windows based -- ugh -- hosting provider. The later versions are
supposed to be compatible
On Apr 16, 2011, at 07:47, Alejo wrote:
I´m looking for a shopping cart (a catalogue is ok) but I can´t use
this:
https://github.com/mfriesen/kaching-php
It looks very good, but I can´t try in my pc.
Why not?
Help us help you: tell us what you tried, why it didn't work, etc.
--
Our
On Apr 16, 2011, at 11:24, varai wrote:
On Apr 16, 4:20 pm, Ryan Schmidt wrote:
On Apr 16, 2011, at 02:57, varai wrote:
I'm getting InternalServerError on my browser when i try to access
http://localhost/otherfolders.
My localhost is only working when i try to accesshttp://localhost/cakephp
On Apr 16, 2011, at 11:15, varai wrote:
Hi,
thanks a lot for you reply.
Yes, I did read the cakephp cookbook and tried $this-Html-
meta('icon') in IE-8. I also didn't understand what favicon was. Now,
after reading ur reply, i tried it out in Mozilla Firefox and I saw
the favicon icon.
On Sun, Apr 17, 2011 at 2:04 AM, Ryan Schmidt
google-2...@ryandesign.com wrote:
On Apr 16, 2011, at 11:24, varai wrote:
Request exceeded the limit of 10 internal redirects due to probable
configuration error. Use 'LimitInternalRecursion' to increase the
limit if necessary. Use 'LogLevel debug'
On Sat, Apr 16, 2011 at 7:02 PM, Yuka Poppe y...@xs4all.nl wrote:
The location of document root (app/webroot/ in CakePHP land) is
variable. One can put the entire app in a directory accessible by each
vhost/webserver/what-have-you, and also make sure its somewhere that
can be seen by php.
On Apr 15, 2011, at 08:57, AD7six wrote:
On Apr 15, 9:25 am, Ryan Schmidt google-2...@ryandesign.com wrote:
On Apr 14, 2011, at 14:49, stas kim wrote:
This might help
http://www.pseudocoder.com/Super_Awesome_Advanced_CakePHP_Tips.pdf
search 'Case Insensitive'
I haven't read the rest
On Sun, Apr 17, 2011 at 3:38 AM, cricket zijn.digi...@gmail.com wrote:
What you and Krissy said makes sense, and is what I had in mind. But
it seems to me that there would be issues surrounding AppController ad
sessions. Maybe not. I haven't put too much thought into it.
Hmm, I hadn't even
Sorry about that.
I was wondering this forum was PT-br. Since I realized that it was not I
have said to forget about this post.
My apollogies,
Uriel.
Em 16 de abril de 2011 13:14, AD7six andydawso...@gmail.com escreveu:
Please keep to English on this group.
So I'm brand new to cakePHP, but I consider myself a pretty decent php
developer. I'm trying to give it time to soak in, but at this point
it would have been faster to write php. Hopefully someone can shove
me in the right direction as I'd really like to learn this framework.
I got my start by
On Sat, Apr 16, 2011 at 10:32 PM, Yuka Poppe y...@xs4all.nl wrote:
Yep, you're absolutely right about automation, that wasnt a very solid
point. Symlinks are nasty though -- if ony from your customers
perspective -- they dont understand what it is and how it works. You
cant serve those things
i have a ul with js-sortable.
the li's have id to save.
how do i submit this data to the controller?
am i going about this the wrong way?
any tips considering it's nested ul's?
--
View this message in context:
On Sat, Apr 16, 2011 at 5:34 PM, turbo2ltr turbo2...@gmail.com wrote:
So I'm brand new to cakePHP, but I consider myself a pretty decent php
developer. I'm trying to give it time to soak in, but at this point
it would have been faster to write php. Hopefully someone can shove
me in the right
I'm new to baking too …
I believe you need a couple of lines like:
$part_types = $this-Part-PartType-find('list');
$this-set(compact('part_types'));
At the end of your baked Edit and Add methods.
Hope that helps,
cheers
--
Our newest site for the community:
On Sat, Apr 16, 2011 at 11:45 PM, Nic crustysn...@gmail.com wrote:
i have a ul with js-sortable.
the li's have id to save.
Sortable in what sense? Is this a JSHelper thing? I don't use it
myself but I do use jquery.ui.sortable. Here's the synopsis:
http://pastebin.com/mAppQ789
how do i submit
trying to use jshelper.
so..
?php $this-Js-get('sortlist')-sortable(); ?
lets me move the lis all around but how do i save that?
with the other form data on the page?
trying to do it as cake-like as possible.
--
View this message in context:
like stated above, you need 'lft' and 'rght' fields in your table.
check out this: http://en.wikipedia.org/wiki/Nested_set_model nested set
model: wikipedia
and you can figure out what to populate your fields with to start off.
--
View this message in context:
58 matches
Mail list logo