saveAll fails with the following error:
Warning (2): Illegal string offset 'user_id' [CORE/Cake/Model/Model.php, line
2094]
Just for the record I managed to get rid of this error.
I found out that even if the relation was defined as hasMany, in the working
case it was treated as hasOne,
@José Lorenzo Thanks alot
My problem is solved.changed cakephp version from 2.5.0 to 2.5.2
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
CakePHP
'CmsPage.rgt' = *'CmsPage.rgt + 2'*
On Thursday, July 17, 2014 11:15:48 PM UTC+2, Sam Clauw wrote:
I try to do an update all in my add action with the following method:
$this-CmsPage-updateAll(
array(
'CmsPage.rgt' = *('CmsPage.rgt' + 2)*
),
array(
hi guys
quick question
how can i force www. and which .htaccess file should i be editing?
I currently have this as my public_html
IfModule mod_rewrite.c
RewriteEngine on
RewriteRule^$ app/webroot/[L]
RewriteRule(.*) app/webroot/$1 [L]
/IfModule
--
Like Us on
You should be able to add something like this
http://stackoverflow.com/a/4916313 to your app/webroot/.htaccess file if
I'm not mistaken
On 18 July 2014 13:46, vbpupil vbpu...@gmail.com wrote:
hi guys
quick question
how can i force www. and which .htaccess file should i be editing?
I
Thanks Stephen
On Friday, July 18, 2014 1:57:37 PM UTC+1, Stephen S wrote:
You should be able to add something like this
http://stackoverflow.com/a/4916313 to your app/webroot/.htaccess file if
I'm not mistaken
On 18 July 2014 13:46, vbpupil vbp...@gmail.com javascript: wrote:
hi
Don't know if this is a bug or a feature but I am trying to make Paginator
templates work with themes
I have to put the following in the AppController of the main program to
make it work.
public $helpers = [
'Paginator' = ['templates' = 'Twit.paginator-templates.php']
];
If I