solved,...
On Friday, November 23, 2012 9:53:16 PM UTC-8, Chris wrote:
hi guys,...
is there a way of show group, blog, photo,... whichever comes in in
notification table
I have a view of:
?php $i = 0 ?
?php foreach($notes as $note): ?
?php echo
Hi Bob,
I just skipped the automatic deployment, set up a machine and installed all
the needed apps myself and it worked. You have to do some extra work
yourself or just forget the AWS.
regards,
Mohammad
Java C# desktop developer
PHP web developer
On Wednesday, August 8, 2012 12:14:59 PM UTC+5:30, raj kumar Pustela wrote:
hi all,
I am struggled one thing if any one know please help me.
how to create google maps in cakephp 2.0.3 through lat and lang
dynamically.
and
how to send emails using wamp server .
--
Like
Fatal Error
*Erro: * Call to undefined method
PHPUnit_Framework_AssertionFailedError::getComparisonFailure()
*File:
*/home/lucas/public_html/eventos-backend/lib/Cake/TestSuite/Reporter/CakeHtmlReporter.php
*Line: * 252
Whats wrong?
--
Like Us on FaceBook
I am using UpdateAll in my Users controller as follows:
$this-User-MsgReceived-updateAll(
array(
'MsgReceived.from_user_id' = 'null',
'MsgReceived.sender' = $username
),
array('MsgReceived.from_user_id' = $user_id)
);
This causes an error because Cake is not putting quotes
In my Users controller I am trying to save to another model:
$this-loadModel('Delemail');
$de_data = array(
'Delemail' = array(
'username' = $username,
'email' = $email,
'blacklisted' = 'false'
)
);
$this-Delemail-Create();
$this-Delemail-Save($de_data);
I don't see
I put quotes around the field value and this fixed the problem:
'MsgReceived.sender' = ''.$username.''
--
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
I struggled with the problems described in messages from new CakePHP
users. The Cake install looked OK, but when I went through the Blog Adding
a Layer tutorial I'd get these kinds of messages.
Error: PostController could not be found
Error: Create the class PostController below in file:
Hi everyone. I am working on a little project to learn more about Cake
that involves using a locale as a sub domain. An example of a popular
website that incorporates this type of functionality is craigslist. ex:
pittsburgh.craigslist.org
I am running the latest version of Cake, 2.2.3 on a
Are you checking for validation errors?
A couple of suggestions:
use -create and -save (note the lower case letters)
Try -save($de_data['Delemail'])
Are you sure you mean 'false' and not false or 0?
Try:
if (!$this-Delemail-save($de_data['Delemail'])) {
Hello,
You could do something like this to start:
protected function _getSubDomain() {
$url = explode('.', $_SERVER['HTTP_HOST']);
return $url[0];
}
public function index() {
$locale = $this-_getSubDomain();
11 matches
Mail list logo