Bug (approved)

"Can't set dbItem->comments" after upgrading to version 0.0621

Summary

approved
Jun 18, 2006
100%
Jun 21, 2006
Jun 18, 2006 / tino
Jun 22, 2006 / pixtur
pixtur
 

Attached files

No files uploaded
 
Error 20060618202139 NOTICE: std/class_pagehandler.inc.php : 425 Trying to get property of non-object
Error 20060618202139           pages/login.inc.php : 119 -> PageForm::__toString()
Error 20060618202139 std/class_pagehandler.inc.php : 650 -> loginForm()
Error 20060618202139                     index.php : 241 -> PageHandler::show("loginForm")
Error 20060618202139 
Error 20060618202139      Variables in __toString():
Error 20060618202139                        params = Array
Error 20060618202139                          auth = Object id #1
Error 20060618202139                          from = edit_request_time=1150654899&go=loginForm
Error 20060618202139                           md5 = c4d8004ba286937ac1184296824cb9ca
Error 20060618202139           flag_already_stored = NULL
Error 20060618202139                stored_handles = NULL
Error 20060618202139    v0.0621, loginForm, from 127.0.0.1,  uri:/streber_dev/index.php?go=loginForm
Error 20060618202139 

Error 20060618202139 WARNING: std/class_pagehandler.inc.php : 466 rename(_tmp/d41d8cd98f00b204e9800998ecf8427e,_tmp/d41d8cd98f00b204e9800998ecf8427e_tmp) [<a href='function.rename'>function.rename</a>]: Permission denied
Error 20060618202139    render/render_form.inc.php : 442 -> PageHandler::defineFromHandle([1])
Error 20060618202139           pages/login.inc.php : 119 -> PageForm::__toString()
Error 20060618202139 std/class_pagehandler.inc.php : 650 -> loginForm()
Error 20060618202139                     index.php : 241 -> PageHandler::show("loginForm")
Error 20060618202139 
Error 20060618202139      Variables in defineFromHandle():
Error 20060618202139                        params = Array
Error 20060618202139                          auth = Object id #1
Error 20060618202139                          from = edit_request_time=1150654899&go=loginForm
Error 20060618202139                           md5 = c4d8004ba286937ac1184296824cb9ca
Error 20060618202139           flag_already_stored = NULL
Error 20060618202139                stored_handles = Array
Error 20060618202139                      filename = _tmp/d41d8cd98f00b204e9800998ecf8427e
Error 20060618202139                            FH = Resource id #38
Error 20060618202139                          data = 6707a6963059ef4837558a832164f1a1|person=2&id=personView
Error 20060618202139 1cdff52583816a27aa8af01b389af3cc|id=personList
Error 20060618202139 962f46ae2bc89a315302cba0900db022|id=projListClosed
Error 20060618202139 b0a42e7ffa70544c609a1e5995fe4418|id=projList
Error 20060618202139 3342bbb8f89767467a2bd8f1d7951173|id=personListAccounts
Error 20060618202139 e43522143ef8584e473d1e1231da9276|id=home
Error 20060618202139                           arr = Array
Error 20060618202139                          line = e43522143ef8584e473d1e1231da9276|id=home
Error 20060618202139                       tmp_arr = Array
Error 20060618202139    v0.0621, loginForm, from 127.0.0.1,  uri:/streber_dev/index.php?go=loginForm
Error 20060618202139 

