Jump to content
  • Error Changing Number of Points for Rank


    ghinton
    • Status: Moved to Github

    When attempting to change the Number of Points for a rank, I get the following error message:

    EX1054 Something went wrong. Please try again.

    Below is the technical info:

    UPDATE `ic_core_member_ranks` `core_member_ranks`  SET `rank_use_image`=true,`rank_shape`='circle',`rank_icon`=NULL,`rank_background`='#eeb95f',`rank_border`='#f7d36f',`rank_foreground`='#ffffff',`rank_sides`=5,`rank_rotation`=0,`icon`=(\IPS\File\FileSystem::__set_state(array(
       '_cachedFilesize' => NULL,
       'exifData' => NULL,
       'configuration' => 
      array (
        'dir' => '/home/tsc/public_html/uploads',
        'url' => 'uploads',
      ),
       'configurationId' => 1,
       'storageExtension' => 'core_Ranks',
       'originalFilename' => '1_Newbie.svg',
       'filename' => '1_Newbie.svg',
       'container' => 'monthly_2024_10',
       'contents' => NULL,
       'url' => 
      \IPS\Http\Url\Internal::__set_state(array(
         'url' => 'https://www.theswingerscommunity.com/uploads/monthly_2024_10/1_Newbie.svg',
         'data' => 
        array (
          'scheme' => 'https',
          'host' => 'www.theswingerscommunity.com',
          'port' => NULL,
          'user' => NULL,
          'pass' => NULL,
          'path' => '/uploads/monthly_2024_10/1_Newbie.svg',
          'query' => '',
          'fragment' => NULL,
        ),
         'queryString' => 
        array (
        ),
         'hiddenQueryString' => 
        array (
        ),
         'seoPagination' => NULL,
         'base' => 'none',
      )),
       'tempId' => 0,
       'requiresModeration' => NULL,
       'attachmentThumbnailUrl' => NULL,
       'securityKey' => NULL,
       'thumbnailName' => NULL,
       'thumbnailContainer' => NULL,
       'temporaryFilePath' => NULL,
    ))) WHERE id=3 
    IPS\Db\Exception: Unknown column 'rank_shape' in 'field list' (1054)
    #0 /home/tsc/public_html/system/Db/Db.php(1232): IPS\Db->preparedQuery('/*tsc_database:...', Array)
    #1 /home/tsc/public_html/system/Patterns/ActiveRecord.php(544): IPS\Db->update('`ic_core_member...', '`rank_use_image...', 'WHERE id=?')
    #2 /home/tsc/public_html/system/Node/Model.php(2810): IPS\Patterns\ActiveRecord->save()
    #3 /home/tsc/public_html/system/Node/Model.php(3674): IPS\Node\Model->save()
    #4 /home/tsc/public_html/system/Node/Controller.php(472): IPS\Node\Model->saveForm(Array)
    #5 /home/tsc/public_html/system/Dispatcher/Controller.php(128): IPS\Node\Controller->form()
    #6 /home/tsc/public_html/system/Node/Controller.php(117): IPS\Dispatcher\Controller->execute()
    #7 /home/tsc/public_html/applications/core/modules/admin/achievements/ranks.php(73): IPS\Node\Controller->execute()
    #8 /home/tsc/public_html/system/Dispatcher/Dispatcher.php(169): IPS\core\modules\admin\achievements\ranks->execute()
    #9 /home/tsc/public_html/admin/index.php(15): IPS\Dispatcher->run()
    #10 {main}

     

    This is on a clean install


    User Feedback

    Recommended Comments


×
×
  • Create New...