svn[1295] - "Cannot use string offset as an array"

Posts from previous Beta sessions

svn[1295] - "Cannot use string offset as an array"

Postby AnthonyB » Sun Sep 02, 2007 8:53 pm

Error on initial CharacterProfiler.lua upload:

Code: Select all
Fatal error: Cannot use string offset as an array in C:\Inetpub\wwwroot\roster2\lib\update.lib.php on line 450


CharacterProfiler.lua being used is attached in case it is relevant.

Brand new install of Roster 2.0 and all went fine until guild data upload.
Attachments
characterprofiler.zip
CharacterProfiler.lua
(88.64 KiB) Downloaded 227 times
Last edited by AnthonyB on Sun Sep 02, 2007 8:57 pm, edited 1 time in total.
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia

svn[1295] - "Cannot use string offset as an array"

Postby zanix » Mon Sep 03, 2007 1:58 am

Hi anthony!

There is some old data in your CP file
Server 'Barthilas' you have old character data (not in the character block)
And there is a guild in the 'Guild' block that doesn't have the new data and we are not performing the version check before it

We'll have to fix this :)
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

svn[1295] - "Cannot use string offset as an array"

Postby zanix » Mon Sep 03, 2007 2:14 am

I updated the svn anthony, try it now
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: svn[1295] - "Cannot use string offset as an array"

Postby tuigii » Mon Sep 03, 2007 3:05 am

zanix wrote:I updated the svn anthony, try it now

It has a hard time getting over the Atlantic Ocean :D
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

svn[1295] - "Cannot use string offset as an array"

Postby zanix » Mon Sep 03, 2007 6:10 am

Very true, there is a 17 hour difference between him and I
GMT+10 there, GMT-7 here
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

svn[1295] - "Cannot use string offset as an array"

Postby Subxero » Mon Sep 03, 2007 7:37 am

When a READ SVN access to the public/anonymous ?

Some people want more continues updates than normal :D

The Nightly Build are good for the normal people .. but some ones (like me) wants more!!! B)
Subxero - Priest 70 Holy - Asphelt Knight Officer - Zul'jin Horde.
User avatar
Subxero
WR.net Artisan
WR.net Artisan
 
Posts: 234
Joined: Thu Jul 06, 2006 4:08 pm
Realm: Zul'jin (PvE) - US

svn[1295] - "Cannot use string offset as an array"

Postby AnthonyB » Mon Sep 03, 2007 8:07 am

Hi Zanix,

Same error, different line ;)

Code: Select all
Fatal error: Cannot use string offset as an array in C:\Inetpub\wwwroot\roster2\lib\update.lib.php on line 453


So academically, I could blow away my CharacterProfiler.lua and create a fresh one and it should all work? You are right about there being data for chars in other guilds and other realms and collected by CP 6 months ago. I guess this is a good test for the robustness of the update.lib.php ;)
Roster 2.0.2 svn [latest] latest trunk SVN svn [latest] running on IIS7/Windows Server 2008 SP2 | MySQL 5.0.85 | PHP 5.2.10 | Yes, Roster and PHP rocks on IIS! Even run as FastCGI extension!
User avatar
AnthonyB
Gimpy Developer
Gimpy Developer
 
Posts: 346
Joined: Tue Jul 04, 2006 2:44 pm
Location: Sydney, Australia

svn[1295] - "Cannot use string offset as an array"

Postby zanix » Mon Sep 03, 2007 11:03 am

Yes, it defiantly would be a good test

Now we just need to figure out exactly why this happens :(
I thought it was because of old guild data, moving the version check should have solved that but it seems that there might be incomplete data
Last edited by zanix on Mon Sep 03, 2007 11:12 am, edited 1 time in total.
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to Archived

Who is online

Users browsing this forum: No registered users and 1 guest

cron