Did you have a question?

Cheers,
Graham / Predominant

On Mon, Jul 19, 2010 at 5:01 AM, دل <[email protected]> wrote:
> Notice (8): Undefined index: id [CORE\cake\libs\model\model.php, line
> 1325]
> Code | Context
>
>                $success = (bool)$db->update($this, $fields, $values);
>            } else {
>                $fInfo = $this->_schema[$this->primaryKey];
>
> $data   =       array(
>        "CountryName" => "Hello"
> )
> $validate       =       array(
>        "validate" => true,
>        "atomic" => true
> )
> $fieldList      =       array()
> $defaults       =       array(
>        "validate" => true,
>        "fieldList" => array(),
>        "callbacks" => true
> )
> $_whitelist     =       array()
> $fields =       array(
>        "CountryName"
> )
> $options        =       array(
>        "validate" => true,
>        "fieldList" => array(),
>        "callbacks" => true,
>        "atomic" => true
> )
> $field  =       "modified"
> $keyPresentAndEmpty     =       false
> $exists =       false
> $dateFields     =       array(
>        "modified",
>        "updated",
>        "created"
> )
> $this   =       Country
> Country::$name = "Country"
> Country::$useTable = "countries"
> Country::$useDbConfig = "default"
> Country::$displayField = false
> Country::$id = false
> Country::$data = array
> Country::$table = "countries"
> Country::$primaryKey = "id"
> Country::$_schema = array
> Country::$validate = array
> Country::$validationErrors = array
> Country::$tablePrefix = ""
> Country::$alias = "Country"
> Country::$tableToModel = array
> Country::$logTransactions = false
> Country::$cacheQueries = false
> Country::$belongsTo = array
> Country::$hasOne = array
> Country::$hasMany = array
> Country::$hasAndBelongsToMany = array
> Country::$actsAs = NULL
> Country::$Behaviors = BehaviorCollection object
> Country::$whitelist = array
> Country::$cacheSources = true
> Country::$findQueryType = NULL
> Country::$recursive = 1
> Country::$order = NULL
> Country::$virtualFields = array
> Country::$__associationKeys = array
> Country::$__associations = array
> Country::$__backAssociation = array
> Country::$__insertID = NULL
> Country::$__numRows = NULL
> Country::$__affectedRows = NULL
> Country::$_findMethods = array
> $db     =       DboMysql
> DboMysql::$description = "MySQL DBO Driver"
> DboMysql::$_baseConfig = array
> DboMysql::$startQuote = "`"
> DboMysql::$endQuote = "`"
> DboMysql::$_useAlias = true
> DboMysql::$_commands = array
> DboMysql::$fieldParameters = array
> DboMysql::$tableParameters = array
> DboMysql::$columns = array
> DboMysql::$index = array
> DboMysql::$alias = "AS "
> DboMysql::$methodCache = array
> DboMysql::$cacheMethods = true
> DboMysql::$__bypass = false
> DboMysql::$__sqlOps = array
> DboMysql::$virtualFieldSeparator = "__"
> DboMysql::$connected = true
> DboMysql::$fullDebug = false
> DboMysql::$error = NULL
> DboMysql::$affected = 0
> DboMysql::$numRows = NULL
> DboMysql::$took = 0
> DboMysql::$_result = true
> DboMysql::$_queriesCnt = 0
> DboMysql::$_queriesTime = NULL
> DboMysql::$_queriesLog = array
> DboMysql::$_queriesLogMax = 200
> DboMysql::$_queryCache = array
> DboMysql::$__descriptions = array
> DboMysql::$_sources = array
> DboMysql::$connection = resource
> DboMysql::$config = array
> DboMysql::$configKeyName = "default"
> DboMysql::$_transactionStarted = true
> DboMysql::$cacheSources = true
> DboMysql::$results = true
> DboMysql::$map = array
> $updateCol      =       "created"
> $result =       true
> $values =       array(
>        "Hello"
> )
> $v      =       array(
>        "CountryName" => "Hello"
> )
> $n      =       "Country"
> $y      =       "Hello"
> $x      =       "CountryName"
> $count  =       1
> $success        =       true
> $created        =       false
> $cache  =       array()
>
> Model::save() - CORE\cake\libs\model\model.php, line 1325
> Model::__save() - CORE\cake\libs\model\model.php, line 1759
> Model::saveAll() - CORE\cake\libs\model\model.php, line 1661
> HomeController::userregister() - APP\controllers\home_controller.php,
> line 9
> Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 204
> Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 171
> [main] - APP\webroot\index.php, line 83
>
>
>
> company logo
> Sign in/Create Account | Account Bookings
> Home    Deals    Custormers Service   Site Feedback
>
>    *
>      Customer Registration
>      Step 1
>    *
>    *
>    *
>      Title:
>      First Name:
>      Last Name:
>      Country
>      Nature of Business:
>      How did you hear about us?
>        *Please complete all fields in order to continue, and click
>      Thank you, please click next Next
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others 
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups 
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at 
> http://groups.google.com/group/cake-php?hl=en
>

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to