Page 1 of 1

Upgraded to 1.2.3 from 1.1.7 now MyView not working

Posted: 13 Oct 2010, 17:00
by c0d3p03t
As far as I can tell, everything else is working. By "My View" which I use all the time is not working at all: http://screencast.com/t/tAWb55A4tP

Looks like it is erroring because a blank page is coming up.

Any ideas as to what I can check?

Re: Upgraded to 1.2.3 from 1.1.7 now MyView not working

Posted: 13 Oct 2010, 17:48
by atrol

Re: Upgraded to 1.2.3 from 1.1.7 now MyView not working

Posted: 13 Oct 2010, 17:50
by c0d3p03t
Fixed this myself, thought I would share for everyone else.

First I turned PHP Error Logging on and found I had a duplicate #DEFINE variable.

Fixed that, then I had this error:
Fatal error: Call to undefined function mark_time() in /public_html/mantis/core/my_view_inc.php on line 211

Fixed that by following katzlbt's advice located in a comment here: http://www.mantisbt.org/bugs/view.php?id=11612

I renamed the file he referenced and it worked perfectly after that.

Re: Upgraded to 1.2.3 from 1.1.7 now MyView not working

Posted: 13 Oct 2010, 17:53
by c0d3p03t
atrol wrote:seems to be the same problem
http://www.mantisbt.org/bugs/view.php?id=12439
atrol: Yes you were correct. I had added a couple of custom fields a LONG time ago, one of which was define( 'NORMAL', 52 ); in this latest update I see that NORMAL has been added to the defauts, so I just renamed my field and all worked well, until I got this error:
Fatal error: Call to undefined function mark_time() in /public_html/mantis/core/my_view_inc.php on line 211

Which I fixed by following the second comment by katzlbt located here: http://www.mantisbt.org/bugs/view.php?id=11612

Thanks for the super fast response atrol!!! You rock!!

Re: Upgraded to 1.2.3 from 1.1.7 now MyView not working

Posted: 13 Oct 2010, 18:46
by atrol
Thank you for telling the solution
c0d3p03t wrote: I renamed the file he referenced and it worked perfectly after that.
You are not the first one with a problem caused by overriding old installations.
Extract of file doc/INSTALL
UPGRADING
* Backup your existing installation and database -- really!
* Extract the tarball into a clean directory; do not extract into an existing
installation
, as some files have been moved or deleted between releases

Re: Upgraded to 1.2.3 from 1.1.7 now MyView not working

Posted: 13 Oct 2010, 19:23
by c0d3p03t
atrol:

I promise from now on!! Haha, yep this is clearly the best solution, thank you very much for taking the time to help!!

-c0d3p03t
atrol wrote:Thank you for telling the solution
c0d3p03t wrote: I renamed the file he referenced and it worked perfectly after that.
You are not the first one with a problem caused by overriding old installations.
Extract of file doc/INSTALL
UPGRADING
* Backup your existing installation and database -- really!
* Extract the tarball into a clean directory; do not extract into an existing
installation
, as some files have been moved or deleted between releases

Re: Upgraded to 1.2.3 from 1.1.7 now MyView not working

Posted: 13 Oct 2010, 19:31
by atrol
c0d3p03t wrote: I promise from now on!!
I will tell you again after your upgrade problems to version 1.3, maybe next year :lol: