Anyone?
On Jan 24, 9:33 am, ERic ZoU <[EMAIL PROTECTED]> wrote:
> Hi, everyone,
>
> I update my 1.19 to 1.2. There are errors occur below. What happened?
> Is the error from my Host?
>
> Warning: is_dir() [function.is-dir]: open_basedir restriction in
> effect. Fil
Hi,
When I update my 1.19 to 1.2 beta, I saw these below:
"open_basedir restriction in effect"
What's going on?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send emai
Hi, everyone,
I update my 1.19 to 1.2. There are errors occur below. What happened?
Is the error from my Host?
Warning: is_dir() [function.is-dir]: open_basedir restriction in
effect. File(/usr/share/pear/cake/libs/model) is not within the
allowed path(s): (/webhosting/katiezhou) in /webhosting/
Hi, every bakers.
I am using Cake for a while already. Now, I wanna make a ajax function
to check username is exist or not when they wanna sign-up.
So, I add following lines in my register.thtml:
input('User/email', array('size' =>
'20','id'=>'UserEmail'))?>
observeField('UserEmail', arr
It is works.
BUT, how come? Why should add this before saving?
--~--~-~--~~~---~--~~
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
Hi, everyone,
As the title, I cant save the $dateTimeOptionTag for my edit function.
In my add fuction, it works great. I can add it and save it into mysql.
When I use edit, I can retrive the data. BUT, when I try to save it, I
cant save the dateTime only. The rest all works great.
I set core
I have the Code below.
---star.thtml-
link('1','/stars/update/1',array('title'=>'one
star','class'=>'one-stars','update' => array('first', 'second')))?>
... ...
link('5','/stars/update/5',array('title'=>'five
stars','class'=>'five-
Hi, everyone,
I am doing a shopping-chart.
And I have users,goods, and users_goods. There are three tables.
I can add and delete from the app.
I create Users HABTM Goods.
Now, I have the array when I check one user's shopping-chart. I get the
array:
Array
(
[0] => Array
(
Hi, everyone,
I just using Cake 1.2.
Normally, in the stable version. We just need define a router like:
$Route->connect('/', array('controller' => 'events','action' =>
'index'));
And then all the action related with events like view, edit will work
perfectly.
BUT in the 1.2, I also define a
Thanks Larry.
The chinese version is working great. Either UTF-8 or zh_cn. They are
all display correctly.
Happy Baking!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, sen
There is an update for the UTF-8 version of chinese translation.
http://cake-php.googlegroups.com/web/core_cn.po?gda=mGhuhUAVwNXi_7HLSeeNtp-vxh5uuIaurEuUWNzVBSNAuY3UwxVJVT3hrgKrn_IySc8la3L-i4RZeB3zLTIjCHeVPGfY
For the Chinese (PRC) , the Encoding is not big5. It is GB2312.
http://cake-php.g
I upload the simplified chinese version.
http://cake-php.googlegroups.com/web/default_cn.pot?gda=hVRNVUQVwNXi_7HLSeeNtp-vxh5u1IZ0X1MmydGPyNbqvg18SxVJVT3hrgKrn_IySc8la3LpqZ0dUu1Der_RXnFhzun4PaL7CSlCrVPCyuUyW4rK6w&hl=en
Happy Baking!
Happy Christmas!
--~--~-~--~~~-
http://hi.baidu.com/xeboy
Try to look through my blog.
It will give u some simple examples.
Hopes it will helps
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email
http://groups.google.com/group/cake-php/browse_thread/thread/e921d173b7c41519/becb28c858e4d683?lnk=gst&q=sortable&rnum=3#becb28c858e4d683
Try this!
I did it works with the post.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
I was trying to define var $displayField = ' name '; but it seems
doesnt work. Let me try again.
For the second one, i should create a js: changeSelect( ). Thanks. Try
to suffer it..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Ok. thanks kind buddy in the irc , jacob and kalileo
The first question's solution in already in the API.
$this->set('list',$this->Fenlei->generateList(null, null, null,
'{n}.Fenlei.name', '{n}.Fenlei.name'));
BUT how is the second one ?
--~--~-~--~~~---~--~~
Y
Hi, everyone,
I have such situation. I use generate( ) to get a model's list array
like:
Array
{
[0] => yellow
[1] => red
[2] => black
}
And then I use
selectTag('Fenlei/lanmu_id', $lanmus,'', null,
null, false);?>
It works fine.
It pass the id to the Fenlei/lanmu_id. But now I
Hi, All,
I am creating a website tht have 3 different lanuage version. And I try
to use the Locale Package. It great.
But,
Create or edit this file /app/views/layouts/default.thtml, adding this
line anywhere.
renderElement('language', $params) ?>
Now the user need only press a button to be ab
Thanks Adrian. "s"
Big "S"
--~--~-~--~~~---~--~~
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 email to [EMAIL P
Hi, All
--In my default.thtml-
charset('UTF-8')?>
link('prototype')?>
link('scriptaculous.js?load=effects')?>
But
Notice: Undefined variable: javacript in F:\Program
Files\xampp\htdocs\zhuoyue\app\views\layouts\default.thtml on line 36
Fatal error: Call to a member func
Hi, everyone
This is my blog about Cake in chinese. Hopes, it can give others basic
information. It contains all the work I have done.
http://hi.baidu.com/xeboy/blog
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
What is your cakephp in the address?
At that potision, it should be your controller.
--~--~-~--~~~---~--~~
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
Seems the code is right.
What is your products table?
It should have:
id name related_id... ..
Hopes it helps!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Cake PHP" group.
To post to this group, send email
Thanks. There is A *SPACE* after the ?>. IT works!
BUT, someone help me about the content inside. I sent the e-mail
sucessful. BUT, it contains nothing.
It should be the pro. about the template. I add some testing info. in
the email_body_html.thtml and the email_body_plain.thtml
BUT there is no
24 matches
Mail list logo