#342 - PHP WARNING [2] array_key_exists()

  • By
  • Added
  • 9 views
Identifier #342
Issue type Major issue (breaks an entire feature)
Title PHP WARNING [2] array_key_exists()
Status Closed (cannot reproduce)
Handling member Deleted
Addon core
Description PHP WARNING [2] array_key_exists() expects parameter 2 to be array, boolean given in sources/site.php on line 702 (version: 7.1.5, PHP version: 5.3.5-1ubuntu7.3, URL: /Composr/adminzone/index.php?page=start)
Steps to reproduce

This error occurs at any time I select a menu option, such admin zone, security, etc. The following is a complete chrono listing beginning with inital install.

Day1:

- I manually installed Composr into a subfolder within my ssl docroot according to the posted instructions.

- The application functioned normally.

- I explored the admin section and reference docs.

Day2:

- I poked around the admin section not necessarily to apply a config value, but simply to familiarize myself with the layout. This was based on discoveries found in the Composr forum and docs.

- I commented out the section as described in site.php line 879.

- The site appeared to function normally, that is, I did not see any errors.

Day3:

- I posted an ssl question in the forum. Subsequent searching return the security tutorial which contained the instructions.

- I went to my site, I started receiving server error 503.

- I reviewed the ssl_access log--see addtl info below.

- I uncommented the section starting at line 879.

- I continued to get 503 errors for ~3-5 minutes, then I could log in.

- I enabled the ssl config option according to security tutorial.

- The message that my changes were accepted was displayed... along with the error message and stack trace.

- I cannot navigate to any page from any menu option without this error being displayed. This error is also displayed on the main site page.

- The other box components are displayed on the main site.

- The admin zone menu is displayed correctly.

Additional information [email protected] is my primary email if you need to contact me.

ssl_access.log:
74.84.28.10 - - [08/Dec/2011:11:09:47 -0500] "GET /Composr/ HTTP/1.1" 503 3284 "-" "Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0"
74.84.28.10 - - [08/Dec/2011:11:09:47 -0500] "GET /Composr/themes/Simulated_Concepts/templates_cached/EN/global.css HTTP/1.1" 200 11882 "https://simulatedconcepts.com/Composr/" "Mozilla/5.0 (Ubuntu; X11; Linux x86_64; rv:8.0) Gecko/20100101 Firefox/8.0"

*** System data:
Linux w22 2.6.38-12-generic-pae #51-Ubuntu SMP Wed Sep 28 16:11:32 UTC 2011 i686

PHP Version 5.3.5-1ubuntu7.3

Suhosin Patch 0.9.10

Zend Engine v2.3.0

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated