, Guest!
Already a Member? Login or Register.

Menu



Showcase


Due to the volume of spam happening on our forums, posting is now restricted to verified members only.  If you're not verified, drop us a note with your username.

Home > FlexCMS Support Forum > User Help > General Support Requests > Fatal error on stats pages veiw

FlexCMS Support Forum


Fatal error on stats pages veiw
Started January 15, 2009 @ 1:46pm by andynotton
Post Message 
andynotton


Posts: 15
 
Fatal error on stats pages veiw January 15, 2009 @ 1:46pm
Fatal error: Cannot use string offset as an array in /sites/avond3/htdocs/avon/inc-cs-admin-stats_pages.php on line 367

any help
 
DCSun
Administrator



Posts: 625
 
January 15, 2009 @ 3:51pm
Andy,

Most likely you (or your hosting company) recently updated to PHP 5. You can download updated files for those two stats sections here: http://www.flexcms.com/downloads/flexcms_v2.5_php5patched.zip


David


FlexCMS v3.2 Has Been Released!
 
andynotton


Posts: 15
 
work ok nowJanuary 16, 2009 @ 5:04am
Hi
just uploaded the file work ok now
thanks

Andy
 
andynotton


Posts: 15
 
just found this oneSeptember 25, 2009 @ 7:00am
Table 'avond3.core-ReverseIPs' doesn't exist

when i press to find Users & Guests Breakdown
 
DCSun
Administrator



Posts: 625
 
September 25, 2009 @ 11:27am
Andy,

I think I must have given you a newer version of that file, sorry about that.

You can create that database table as follows:

CREATE TABLE `core-ReverseIPs` (
`RecordNumber` int(10) unsigned NOT NULL auto_increment,
`IPAddress1` int(3) unsigned NOT NULL default '0',
`IPAddress2` int(3) unsigned NOT NULL default '0',
`IPAddress3` int(3) unsigned NOT NULL default '0',
`IPAddress4` int(3) unsigned NOT NULL default '0',
`Hostname` varchar(80) NOT NULL default '',
`DateCode` int(10) unsigned NOT NULL default '0',
PRIMARY KEY (`RecordNumber`)
) ENGINE=MyISAM;

If you're using a database table prefix (it doesn't look like you are from that error), that should be added just before the core-ReverseIPs part, after the `.


David


FlexCMS v3.2 Has Been Released!
 

Last Edit: September 25, 2009 @ 11:27am by DCSun

Post Message 




Try & Buy FeedForAll - Easy to use RSS Feed Creator - great for iTunes users!

MEMBERS




All Contents, Code, Scripts and Technologies Copyright 2003-2009 FlexCMS.
All Rights Reserved. Software License Agreement

Processing Time: 0.07817 seconds.
 
Management Login

Powered By FlexCMS
Powered By FlexCMS