Jump to content

sadams101

Clients
  • Posts

    778
  • 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 sadams101

  1. I recently eliminated using a sub-domain to server my site's images, JS, CSS, etc., and under the Storage Settings I went back to this:
    /home/celiac/public_html/uploads

    from this:

    https://sfd.celiac.com/home/celiac/public_html/uploads

    All of my newer (what are non-custom emojis--I believe the "custom" ones are the originals from many years ago, but am not sure, as I never created a custom emoji, yet a dozen or more now exist in my 15 year old forum) emojis post just fine, and all new and old seem to display fine, however, when you post a custom one, that is one of the older emojis that are defined, it is simply posting the old subdomain URL into the post, so no emoji appears...just the URL appears exactly as below:

    https://sfd.celiac.com/uploads/emoticons/default_smile.png

    I believe that I've tracked down part of the issue to this code:

    uploads/javascript_global/root_framework.js
     

    for(var i=0;i<this._emoji[parts[1]].length;i++){if(this._emoji[parts[1]][i].code==codeToUse){var imgTag='<img src="'+this._emoji[parts[1]][i].image+'" loading="lazy"';imgTag+='title="'+this._emoji[parts[1]][i].name+'" alt="'+this._emoji[parts[1]][i].name+'"';if(this._emoji[parts[1]][i].image2x){imgTag+=' srcset="'+this._emoji[parts[1]][i].image2x+' 2x"';}

    and perhaps there is a place somewhere in the ACP that I made changes to years ago, but I can't seem to find it. Any ideas how to get these older emoji's working using the default path instead of the subdomain?

  2. I have found another issue with Enhanced Forum Views. When going to page 404 of a forum, my site is throwing the following errors when the plugin is enabled, but the errors go away when it is disabled:

    The URL of page the error occurred on was https://www.celiac.com/forums/forum/32-gluten-free-foods-products-shopping-medications/page/404/

    [[Template forums/front/forums/topicRow is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.]]

    Error: Undefined constant "IPS\Theme\endelse" in /home/mysite/public_html/system/Theme/Theme.php(880) : eval()'d code:4882
    Stack trace:
    #0 /home/mysite/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_forums->topicRow(Object(IPS\Helpers\Table\Content), Array, Array)
    #1 /home/mysite/public_html/system/Theme/Theme.php(880) : eval()'d code(1457): IPS\Theme\_SandboxedTemplate->__call('topicRow', Array)
    #2 /home/mysite/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_forums->forumTable(Object(IPS\Helpers\Table\Content), Array, Array, NULL, true)
    #3 /home/mysite/public_html/system/Helpers/Table/Table.php(564): IPS\Theme\_SandboxedTemplate->__call('forumTable', Array)
    #4 /home/mysite/public_html/applications/forums/modules/front/forums/forums.php(417): IPS\Helpers\Table\_Table->__toString()
    #5 /home/mysite/public_html/applications/forums/modules/front/forums/forums.php(38): IPS\forums\modules\front\forums\_forums->_forum(Object(IPS\forums\Forum))
    #6 /home/mysite/public_html/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_forums->manage()
    #7 /home/mysite/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
    #8 /home/mysite/public_html/index.php(13): IPS\_Dispatcher->run()
    #9 {main}
    
    BACKTRACE
    #0 /home/mysite/public_html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error')
    #1 /home/mysite/public_html/system/Theme/Theme.php(880) : eval()'d code(1457): IPS\Theme\_SandboxedTemplate->__call('topicRow', Array)
    #2 /home/mysite/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_forums->forumTable(Object(IPS\Helpers\Table\Content), Array, Array, NULL, true)
    #3 /home/mysite/public_html/system/Helpers/Table/Table.php(564): IPS\Theme\_SandboxedTemplate->__call('forumTable', Array)
    #4 /home/mysite/public_html/applications/forums/modules/front/forums/forums.php(417): IPS\Helpers\Table\_Table->__toString()
    #5 /home/mysite/public_html/applications/forums/modules/front/forums/forums.php(38): IPS\forums\modules\front\forums\_forums->_forum(Object(IPS\forums\Forum))
    #6 /home/mysite/public_html/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_forums->manage()
    #7 /home/mysite/public_html/system/Dispatcher/Dispatcher.php(153): IPS\Dispatcher\_Controller->execute()
    #8 /home/mysite/public_html/index.php(13): IPS\_Dispatcher->run()
    #9 {main}

     

  3. I am using the latest version of IPB, and have my board set to allow guests to report posts. What appears to be spambots have been submitting spam via guest reports, and they have been blocked in my ban settings with 198.144.159.*

    The problem is that I am still getting reports from IP addresses within this subnet that should be blocked. How are they able to bypass the ban setting block on them, and still submit spam using the report post feature? I believe there may be a bug in your system that allows this.

  4. Ok, I did go to the end of each forum, and in 4 found and deleted what looked like corrupted posts...3 of which were dated 1969. This did fix the issue with your plugin throwing the errors, so thank you. However, the only question remaining in my mind is, why would your plugin throw this error, but not the default IPB skin?

  5. Thank you for your reply. When you say that I might recognize corrupted forum posts by dating my forum back to 1970, do you mean changing my server time to this, which might cause many other issues, or do you mean just the time in the ACP for IPB? I do have a test site, and could do this to figure it out. Also, after making the time change, how would this help to find those corrupted posts? 

    I know this is far beyond any support you might offer for this plugin, so thank you in advance for any help!

  6. But if there are no PHP errors when running it, then it is compatible. PHP writes new versions to be backwards compatible, and in some instances they remove deprecated code that is no longer compatible--this causes errors and things to break if you still use such code. I guess what I'm saying is that if nothing breaks, and there are no errors, then what would be the concern with running it now?

    PS - There were tons of issues for me running PHP 8.0, and I had to upgrade many custom plugins and apps. Besides the cache issue, which turned out to be a problem with my Redis installation on PHP 8.1, I have not seen any errors at all when running PHP 8.1.

  7. The source of my issue was that I did not have Redis properly installed on PHP 8.1. I took care of this issue, so I'm curious to run PHP 8.1. Are there any known issues when running PHP 8.1 with the latest version of IPB? 

    On 2/22/2022 at 9:48 AM, Jim M said:

    PHP 8.1 is not yet fully supported so you will want to downgrade to 8.0.

    Can you please explain what you mean here by "not yet fully supported"?

  8. After upgrading to PHP 8.1 I am suddenly getting the errors below. My directories are 755 permissions, and haven't changed. I use Redis Caching Any ideas?

     

    Data Storage Not Working

    Data Storage is not working correctly. Review your data storage configuration and adjust the settings as needed to improve speed and performance of your community.
     

    Cache Not Working

    Caching is not working correctly. Review your caching method configuration and adjust the settings as needed.
  9. There seems to be an issue with Enhanced Forum Views 1.4.0 after I updated to PHP 8.0.15.

    I am seeing a strange error that happens when you go to the last page in a form category:

    https://www.celiac.com/forums/forum/5-coping-with-celiac-disease/page/642/

    But if you go to the 2nd to last page, or any other page in the category, you don't get it:

    https://www.celiac.com/forums/forum/5-coping-with-celiac-disease/page/641/

    I have tested this out, and if I disable Enhanced Forum Views Disabled1.4.0, this error goes away, and the last page in my category works, and does not throw an error. 

    Here is the error info:

     

    The log entry was triggered by a guest (Guests)

    1 hour ago

     

    Quote

    Error: Undefined constant "IPS\Theme\endelse" in /home/mysite/public_html/system/Theme/Theme.php(860) : eval()'d code:4882
    Stack trace:
    #0 /home/mysite/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_forums->topicRow(Object(IPS\Helpers\Table\Content), Array, Array)
    #1 /home/mysite/public_html/system/Theme/Theme.php(860) : eval()'d code(1457): IPS\Theme\_SandboxedTemplate->__call('topicRow', Array)
    #2 /home/mysite/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_forums->forumTable(Object(IPS\Helpers\Table\Content), Array, Array, NULL, true)
    #3 /home/mysite/public_html/system/Helpers/Table/Table.php(564): IPS\Theme\_SandboxedTemplate->__call('forumTable', Array)
    #4 /home/mysite/public_html/applications/forums/modules/front/forums/forums.php(417): IPS\Helpers\Table\_Table->__toString()
    #5 /home/mysite/public_html/applications/forums/modules/front/forums/forums.php(38): IPS\forums\modules\front\forums\_forums->_forum(Object(IPS\forums\Forum))
    #6 /home/mysite/public_html/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_forums->manage()
    #7 /home/mysite/public_html/system/Dispatcher/Dispatcher.php(158): IPS\Dispatcher\_Controller->execute()
    #8 /home/mysite/public_html/index.php(13): IPS\_Dispatcher->run()
    #9 {main}
     

     

    BACKTRACE:

    Quote

    #0 /home/mysite/public_html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error')
    #1 /home/mysite/public_html/system/Theme/Theme.php(860) : eval()'d code(1457): IPS\Theme\_SandboxedTemplate->__call('topicRow', Array)
    #2 /home/mysite/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_forums_front_forums->forumTable(Object(IPS\Helpers\Table\Content), Array, Array, NULL, true)
    #3 /home/mysite/public_html/system/Helpers/Table/Table.php(564): IPS\Theme\_SandboxedTemplate->__call('forumTable', Array)
    #4 /home/mysite/public_html/applications/forums/modules/front/forums/forums.php(417): IPS\Helpers\Table\_Table->__toString()
    #5 /home/mysite/public_html/applications/forums/modules/front/forums/forums.php(38): IPS\forums\modules\front\forums\_forums->_forum(Object(IPS\forums\Forum))
    #6 /home/mysite/public_html/system/Dispatcher/Controller.php(101): IPS\forums\modules\front\forums\_forums->manage()
    #7 /home/mysite/public_html/system/Dispatcher/Dispatcher.php(158): IPS\Dispatcher\_Controller->execute()
    #8 /home/mysite/public_html/index.php(13): IPS\_Dispatcher->run()
    #9 {main}

     

  10. I am wondering why this simple mod rewrite to eliminate a duplicate home page is causing errors:

    # Remove index.php from root URL
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.(php|html) [NC]
    RewriteRule ^index\.php$ https://www.mysite.com/ [R=301,L]

    Quote

    The link could not be embedded because of an unexpected error: error: "The CSRF protection key did not match. This may indicate a plugin or theme is out of date. Please contact technical support for more information.".


     

  11. Around the time that IPB started its tags, I decided to not allow bots to index them. My reasoning was that having bots hitting hundreds, perhaps thousands, of searches per minute would slow things down on my site, and thus be bad for SEO, given just how much Google now weighs site speed into their algorithm for search results. Additionally, given that Google has a "crawl budget" for each site, my thought was that I'd rather have bots focus on indexing the new content, rather than indexing what are simply search results on my site.

    My decision could be wrong, and perhaps the good SEO from bots clicking on my tags and indexing them might outweigh the bad. 

    My hope is to hear from others about how they handle this issue.

  12. I am checking here to see if anyone is using this app in PHP 8.0? I have tried, but this app is causing a server 500 error in PHP 8.0 when someone clicks on either the clubs or blogs link. Unfortunately I can't find anything that gets logged about this error in the server's php error logs, or in the ACP logs. I believe the Apache error it triggers must preclude a php error from getting logged.

    Has anyone else had this issue?

    Also, I am now working with a developer to try to get an update to this plugin, and at least fix this issue. I will post here my progress on it.

×
×
  • Create New...