Error 20060618202139 WARNING: std/class_pagehandler.inc.php : 468 fopen(_tmp/d41d8cd98f00b204e9800998ecf8427e_tmp) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied
Error 20060618202139    render/render_form.inc.php : 442 -> PageHandler::defineFromHandle([1])
Error 20060618202139           pages/login.inc.php : 119 -> PageForm::__toString()
Error 20060618202139 std/class_pagehandler.inc.php : 650 -> loginForm()
Error 20060618202139                     index.php : 241 -> PageHandler::show("loginForm")
Error 20060618202139 
Error 20060618202139      Variables in defineFromHandle():
Error 20060618202139                        params = Array
Error 20060618202139                          auth = Object id #1
Error 20060618202139                          from = edit_request_time=1150654899&go=loginForm
Error 20060618202139                           md5 = c4d8004ba286937ac1184296824cb9ca
Error 20060618202139           flag_already_stored = NULL
Error 20060618202139                stored_handles = Array
Error 20060618202139                      filename = _tmp/d41d8cd98f00b204e9800998ecf8427e
Error 20060618202139                            FH = Resource id #38
Error 20060618202139                          data = 6707a6963059ef4837558a832164f1a1|person=2&id=personView
Error 20060618202139 1cdff52583816a27aa8af01b389af3cc|id=personList
Error 20060618202139 962f46ae2bc89a315302cba0900db022|id=projListClosed
Error 20060618202139 b0a42e7ffa70544c609a1e5995fe4418|id=projList
Error 20060618202139 3342bbb8f89767467a2bd8f1d7951173|id=personListAccounts
Error 20060618202139 e43522143ef8584e473d1e1231da9276|id=home
Error 20060618202139                           arr = Array
Error 20060618202139                          line = e43522143ef8584e473d1e1231da9276|id=home
Error 20060618202139                       tmp_arr = Array
Error 20060618202139                        result = NULL
Error 20060618202139    v0.0621, loginForm, from 127.0.0.1,  uri:/streber_dev/index.php?go=loginForm
Error 20060618202139 

Error 20060618202139 WARNING: std/class_pagehandler.inc.php : 469 fputs(): supplied argument is not a valid stream resource
Error 20060618202139    render/render_form.inc.php : 442 -> PageHandler::defineFromHandle([1])
Error 20060618202139           pages/login.inc.php : 119 -> PageForm::__toString()
Error 20060618202139 std/class_pagehandler.inc.php : 650 -> loginForm()
Error 20060618202139                     index.php : 241 -> PageHandler::show("loginForm")
Error 20060618202139 
Error 20060618202139      Variables in defineFromHandle():
Error 20060618202139                        params = Array
Error 20060618202139                          auth = Object id #1
Error 20060618202139                          from = edit_request_time=1150654899&go=loginForm
Error 20060618202139                           md5 = c4d8004ba286937ac1184296824cb9ca
Error 20060618202139           flag_already_stored = NULL
Error 20060618202139                stored_handles = Array
Error 20060618202139                      filename = _tmp/d41d8cd98f00b204e9800998ecf8427e
Error 20060618202139                            FH = NULL
Error 20060618202139                          data = 6707a6963059ef4837558a832164f1a1|person=2&id=personView
Error 20060618202139 1cdff52583816a27aa8af01b389af3cc|id=personList
Error 20060618202139 962f46ae2bc89a315302cba0900db022|id=projListClosed
Error 20060618202139 b0a42e7ffa70544c609a1e5995fe4418|id=projList
Error 20060618202139 3342bbb8f89767467a2bd8f1d7951173|id=personListAccounts
Error 20060618202139 e43522143ef8584e473d1e1231da9276|id=home
Error 20060618202139                           arr = Array
Error 20060618202139                          line = e43522143ef8584e473d1e1231da9276|id=home
Error 20060618202139                       tmp_arr = Array
Error 20060618202139                        result = NULL
Error 20060618202139    v0.0621, loginForm, from 127.0.0.1,  uri:/streber_dev/index.php?go=loginForm
Error 20060618202139 

