Questions tagged with error

2 answers

0 votes

Asked by bbender, on 12/11/09 in

Error: Controller could not be found.

Greetings All,

Thanks to the answer to my other question, I now have my app up and running. yay! Anyway, now I was moving on to replacing the default cake page and replacing it with a page more formatted to my site (assuming it to be in...

3 answers

0 votes

Asked by asjinc, on 23/11/09 in

Warning that needs translation...

I am new to Cake and just installed it to a server. When I did, I got the following warning on the initial page that I am hoping someone can explain to me:


Warning (2):...

1 answer

0 votes

Asked by kani, on 27/11/09 in

class "connectionmanager" not found

i newly installed cakephp vertion 1.3

and all config is ok

Fatal error: class "connectionmanager" not found ... when i create model controller from console.


>cake bake
d 
m
v
...
>m
use <default/test>
[default]>
Fatal error: Class...

2 answers

0 votes

Asked by MissYeh, on 1/12/09 in

Display form field specific validation errorsspecific

I can get the form validation errors to work with a form that validates against 1 model.

But now I have a mixed form and validate against multiple models.

The field specific errors don't show anymore, but luckily I can catch the field erros using...

1 answer

0 votes

Asked by JakubLedl, on 5/12/09 in

Validation summary

Hi guys,

I know that if I use $form-input(), the validation errors will be shown automatically. This is really neato, but at this moment, I need a different behavior. I want those validation errors shown like a validation summary on top of the...

2 answers

0 votes

Asked by Baraqyal, on 11/12/09 in

Cake equivalent to Joomla's enqueueMessage()

Howdy all, totally new to Cake, was wondering if Cake has an equivalent to Joomla's

JFactory::getApplication()->enqueueMessage( 'Error Message' , 'error' );

Or substitute with notice / info.

2 answers

0 votes

Asked by dhanya, on 22/12/09 in

How to get rid of Uninitialized string offset: 0 in cakephp

hi all

I get a "Uninitialized string offset: 0 "in my view page .

This error is shown in the related views tables.

How to get rid of this error. please help

thanking you....

1 answer

-1 votes

Asked by sebb86, on 3/1/10 in

How to solve "Fatal error: Cannot redeclare ..."

Hello,

when i run my application (http:127.0.0.1/hardware_units//), the following error occurs:

Fatal error: Cannot redeclare HardwareUnit::$belongsTo in C:...patch...\cake\app\models\hardware_unit.php on line 16

This error occurs also with every...

1 answer

0 votes

Asked by mschot, on 6/1/10 in

using a variable in custom validation rule

I am trying to validate that a certain title is not already used by another child of the parent that i am trying to add a new child to.

So i will need to get the parent_id from the form and then use it in the custom validation rule.

But it seems...

1 answer

0 votes

Asked by euromark, on 24/1/10 in

ErrorLogging in Cake1.3

my error.log has thousands of these entries each day:

2010-01-24 16:43:42 Warning: Warning (2):

htmlspecialchars() [<a href='function.htmlspecialchars'function.htmlspecialchars]: Invalid multibyte sequence in argument in [/.../cake/basics.php, line...

1 answer

0 votes

Asked by lakum4cakephp, on 1/2/10 in

How to store error messages in variables?

Hi All,

I am trying to get all the errors in a variable. The problem is that I can get missing controller and missing method or error404 like errors. But I want to get warnings and notice errors in variable. How to do this. I am just trying to...

1 answer

0 votes

Asked by pjb, on 2/2/10 in

Error sending confirmation email

Hi, I'm trying to send a confirmation email using the email component when a user signs up, but am getting the following error...

Fatal error: Call to undefined function set() in .../home/myappfolder/app/controllers/users_controller.php

Here is my...

1 answer

0 votes

Asked by blacksymmetry, on 8/2/10 in

Calling function register with error

Hello,

i have got function with name register, that is used for get values from register form and insert into database.


	function register()
	{


		if (!empty($this->data)) {
				
			$this->User->create();
			if ($this->User->saveAll($this->data))...

2 answers

0 votes

Asked by blacksymmetry, on 9/2/10 in

How to solve inserting parameters into the form?

Hello, I would like put some values into a form as hidden input fields.

I have got a function with name:


function detail($id = null)
	{
		//some app logic
		$this->set('detail_values', $this->Company->read(null, $id));
	}

In this function adding...

1 answer

0 votes

Asked by tnbrooks, on 21/2/10 in

How to overcome Uninitialized string offset error message

Hi there Im getting the following error when I try to do multiple saves and just change one if multiple checkboxes have been selected. The error message is this:

Notice (8): Uninitialized string offset: 1...

1 answer

0 votes

Asked by designvoid, on 23/2/10 in

Missing Method/Controller errors returned in XML? Possible?

I am implementing a web service as part of an app I am building and would like all errors returned in XML when the initial request is XML

I found this...

0 answers

0 votes

Asked by joaquin, on 2/3/10 in

Using Controller tests to find warnings

I'm doing some refactoring that affect all controllers and wanted to make sure I covered everything by looking at my controller tests and watching for errors and warnings raised with trigger_error. The problem comes that when I run a test that is...

1 answer

0 votes

Asked by zephyr7, on 7/3/10 in

cake doesn't display validation errors

For some reasons, when I press the button, validation errors are not shown... Could you please help me somehow?

here are my files:

users_controller.php

<?php

class UsersController extends AppController {

var $name = 'Users';

var $helpers =...

1 answer

0 votes

Asked by afixisitansu, on 8/3/10 in

$form->error wrapped inside div and p tags.

How to display an error message wrapped inside a p tag which is further wrapped inside a div ,using $form-error('field name',array('class'='msg msg-error'));

The corresponding html code is:

<div class="msg msg-error"

I'm an error message and I'm...

0 answers

0 votes

Asked by blacksymmetry, on 13/3/10 in

Translation - Class 'I18n' not found

Hello, I would like translate my website titles.

But if i crate folders, that I need and write this command into command line:

C:\Data\Programing\PHP\www\Agentes\Dobrapovest\app_frontend\cake\consolecake extract

Get error:

Fatal error: Class 'I18n'...

<< previous 1   2   3