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

bendraper1

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #15 on: February 21, 2015, 07:08:48 am »
I have the same problem of being unable to add tags in 3.0.6 (and the 3.0.7 upgrade hasn't been rolled out to my servers yet).

The error log when I try to access the tag through the admin settings, and then from the sidebar (add tag), respectively, are below:
Session "default" started at 2015-02-21T10:02:44+0000
#1 ERROR: Error: Invalid argument supplied for foreach() in '/home/lawchar/public_html/application/views/more/section1.php' on line 46 (error code: 2)
#2 ERROR: Error: Undefined index: task in '/home/lawchar/public_html/application/views/more/section1.php' on line 81 (error code: 8)
#3 ERROR: Error: Undefined variable: add_first_obj_onclick in '/home/lawchar/public_html/application/views/more/section1.php' on line 104 (error code: 8)
Time since start: 0.17320895195 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-02-21T10:03:04+0000
#1 ERROR: Error: Cannot modify header information - headers already sent by (output started at /home/lawchar/public_html/application/functions.php:1937) in '/home/lawchar/public_html/application/layouts/json.php' on line 1 (error code: 2)
Time since start: 0.397472143173 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-02-21T10:03:31+0000
#1 ERROR: Error: Undefined variable: selected_members in '/home/lawchar/public_html/application/views/member/add.php' on line 209 (error code: 8)
Time since start: 0.287874221802 seconds
-------------------------------------------------------------------------------

I'm not entirely sure what the middle error is, I literally go straight from the tags in the admin menu (which then gives the 500 error) to the tags in the sidebar. This brings up the "add new tag" page, but when you hit "add tag" the 500 error appears again.

Hope that this helps get to the bottom of the problem.

Server stats are:
Apache version   2.2.26
PHP version   5.3.29
MySQL version   5.5.40-cll
Architecture   x86_64
Operating system   linux

bendraper1

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: FO 3.0.6: Error 500 and other bugs
« Reply #16 on: February 24, 2015, 05:33:34 am »
So I've upgraded to 3.0.7 and the 500 error when trying to use tags remains.

Error logs below. Any thoughts would be appreciated.

Incidentally the error code  8) in the previous post, is error code 8
Quote
Session "default" started at 2015-02-24T08:21:29+0000
#1 ERROR: Error: Undefined variable: selected_members in '/home/lawchar/public_html/application/views/member/add.php' on line 209 (error code: 8 )
Time since start: 0.231528043747 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-02-24T08:24:50+0000
#1 ERROR: Error: unlink(/home/lawchar/public_html/cache/d72d96b36077435b5f67689af9e4edfd7d260c9f) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in '/home/lawchar/public_html/application/models/contacts/Contact.class.php' on line 1492 (error code: 2 )
Time since start: 0.855053901672 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-02-24T08:25:06+0000
#1 ERROR: Error: Undefined variable: all_perm_deleted in '/home/lawchar/public_html/application/helpers/permissions.php' on line 982 (error code: 8 )
#2 ERROR: Error: Undefined variable: all_perm_deleted in '/home/lawchar/public_html/application/helpers/permissions.php' on line 1073 (error code: 8 )
#3 ERROR: Error: Invalid argument supplied for foreach() in '/home/lawchar/public_html/application/helpers/permissions.php' on line 1073 (error code: 2 )
Time since start: 0.398950099945 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-02-24T08:25:16+0000
#1 ERROR: Error: Undefined variable: image in '/home/lawchar/public_html/application/views/contact/card.php' on line 22 (error code: 8 )
Time since start: 0.507541179657 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-02-24T08:27:19+0000
#1 ERROR: Error: Undefined variable: selected_members in '/home/lawchar/public_html/application/views/member/add.php' on line 209 (error code: 8 )
Time since start: 0.214333057404 seconds
-------------------------------------------------------------------------------

franponce87

  • Administrator
  • Hero Member
  • *****
  • Posts: 1819
    • View Profile
    • Email
Re: FO 3.0.6: Error 500 and other bugs
« Reply #17 on: March 19, 2015, 04:56:04 pm »
So I've upgraded to 3.0.7 and the 500 error when trying to use tags remains.

Error logs below. Any thoughts would be appreciated.

Incidentally the error code  8) in the previous post, is error code 8
Quote
Session "default" started at 2015-02-24T08:21:29+0000
#1 ERROR: Error: Undefined variable: selected_members in '/home/lawchar/public_html/application/views/member/add.php' on line 209 (error code: 8 )
Time since start: 0.231528043747 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-02-24T08:24:50+0000
#1 ERROR: Error: unlink(/home/lawchar/public_html/cache/d72d96b36077435b5f67689af9e4edfd7d260c9f) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in '/home/lawchar/public_html/application/models/contacts/Contact.class.php' on line 1492 (error code: 2 )
Time since start: 0.855053901672 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-02-24T08:25:06+0000
#1 ERROR: Error: Undefined variable: all_perm_deleted in '/home/lawchar/public_html/application/helpers/permissions.php' on line 982 (error code: 8 )
#2 ERROR: Error: Undefined variable: all_perm_deleted in '/home/lawchar/public_html/application/helpers/permissions.php' on line 1073 (error code: 8 )
#3 ERROR: Error: Invalid argument supplied for foreach() in '/home/lawchar/public_html/application/helpers/permissions.php' on line 1073 (error code: 2 )
Time since start: 0.398950099945 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-02-24T08:25:16+0000
#1 ERROR: Error: Undefined variable: image in '/home/lawchar/public_html/application/views/contact/card.php' on line 22 (error code: 8 )
Time since start: 0.507541179657 seconds
-------------------------------------------------------------------------------

Session "default" started at 2015-02-24T08:27:19+0000
#1 ERROR: Error: Undefined variable: selected_members in '/home/lawchar/public_html/application/views/member/add.php' on line 209 (error code: 8 )
Time since start: 0.214333057404 seconds
-------------------------------------------------------------------------------

Could you please confirm whether the issue is still happening in the latest version available? Because we have not been able to reproduce it.

As for Error 500, no matter which OS you are running, they are logged within the Apache error log.
In Debian by default this can be found in /var/log/apache2/error.log
But, as it has already been mentioned, the location of the file depends a lot on the OS you are using.

Best,
Francisco
Would you like to install Feng Office Professional or Enterprise Edition in your servers? No problem! Read this article!