ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Index issues upon migration

May 06, 2010 3:22pm

Subscribe [4]
  • #1 / May 06, 2010 3:22pm

    Kenny M.

    82 posts

    After migrating an EE site to another server I get the following errors all over my pages:

    http://sle.brettnak.com/index.php (Can you see them? I’m not sure)

    Here are the errors:

    Notice: Undefined index: most_visitors in /data/sle/flat5th/modules/stats/mcp.stats.php on line 194
    
    Notice: Undefined index: recent_member in /data/sle/flat5th/modules/stats/mcp.stats.php on line 213
    
    Notice: Undefined index: recent_member_id in /data/sle/flat5th/modules/stats/mcp.stats.php on line 214
    
    Notice: Undefined index: total_members in /data/sle/flat5th/modules/stats/mcp.stats.php on line 215
    
    Notice: Undefined index: total_entries in /data/sle/flat5th/modules/stats/mcp.stats.php on line 216
    
    Notice: Undefined index: total_forum_topics in /data/sle/flat5th/modules/stats/mcp.stats.php on line 217
    
    Notice: Undefined index: total_forum_posts in /data/sle/flat5th/modules/stats/mcp.stats.php on line 218
    
    Notice: Undefined index: total_forum_topics in /data/sle/flat5th/modules/stats/mcp.stats.php on line 218
    
    Notice: Undefined index: total_forum_posts in /data/sle/flat5th/modules/stats/mcp.stats.php on line 219
    
    Notice: Undefined index: total_comments in /data/sle/flat5th/modules/stats/mcp.stats.php on line 220
    
    Notice: Undefined index: total_trackbacks in /data/sle/flat5th/modules/stats/mcp.stats.php on line 221
    
    Notice: Undefined index: last_entry_date in /data/sle/flat5th/modules/stats/mcp.stats.php on line 223
    
    Notice: Undefined index: last_forum_post_date in /data/sle/flat5th/modules/stats/mcp.stats.php on line 224
    
    Notice: Undefined index: last_comment_date in /data/sle/flat5th/modules/stats/mcp.stats.php on line 225
    
    Notice: Undefined index: last_trackback_date in /data/sle/flat5th/modules/stats/mcp.stats.php on line 226
    
    Notice: Undefined index: last_cache_clear in /data/sle/flat5th/modules/stats/mcp.stats.php on line 227
    
    Notice: Undefined index: last_visitor_date in /data/sle/flat5th/modules/stats/mcp.stats.php on line 228
  • #2 / May 06, 2010 4:03pm

    Kenny M.

    82 posts

    I should mention it’s v. 1.6.7

  • #3 / May 06, 2010 4:08pm

    Ingmar

    29245 posts

    Looks like your stats table is shot. Try uninstalling / reinstalling that stats module. You could probably fix it manually, too. Also, upgrade to 1.6.9 is highly recommended.

  • #4 / May 06, 2010 4:22pm

    Kenny M.

    82 posts

    Neither of those options worked. Additionally I have this error
    Notice: Undefined index: last_cache_clear in /data/sle/flat5th/core/core.system.php on line 948

    Will upgrading fix this?

  • #5 / May 06, 2010 4:27pm

    Ingmar

    29245 posts

    It certainly won’t hurt, and we’ll be on the same page in terms of code. I recommend it.

  • #6 / May 06, 2010 4:59pm

    Kenny M.

    82 posts

    We are now on 1.6.9. Same issues.

  • #7 / May 06, 2010 8:23pm

    Brandon Jones

    5500 posts

    Where are you with this now, Kenny? Did you uninstall the Stats module, empty the table and re-install the module after upgrading to 1.6.9?

  • #8 / May 06, 2010 9:17pm

    Kenny M.

    82 posts

    I did! I’ve tried several variants of that too.

  • #9 / May 07, 2010 2:24am

    John Henry Donovan

    12339 posts

    Kenny,

    Can you upgrade the forum to latest and greatest too please?

    This issue has been fixed for other users by upgrading the forum also.

  • #10 / May 07, 2010 2:48am

    Kenny M.

    82 posts

    There are no forums installed good sir.

  • #11 / May 07, 2010 3:00am

    John Henry Donovan

    12339 posts

    Kenny,

    Can you examine the exp_stats table. Are there records in it?

  • #12 / May 07, 2010 4:55am

    Kenny M.

    82 posts

    So I was able to fix the problem by creating a row with all the defaults then got my stats back after recounting statistc.

    Uninstalling & reinstalling the statistics module, oddly, didn’t stop the error from occurring.

  • #13 / May 07, 2010 12:50pm

    Ingmar

    29245 posts

    Glad to see you were able to fix this, Kenny. Please don’t hesitate to post again in case anything else comes up.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases