Hello!
In my controller I have function called "add".
I use the requestAction to retreave an array that contains one record
of the model Sucursals.
<--Cortes_Controller.php-->
class CortesController extends AppController
{
function add() {
$this->set('sucursal',$this->requestAction('sucursals
I plan on building a website that accepts payments, and upon the
payment being successful, the website knows this, and grants them the
privilage they paid for on the site. Don't want to get into specifics
of my project, lets just say, for example, they are posting classified
ad, and each ad costs
On 28-Apr-06, at 5:21 PM, BoBB wrote:
> One thing you can do make sure is right after you pull that info
> from the DB do a var_dump on the array, wrap it in pre html tags to
> make it easier to read and disect the array it is returning.
Note that Cake provides a pr() function which will giv
On 28-Apr-06, at 7:14 AM, [EMAIL PROTECTED] wrote:
>
> Hi ,
> dear all
> I have a tricky problem about cake and jpgraph.I copy
> the jpgraph libs to a subdir of my cake app.But everytime I want to
> include some
> of the jpgraph lib files in my cotrollers so that I can output some
> image
On 28-Apr-06, at 5:21 PM, BoBB wrote:
> One thing you can do make sure is right after you pull that info
> from the DB do a var_dump on the array, wrap it in pre html tags to
> make it easier to read and disect the array it is returning.
Note that Cake provides a pr() function which will giv
If you are doing a findAll I am pretty sure it will return in an array in the form of $arrayName[0]['Area']['name'] ... if you are doing just a find it will only return one result and therefore not the extra tier in the array. One thing you can do make sure is right after you pull that info from th
ah! the error is in line : file: index.php(People)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, se
The error message is:
Notice: Undefined index: Area in
/var/www/conferencias/app/views/people/index.thtml on line 19
do you help me?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to thi
I did mistake :
If I do : "echo $_ENV['DOCUMENT_ROOT'];" ON LOCAL VERSION :
d:/work/www
If I do : "echo $_ENV['DOCUMENT_ROOT'];" online
/home/iciservi/www/dir/app/webroot
If I modify line 392 of dispatcher class, it work, but it not a good
solution. First because I don't understand why and se
Hi,
I am slowly completing my cake application and I am slowly needing to
increase the PHP memory allocation in php.ini to run the scripts.
I have gone from 8M to 16M to 32M and am now at 64M in the php.ini file.
I will get a controller dump and a fatal memory allocation error when
there is
I think the official word is CakePHP only supports PHP > 4.3.11, but I could be mistaken.And I did report an enhancement to finding the last insert id using MySQL SQL command rather than the PHP mysql_insertid method. So, maybe that enhancement would apply here?
On 4/28/06, Eric Banford <[EMAIL PR
I'm seeing a production issue with PHP4.3.2 where after an update of a
record the last insert ID gets lost. I have PHP4.4.1-pl1 on my machine,
and it works just fine. My suspicion is it has something to do with the
logic branches in cake\libs\model\model_php4.php, but I'm not sure where.
Does
Hi
My Javascript helper is returning a wrong path
/cake/treecms/js/fckeditor.js instead of
/cake/treecms/app/webroot/js/fckeditor.js
so app/webroot/ is missing.
I just change dev server could it be the cause of that ? I'm confused.
the javascript helper looks like that :
function link(
Your DOCUMENT_ROOT is defined in the apache configuration file. You have it set correctly to use with cake with DOCUMENT_ROOT as $PATHH_TO_CAKE/app/webroot .. if you changed it cake would operate a bit differently using the url rewrite to redirect to the index in /app/webroot
On 4/28/06, Naonak <[E
The latest trunk version of CakePHP uses the php method
mysql_last_insertid() exclusively to find the last inserted id of the
last record. However, this function may not work properly on some
servers. I have submitted an enhancement ticket #717 to the trac.
In the meantime, here is the work aro
I'm creating a form helper that generates your html with all validation
from the model in place (This keeps the validation rules out of your
view 100%). I'm using it kind of like this:
init(@$validations, @$data); ?>
Property Information
hidden(array('id'=>'Property/id'))?>
Hi ,
dear all
I have a tricky problem about cake and jpgraph.I copy
the jpgraph libs to a subdir of my cake app.But everytime I want to
include some
of the jpgraph lib files in my cotrollers so that I can output some
images, my cake framework crashes, and all I can see is a whole white
pag
Hi ,
dear all
I have a tricky problem about cake and jpgraph.I copy
the jpgraph libs to a subdir of my cake app.But everytime I want to
include some
of the jpgraph lib files in my cotrollers so that I can output some
images, my cake framework crashes, and all I can see is a whole white
pag
I have problem with online version of my website :
If I do : "echo $_ENV['DOCUMENT_ROOT'];" online
d:/work/www
If I do : "echo $_ENV['DOCUMENT_ROOT'];" online
/home/iciservi/www/dir/app/webroot
In theory, it should be :
/home/iciservi/www
Result, all link generate by the method "baseUrl" of
and the status of posts, photos, collections - once created - is always
'hidden' (status = 0)
Is it normal ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cak
I installed this cake app (http://cakeforge.org/projects/rdos/ ) and
tried to use it
I have a problem : I created collections but they never display
(they're in database with status 0)
I tried to change their status to 1 but it doesn't work
did someone have the same problem ?
Could someone help m
Great progress bar. But why do you need the perl script? Would it be
possible to program de perl script in php?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to
Hi AD7six,
Yes, In most cases the solution $html->link("text",
'/admin/myplugin/mycontroller/action',
Array(), false, false); is enough.
I was trying to point the method "index" from a helper, without having
to specify all the route "/admin/myplugin/mycontroller/", just pointing
to a relative pa
What does it do or what error message do you get?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send
I think you need to give the different bleongsTo associations different
names as well as state their different foreign keys, but the class
names must be the same.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
25 matches
Mail list logo