Error 20060618202139 WARNING: std/class_pagehandler.inc.php : 470 fclose(): supplied argument is not a valid stream resource
Error 20060618202139    render/render_form.inc.php : 442 -> PageHandler::defineFromHandle([1])
Error 20060618202139           pages/login.inc.php : 119 -> PageForm::__toString()
Error 20060618202139 std/class_pagehandler.inc.php : 650 -> loginForm()
Error 20060618202139                     index.php : 241 -> PageHandler::show("loginForm")
Error 20060618202139 
Error 20060618202139      Variables in defineFromHandle():
Error 20060618202139                        params = Array
Error 20060618202139                          auth = Object id #1
Error 20060618202139                          from = edit_request_time=1150654899&go=loginForm
Error 20060618202139                           md5 = c4d8004ba286937ac1184296824cb9ca
Error 20060618202139           flag_already_stored = NULL
Error 20060618202139                stored_handles = Array
Error 20060618202139                      filename = _tmp/d41d8cd98f00b204e9800998ecf8427e
Error 20060618202139                            FH = NULL
Error 20060618202139                          data = 6707a6963059ef4837558a832164f1a1|person=2&id=personView
Error 20060618202139 1cdff52583816a27aa8af01b389af3cc|id=personList
Error 20060618202139 962f46ae2bc89a315302cba0900db022|id=projListClosed
Error 20060618202139 b0a42e7ffa70544c609a1e5995fe4418|id=projList
Error 20060618202139 3342bbb8f89767467a2bd8f1d7951173|id=personListAccounts
Error 20060618202139 e43522143ef8584e473d1e1231da9276|id=home
Error 20060618202139                           arr = Array
Error 20060618202139                          line = e43522143ef8584e473d1e1231da9276|id=home
Error 20060618202139                       tmp_arr = Array
Error 20060618202139                        result = NULL
Error 20060618202139    v0.0621, loginForm, from 127.0.0.1,  uri:/streber_dev/index.php?go=loginForm
Error 20060618202139 

Error 20060618202145 WARNING:   db/db_item.inc.php : 617 can't read 'comments' from object of type 'Person' 
Error 20060618202145            db/db_item.inc.php : 740 -> DbItem::__get("comments")
Error 20060618202145       db/class_person.inc.php : 298 -> DbProjectItem::__construct([43])
Error 20060618202145       db/class_person.inc.php : 421 -> Person::__construct([43])
Error 20060618202145       db/class_person.inc.php : 577 -> Person::queryFromDb("SELECT * FROM strebperson WHER")
Error 20060618202145        std/class_auth.inc.php : 131 -> Person::getByNickname("tino")
Error 20060618202145           pages/login.inc.php : 186 -> Auth::tryLoginUser("tino", "0738069b244a1c43c83112b735140a")
Error 20060618202145 std/class_pagehandler.inc.php : 650 -> loginFormSubmit()
Error 20060618202145                     index.php : 235 -> PageHandler::show("loginFormSubmit")
Error 20060618202145 
Error 20060618202145      Variables in __get():
Error 20060618202145                          this = Object id #209
Error 20060618202145                          name = comments
Error 20060618202145    v0.0621, loginFormSubmit, from 127.0.0.1,  uri:/streber_dev/index.php
Error 20060618202145 

Error 20060618202145 ERROR:   db/db_item.inc.php : 603 can't set dbItem->comments for object of type Person
Error 20060618202145            db/db_item.inc.php : 741 -> DbItem::__set("comments", "hallo")
Error 20060618202145       db/class_person.inc.php : 298 -> DbProjectItem::__construct([43])
Error 20060618202145       db/class_person.inc.php : 421 -> Person::__construct([43])
Error 20060618202145       db/class_person.inc.php : 577 -> Person::queryFromDb("SELECT * FROM strebperson WHER")
Error 20060618202145        std/class_auth.inc.php : 131 -> Person::getByNickname("tino")
Error 20060618202145           pages/login.inc.php : 186 -> Auth::tryLoginUser("tino", "0738069b244a1c43c83112b735140a")
Error 20060618202145 std/class_pagehandler.inc.php : 650 -> loginFormSubmit()
Error 20060618202145                     index.php : 235 -> PageHandler::show("loginFormSubmit")
Error 20060618202145 
Error 20060618202145      Variables in __set():
Error 20060618202145                          this = Object id #209
Error 20060618202145                          name = comments
Error 20060618202145                           val = hallo
Error 20060618202145    v0.0621, loginFormSubmit, from 127.0.0.1,  uri:/streber_dev/index.php
Error 20060618202145 

Issue report

Minor
Not available
0.0621
 

2 Comments

pixtur:ah...

12 years ago

That't an upgrading problem from the intermediate version. Try to adjust install/db_upgrades.inc.php last update from 0.065 to 0.062.

I just commited but didn't test. Sorry.

tom

tino:Thanks a lot...

12 years ago

now it works (after getting the newest files).

Fine