Kryptronic Software Support Forum

You are viewing this forum as a guest. Login to an existing account, or create a new account, to reply to topics and to create new topics.

#1 02-27-2007 04:07:55

antsevo
Member
From: Surrey, UK
Registered: 02-08-2005
Posts: 592
Website

Script Error - Cannot Use a scalar value as an array

When I tried to log in this morning i got this message:

Script Execution Error

Cannot use a scalar value as an array
File: /core/KHXC_BackEnd/ext/home.php Line: 177 Error Number: 2


In this file it says:

if ($this->IsError($result)) {

     if ($this->debug) {$this->debugger("servnews_disp: Error retrieving news from the central server.");}

     $result['xml.0']['status.0'] = 'FAIL';

} // End of if statement.

if ($this->debug) {$this->debugger("servnews_disp: Retrieved news from the central server.");}


Does anyone have any ideas as to what is going on?

When I remove this statement, I have no problems logging on at all.

Last edited by antsevo (02-27-2007 04:11:12)


Anthony - Personalised and Celebrity Face Masks
Anthony - Adult Toys

Offline

 

#2 03-01-2007 16:01:02

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Script Error - Cannot Use a scalar value as an array

I'll look into this.  You may have a connectivity issue.


Nick Hendler

Offline

 

#3 10-14-2007 01:14:00

keyman
Member
From: Pacific Grove, California
Registered: 08-26-2003
Posts: 45
Website

Re: Script Error - Cannot Use a scalar value as an array

I have the same error, thank god its not just me.
Let me know how to fix ?
It has me at a stand still.

Offline

 

#4 10-14-2007 02:22:34

Dave
Member
Registered: 07-05-2003
Posts: 11233

Re: Script Error - Cannot Use a scalar value as an array

Have you installed the update from 2 October?  If you haven't installed the update from 2 October you'll want to get it installed as well as the additional minor update on the 10th.

Offline

 

#5 10-15-2007 11:02:10

webmaster
Administrator
From: York, PA
Registered: 04-20-2001
Posts: 19798
Website

Re: Script Error - Cannot Use a scalar value as an array

These are older installs that need to be updated.  This issue was fixed in the 6.0.3 update to CCP in May 2007.


Nick Hendler

Offline

 

#6 02-11-2008 12:46:08

m.guenther@mchsi.com
Member
From: Springfield, MO
Registered: 04-05-2007
Posts: 81
Website

Re: Script Error - Cannot Use a scalar value as an array

I just tried to log into my admin and got this error as well. Haven't changed a thing and it started happening.

Do I absolutely need the OCT update to fix this? I am worried about losing changes I have made, which is why I haven't updated anything since initially installing the script quite a while back.

Please advise and thank you.


- Messages of Love and Inspiration Collection

- Complete Design Solutions

Offline

 

#7 02-11-2008 14:20:02

cyberws
Member
From: Atlanta, GA
Registered: 02-05-2004
Posts: 756

Re: Script Error - Cannot Use a scalar value as an array

If you are concerned about data protection before you run the updates backup for your folders (if you have shell access you can copy the permissions too)

Unix/Linux:

shell> cp -Rp /ccp-private/ /ccp-privatebck/

Then run a database dump complete with table creations.

If the backup fails you would be able to restore.  That's what we do before any CCP upgrade.


Jeremy O

Production CCP .:. Version 6 w/QuickBuy and many in house hacks
Skills: PHP & Perl programming, Solaris & Linux server administration, Oracle OCP training and MySQL experience

Offline

 

Board footer