Author Topic: FO 3.0.6: Error 500 and other bugs  (Read 6508 times)

marsian

  • Freshman
  • *
  • Posts: 39
    • View Profile
FO 3.0.6: Error 500 and other bugs
« on: February 09, 2015, 05:10:14 am »
Hi there,

We discovered two bugs within the current 3.0.6 build that started to occur after we uploaded two files (1 PPTX and one XLSX) to the Project:

1) Documents pane on the Overview page:
Quote
Fatal error: Call to undefined function lcfirst()
If you don't run FO in Debug mode it will Crash the overview page with Error 500, if you enable debug mode the page at least works and just the "Documents" Widget throws this line.

2) Recurring bug entries in log php:
Quote
Session "default" started at 2015-02-08T18:14:14+0000
#1 ERROR: Error: Illegal offset type in isset or empty in Environment/classes/dataaccess/DataObject.class.php on line 374 (error code: 2 )
#2 ERROR: Error: Illegal offset type in isset or empty in Environment/classes/dataaccess/DataObject.class.php on line 374 (error code: 2 )
#3 ERROR: Error: Undefined index:  logo in application/views/notifier/General.php on line 8 (error code: 8 )
(read a slash for every blank)

#1 and #2 has the following line, but mit PHP knowledge is not good enough to fix it:
Quote
if(isset($this->column_values[$column_name])) return $this->column_values[$column_name];

Any ideas?

Thanks,


PS: Honestly, if the code tags will cause the forum's URL stopping mechanism to start working and won't let you post a line of code, why aren't you removing it at all? Took me 25 minutes to fiddle around with it until i ttried it with the Quote Feature??  :o

marsian

  • Freshman
  • *
  • Posts: 39
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #1 on: February 12, 2015, 02:12:05 pm »
Update:

Unfortunately the error for #1 is still there, even after the 3.0.7 upgrade :(

The other two did not happen yet, let's see if they're fixed.

Any idea on what to look for in regards to #1?

Thanks,

steveg

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #2 on: February 16, 2015, 01:10:25 pm »
Hi there,

We discovered two bugs within the current 3.0.6 build that started to occur after we uploaded two files (1 PPTX and one XLSX) to the Project:

1) Documents pane on the Overview page:
Quote
Fatal error: Call to undefined function lcfirst()
If you don't run FO in Debug mode it will Crash the overview page with Error 500, if you enable debug mode the page at least works and just the "Documents" Widget throws this line.


What version of php?  You need at least php 5.3 for lcfirst() to work, which is what appears to be the issue.  You really should be operating at least 5.4 for security's sake.

marsian

  • Freshman
  • *
  • Posts: 39
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #3 on: February 17, 2015, 12:36:37 pm »
Thank you for that hint, we'll check that :)

marsian

  • Freshman
  • *
  • Posts: 39
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #4 on: February 18, 2015, 11:45:00 am »
Update: doing the upgrade fixed it, thank you :)

steveg

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #5 on: February 18, 2015, 11:54:19 am »
Update: doing the upgrade fixed it, thank you :)

No problems - glad it's working for you!

ToddForsberg

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #6 on: February 18, 2015, 08:12:17 pm »
I also got the 500 error when trying to create a "tag"

steveg

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #7 on: February 18, 2015, 10:31:00 pm »
I also got the 500 error when trying to create a "tag"

Can you let us know what the server logs say for this 500 error?

ToddForsberg

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #8 on: February 19, 2015, 12:36:56 pm »
Where can I find the server log?

ToddForsberg

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #9 on: February 19, 2015, 01:01:26 pm »
Also, In chrome console window I get this error (see attachment) on page refresh:



steveg

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #10 on: February 19, 2015, 01:03:30 pm »
Where can I find the server log?

ssh into your server - usually it is in the /var/log directory  although that can vary depending on your software - what is your operating system?

ToddForsberg

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #11 on: February 19, 2015, 01:08:43 pm »
I am using Arvixe Hosting.  I think it is Windows Server 2012 R2.
« Last Edit: February 19, 2015, 01:24:57 pm by ToddForsberg »

marsian

  • Freshman
  • *
  • Posts: 39
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #12 on: February 19, 2015, 03:42:38 pm »
If you have FTP Access you can go to /Cache/log.php , it will also contain the error Messages.

steveg

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #13 on: February 19, 2015, 03:56:19 pm »
If you have FTP Access you can go to /Cache/log.php , it will also contain the error Messages.

True - but some 500 server errors will not show up there.

steveg

  • Full Member
  • ***
  • Posts: 167
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #14 on: February 19, 2015, 03:56:59 pm »
I am using Arvixe Hosting.  I think it is Windows Server 2012 R2.

Ah sorry - can't help you.  I am only familiar with Linux based OS.