Jump to content

Zone Plate

Clients
  • Posts

    171
  • Joined

  • Last visited

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Posts posted by Zone Plate

  1. 13 minutes ago, Randy Calvert said:

    IPS\Db\Exception: Duplicate entry '156355-IPS\forums\Topic' for key 'id_class' (1062)

    This seems to show there is a problem with your database when you restored it.  

    Yes. I have some corruption issues. I'm looking to see if I can fix the corruption.

  2. I've had to restore my server and now I face intermittent database issues. One is preventing access to a subforum:

    The log entry was triggered by a guest (Guests)

    REPLACE INTO `ibf_core_item_member_map` (map_member_id, map_item_id, map_latest_date, map_class) SELECT DISTINCT `author_id`, `topic_id`, UNIX_TIMESTAMP(), 'IPS\\forums\\Topic' FROM `ibf_forums_posts` AS `forums_posts` WHERE ( queued IN(0,2) ) AND ( topic_id IN(214816) )
    IPS\Db\Exception: Can't find record in 'ibf_core_item_member_map' (1032)
    #0 /home/nginx/domains/zzzzz/public/community/system/Db/Db.php(969): IPS\_Db->preparedQuery()
    #1 /home/nginx/domains/zzzzz/public/community/system/Node/Statistics.php(295): IPS\_Db->replace()
    #2 /home/nginx/domains/zzzzz/public/community/system/Node/Statistics.php(76): IPS\forums\_Forum->rebuildPostedIn()
    #3 /home/nginx/domains/zzzzz/public/community/system/Node/Statistics.php(160): IPS\forums\_Forum->authorsPostedIn()
    #4 /home/nginx/domains/zzzzz/public/community/system/Helpers/Table/Content.php(499): IPS\forums\_Forum->contentPostedIn()
    #5 /home/nginx/domains/zzzzz/public/community/system/Helpers/Table/Table.php(489): IPS\Helpers\Table\_Content->getRows()
    #6 /home/nginx/domains/zzzzz/public/community/applications/forums/modules/front/forums/forums.php(537): IPS\Helpers\Table\_Table->__toString()
    #7 /home/nginx/domains/zzzzz/public/community/applications/forums/modules/front/forums/forums.php(38): IPS\forums\modules\front\forums\_forums->_forum()
    #8 /home/nginx/domains/zzzzz/public/community/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_forums->manage()
    #9 /home/nginx/domains/zzzzz/public/community/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
    #10 /home/nginx/domains/zzzzz/public/community/index.php(13): IPS\_Dispatcher->run()
    #11 {main}

    Backtrace:

    #0 /home/nginx/domains/zzzzz/public/community/system/Db/Db.php(969): IPS\_Db->preparedQuery()
    #1 /home/nginx/domains/zzzzz/public/community/system/Patterns/ActiveRecord.php(733): IPS\_Db->replace()
    #2 /home/nginx/domains/zzzzz/public/community/system/Patterns/ActiveRecord.php(761): IPS\Patterns\_ActiveRecord::_followers()
    #3 /home/nginx/domains/zzzzz/public/community/system/Member/Member.php(1516): IPS\Patterns\_ActiveRecord::_followersCount()
    #4 /home/nginx/domains/zzzzz/public/community/uploads/template_9_af46883c13caa197f9e387620d19e6ec_profile.php(3529): IPS\_Member->followersCount()
    #5 /home/nginx/domains/zzzzz/public/community/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_profile->profileHeader()
    #6 /home/nginx/domains/zzzzz/public/community/uploads/template_9_af46883c13caa197f9e387620d19e6ec_profile.php(4910): IPS\Theme\_SandboxedTemplate->__call()
    #7 /home/nginx/domains/zzzzz/public/community/system/Theme/SandboxedTemplate.php(61): IPS\Theme\Cache\class_core_front_profile->userContent()
    #8 /home/nginx/domains/zzzzz/public/community/applications/core/modules/front/members/profile.php(623): IPS\Theme\_SandboxedTemplate->__call()
    #9 /home/nginx/domains/zzzzz/public/community/system/Dispatcher/Controller.php(90): IPS\core\modules\front\members\_profile->content()
    #10 /home/nginx/domains/zzzzz/public/community/applications/core/modules/front/members/profile.php(73): IPS\Dispatcher\_Controller->execute()
    #11 /home/nginx/domains/zzzzz/public/community/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\members\_profile->execute()
    #12 /home/nginx/domains/zzzzz/public/community/index.php(13): IPS\_Dispatcher->run()
    #13 {main}

    LOADED HOOKS

    The other:

    The log entry was triggered by a guest (Guests)

    REPLACE INTO `ibf_core_follow_count_cache` ( `id`, `class`, `count`, `added` ) VALUES ( 156355, 'IPS\forums\Topic', 0, 1657065094 )
    IPS\Db\Exception: Duplicate entry '156355-IPS\forums\Topic' for key 'id_class' (1062)
    #0 /home/nginx/domains/zzzzz/public/community/system/Db/Db.php(969): IPS\_Db->preparedQuery()
    #1 /home/nginx/domains/zzzzz/public/community/system/Patterns/ActiveRecord.php(733): IPS\_Db->replace()
    #2 /home/nginx/domains/zzzzz/public/community/system/Content/Item.php(7996): IPS\Patterns\_ActiveRecord::_followers()
    #3 /home/nginx/domains/zzzzz/public/community/system/Content/Item.php(8010): IPS\Content\_Item->followers()
    #4 /home/nginx/domains/zzzzz/public/community/applications/forums/modules/front/forums/topic.php(555): IPS\Content\_Item->followersCount()
    #5 /home/nginx/domains/zzzzz/public/community/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_topic->manage()
    #6 /home/nginx/domains/zzzzz/public/community/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
    #7 /home/nginx/domains/zzzzz/public/community/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
    #8 /home/nginx/domains/zzzzz/public/community/system/Dispatcher/Dispatcher.php(153): IPS\forums\modules\front\forums\_topic->execute()
    #9 /home/nginx/domains/zzzzz/public/community/index.php(13): IPS\_Dispatcher->run()
    #10 {main}

    Backtrace:

    #0 /home/nginx/domains/zzzzz/public/community/init.php(1015): IPS\_Log::log()
    #1 [internal function]: IPS\IPS::exceptionHandler()
    #2 {main}

    LOADED HOOKS

     

    Any ideas? 

  3. On 9/2/2021 at 2:10 AM, Thomas P said:

    Not every version of ES is compatible to Invision Community.

    Afaik ES up to v7.6 is the version to go for Invision v4.5 and v4.6, works fine for us: the DB is significantly smaller without search index, search results are shown faster and processing power is offloaded; so for us a separate search engine is crucial. Before we used Sphinx with IPB, which worked also well in the past.

    I downgraded to 7.6.2.  Did you delete the db search index?

  4. On 1/5/2021 at 9:20 AM, bfarber said:

    Downloads uses the friendly URL path of "/files". Do you happen to have an actual folder on your server named "files"? If so, Apache would route the request to that folder and the request would never make it to our software - the solution would be to rename that folder to something else.

    Bingo! I had a related issue with an old app that I moved out of the folder as a copy. I would have never figured this out.

  5. On 12/31/2020 at 12:34 AM, Fast Lane! said:

    Use header bidding for the best of all world's. 

    What are the chances you are a resource or you would be willing to teach this to me like I'm five? 😀

    I actually know the basic ins and outs of all this, but the learning curve on this part seems to be significant. I have three advertisers: adsense, Amazon, and a third party. I don't know how to put them into admanager, rotate, and do the things described in this topic. I have always just pasted static code.

  6. On 12/28/2020 at 12:50 PM, Fast Lane! said:

    Lots.  Also, if you ever have AdSense cut off (a million reasons why it can happen with a user gen content site) you will want that network in place to take up the slack while you resolve things. 

    WAG on that improvement? 2x RPM? More less? 

    I have been running adsense for 10-15 years without issue. 

  7. On 8/26/2020 at 10:51 AM, Pavel Chernitsky said:

    Well, I bet that's why it didn't work 😅

    Let's say the post is not deleted (it can't be, our mods can only hide posts), how would one go about having the post appear in the warning? And please, talk to me like I'm a 2 year old monkey, and a pretty dumb one at that 🙂 

     

    Did you ever get this figured out?

  8. I upgraded to 4.0.7 last night and it broke a lot of things. Unfortunately, I did not keep my previous version. Does anyone happen to have that version? I have pm’d the developer, but I am waiting for a response. In the meantime, I’m trying to fix some broken things.

    Thanks. 

×
×
  • Create New...