Bug #37
Adding New Project fails
| Status: | Closed | Start: | ||
|---|---|---|---|---|
| Priority: | High | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | Projects | |||
| Target version: | 0.6.0 | |||
| Resolution: | fixed |
Description
admin/project/add.html
Entered new project name and clicked on Add Project
Runtime Message
An error was detected which prevented the loading of this page. If this problem persists, please contact the website administrator.
application/controllers/admin/project.php r47:
Undefined variable: client
Stack Trace
*
Project_Controller->add( )
- system/core/Kohana.php r304:
ReflectionMethod->invokeArgs( Project_Controller Object
(
[template] => View Object
(
[kohana_filename:protected] => /export/home/wwwroot/argentum/application/views/template.php
[kohana_filetype:protected] => .php
[kohana_local_data:protected] => Array
(
[title] => ArgentumInvoice
[body] => View Object
(
[kohana_filename:protected] => /export/home/wwwroot/argentum/application/views/admin/project/form.php
[kohana_filetype:protected] => .php
[kohana_local_data:protected] => Array
(
[project] => Project_Model Object
(
[table_name:protected] => projects
[data:protected] => Array
(
[id] =>
[name] => chippers
[client_id] => 5
[notes] =>
[complete] =>
[taxable] =>
)[rules:protected] => Array
(
[name] => Array
(
r0 => required
r1 => standard_text
)[client_id] => Array
(
r0 => required
r1 => numeric
)[notes] => Array
(
))[has_many:protected] => Array
(
)[belongs_to:protected] => Array
(
)[callbacks:protected] => Array
(
)[db:protected] => Database Object
(
[config:protected] => Array
(
[benchmark] => 1
[persistent] =>
[connection] => Array
(
[type] => mysql
[user] => root
[pass] =>
[host] => localhost
[port] =>
[socket] =>
[database] => argentum
)[character_set] => utf8
[table_prefix] =>
[object] => 1
[cache] =>
[escape] => 1
)[driver:protected] => Database_Mysql_Driver Object
(
[link:protected] => Resource id #32
[db_config:protected] => Array
(
[benchmark] => 1
[persistent] =>
[connection] => Array
(
[type] => mysql
[user] => root
[pass] => nomoreDOS
[host] => localhost
[port] =>
[socket] =>
[database] => argentum
)[character_set] => utf8
[table_prefix] =>
[object] => 1
[cache] =>
[escape] => 1
)[config] => Array
(
[connection] => Array
(
[pass] =>
)))[link:protected] => Resource id #32
[select:protected] => Array
(
)[set:protected] => Array
(
)[from:protected] => Array
(
)[join:protected] => Array
(
)[where:protected] => Array
(
)[orderby:protected] => Array
(
)[order:protected] => Array
(
)[groupby:protected] => Array
(
)[having:protected] => Array
(
)[distinct:protected] =>
[limit:protected] =>
[offset:protected] =>
[last_query:protected] => SELECT *
FROMsessions
WHEREsession_id= 'rbatsff1p95ut79fnn3s7hp280'
LIMIT 0, 1
))[errors] => Kohana_User_Exception Object
(
[template:protected] => kohana_error_page
[header:protected] =>
[code:protected] => auto_modeler.validation_error
[message:protected] => <ul class="errors">
<li rel="name">form_errors.name.default</li>
</ul>[string:private] =>
[file:protected] => /export/home/wwwroot/argentum/application/libraries/Auto_Modeler.php
[line:protected] => 108
[trace:private] => Array
(
r0 => Array
(
[file] => /export/home/wwwroot/argentum/application/controllers/admin/project.php
[line] => 38
[function] => save
[class] => Auto_Modeler
[type] => ->
[args] => Array
(
))r1 => Array
(
[function] => add
[class] => Project_Controller
[type] => ->
[args] => Array
(
))r2 => Array
(
[file] => /export/home/wwwroot/argentum/system/core/Kohana.php
[line] => 304
[function] => invokeArgs
[class] => [[ReflectionMethod]]
[type] => ->
[args] => Array
(
r0 => Project_Controller Object
RECURSION
r1 => Array
(
)))r3 => Array
(
[function] => instance
[class] => Kohana
[type] => ::
[args] => Array
(
))r4 => Array
(
[file] => /export/home/wwwroot/argentum/system/core/Event.php
[line] => 209
[function] => call_user_func
[args] => Array
(
r0 => Array
(
r0 => Kohana
r1 => instance
)))r5 => Array
(
[file] => /export/home/wwwroot/argentum/system/core/Bootstrap.php
[line] => 55
[function] => run
[class] => Event
[type] => ::
[args] => Array
(
r0 => system.execute
))r6 => Array
(
[file] => /export/home/wwwroot/argentum/index.php
[line] => 122
[args] => Array
(
r0 => /export/home/wwwroot/argentum/system/core/Bootstrap.php
)[function] => require
)))[title] => Add
))))[auto_render] => 1
[uri] => URI Object
(
)[input] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] =>
[ip_address] =>
)[auth] => Auth Object
(
[session:protected] =>
[config:protected] => Array
(
[driver] => [[AutoModelerORM]]
[hash_method] => sha1
[salt_pattern] => Array
(
r0 => 1
r1 => 3
r2 => 5
r3 => 9
r4 => 14
r5 => 15
r6 => 20
r7 => 21
r8 => 28
r9 => 30
)[lifetime] => 1209600
[users] => Array
(
))[driver] => Auth_AutoModelerORM_Driver Object
(
[config:protected] => Array
(
[driver] => [[AutoModelerORM]]
[hash_method] => sha1
[salt_pattern] => Array
(
r0 => 1
r1 => 3
r2 => 5
r3 => 9
r4 => 14
r5 => 15
r6 => 20
r7 => 21
r8 => 28
r9 => 30
)[lifetime] => 1209600
[users] => Array
(
))[session:protected] => Session Object
(
[input:protected] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] =>
[ip_address] =>
))))[session] => Session Object
(
[input:protected] => Input Object
(
[use_xss_clean:protected] => 1
[magic_quotes_gpc:protected] =>
[ip_address] =>
)))
)*
Kohana::instance( )
- system/core/Bootstrap.php r55:
Event::run( system.execute )
- index.php r122:
require( system/core/Bootstrap.php )
Loaded in 0.2765 seconds, using 1.85MB of memory. Generated by Kohana v2.2.
Associated revisions
History
Updated by Jeremy Bush about 3 years ago
- Status changed from New to Closed
- Resolution set to fixed
I can't seem to reproduce this, but r81 should fix it.