Author Topic: Enclose array indexes in quote characters  (Read 632 times)

youcantryreachingme

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +1/-0
    • View Profile
Enclose array indexes in quote characters
« on: August 19, 2009, 03:08:10 PM »
In various files, array indexes are specified like this:

Code: [Select]
$ccms[desc]
They should be like this:

Code: [Select]
$ccms['desc']
Or this:

Code: [Select]
$ccms["desc"]
I installed ccms on an updated PHP system and PHP complained. (And no, hiding the notices is not the same as fixing the problem ;) )

Xander

  • Developer
  • Administrator
  • Full Member
  • *****
  • Posts: 240
  • Karma: +5/-0
    • View Profile
    • CompactCMS.nl
Re: Enclose array indexes in quote characters
« Reply #1 on: August 20, 2009, 01:39:20 AM »
Hi Chris,

This has actually been fixed in the upcoming release (or 1.3.2 revision 62 on Google Project page). I had the same issue with loads of notices in my error log (600mb+ in size :)). The thing is that with my website hacked (server issue) and also those of clients of mine I haven't had the time to look to the project itself yet. The download link was broken, all of the Wiki pages were gone and the forum was unavailable.

I'll focus on this first, as well as fixing sites of my clients and then pick up where I left of. Huge set back :(...

Cheers,
Xander.
Don't ever hold back your suggestions. Help me either to improve CompactCMS or spread the word about it on sites such as Twitter, Digg, StumbleUpon, etc :). Thanks!

youcantryreachingme

  • Jr. Member
  • **
  • Posts: 58
  • Karma: +1/-0
    • View Profile
Re: Enclose array indexes in quote characters
« Reply #2 on: August 21, 2009, 08:12:19 PM »
I can only imagine. Doesn't sound like fun  :(