Jump to content

FabioPaz

Members
  • Posts

    296
  • Joined

  • Last visited

  • Days Won

    1

 Content Type 

Downloads

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Development Blog

Deprecation Tracker

Providers Directory

Forums

Events

Store

Gallery

Everything posted by FabioPaz

  1. Hello, there. I'm using Redis for caching, but after a server migration I started seeing this warning. The problem is that other applications on the same virtual host are using redis without a problem. If I try to change the caching system, to file system or mysql, for example, the warning keeps showing "cache not working". 1 - Already purged browser cache 2 - Already purged forum cache by the "something is wrong". Any ideas? Thank you for your time.
  2. The path to this setting is in the Community tab, second tab from top to bottom. Forums > Settings > Default topic list view By the way, thank you. The performance of the forum was horrible, until I disabled it.
  3. @Makoto, thank you for your time doing this guide. It helped me a lot understanding the nginx conf structure. But how do you manage the fastCGI with IPB4? Might I ask you if you have a example conf for caching? I'm asking because I got nginx working fine, but when I try the cache there's a lot of problems regarding content not being refreshed after a user changed the content.
  4. Thank you for your time, but the content is still outdated after editing a post (for example), it keeps the cached data. I already tried to follow the Makoto's guide, but unfortunately I had several problems with differences in the config. Since the topic is from 2015, maybe there's stuff that changed to the newer versions? Hello, Paul. If there's a topic without new changes, I want the cached version to be served as longer as possible. But if someone post in it or the content is changed, then I want the new version to be cached. So caching for 60 minutes (or 120m for that matter), shouldn't be a problem if the cache is purged when a change happens, right? Maybe this isn't the config that I think it is? What is the best practice for fastcgi_cache_valid? Can you give me a hand? To be honest, I read the doc, but simply didn't understand how to make it work. Being a newbie in server management, nginx seems to be more complicated than "usual" (the same for their doc files). Thank you for your time.
  5. Hello there, I'm using nginx fastcgi caching with php-fpm with great success (in terms of performance), the only problem is that the cache is not purged automatically after a member create or update content. For example: someone creates a new topic and no one can see it because nginx is serving a old cached version of the home. If you try to enter in new topic directly, by the url, no problem. But anyone else can't see it until you purge everything. Any ideas? My virtual host conf: server { server_name XXX www.XXX; root /var/www/XXXX; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload" a> index index.php; include /var/www/blog.redirects; include /var/www/forum.redirects; location /blog/ { try_files $uri $uri/ /blog/index.php?q=$uri&$args; } location /forum/ { try_files $uri $uri/ /forum/index.php; } set $skip_cache 0; # POST requests and urls with a query string should always go to PHP if ($request_method = POST) { set $skip_cache 1; } if ($query_string != "") { set $skip_cache 1; } # Don't cache uris containing the following segments if ($request_uri ~* "/wp-admin/|/xmlrpc.php|wp-.*.php|^/feed/*|/tag/.*/feed/*> set $skip_cache 1; } # Don't use the cache for logged in users or recent commenters if ($http_cookie ~* "comment_author|wordpress_[a-f0-9]+|wp-postpass|wordpress_no_cach> set $skip_cache 1; } location ~* \.(jpg|jpeg|png|gif|ico|css|js|pdf)$ { expires 7d; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; fastcgi_cache_bypass $skip_cache; fastcgi_no_cache $skip_cache; fastcgi_cache phpcache; fastcgi_cache_valid 200 301 302 60m; fastcgi_cache_use_stale error timeout updating invalid_header http_500 http_503; fastcgi_cache_min_uses 1; fastcgi_cache_lock on; add_header X-FastCGI-Cache $upstream_cache_status; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains; preload> } I really don't know what else I could try. Thank you for your time.
  6. Hello, there. My ibf_core_search_index table has 4gb. Since I already rebuilt the index (without affecting it's size), can I simply clean the table to start from scratch? "Why" you ask... Imagine my surprise after discoverying my daily backups folder occupying a copious amount of space. Another pain was doing a simply database migration to another server (4gb for one table, there's the rest). Any help would be appreaciated. Thank you for your time in advance.
  7. Hello, there. I'm about to migrate my forum to a new server and this is always a pain. To minimize downtime, what do you guys do during the migrate? My only plan was to close the board until the DNS pointing to the new server propagates. This always generate complaints. Is there a better way?
  8. Hello, there. Anyone else with this problem? People started complaining that I "removed" the notification bell from the user menu. Looking at it using a mobile I found the problem: It's hidden and you have to slide to the left to see the menu correctly.
  9. Any before/after test with Google Page Insights ?
  10. That's really good to know. The only question is how IPB consider a profile as empty or filled. Most people dont take the time to fill out the profile completly with rich content and just fill out basic stuff, this could make IPB to include the profile in the sitemap, but its still thin content (in a large community this is not good). Off-topic: Anyone know a way to remove "dead content" ? Like topics that didnt received any traffic in the last "X" months (this would mostly indicate zero SERP traffic/no valuable information/not backlink worthy).
  11. Why would you guys want to profiles being indexed, since google will treat it mostly as thin content ? My forum have 240.000 members and 180.000 topics, now imagine what the crawler most think of this, not even mentioning the problem with crawl budget (ps: 180k topics with 1,4 million posts). About the algorithm, I don't think google will check EAT authority using your own site, if this was the case people would manipulate it very easily. Dont you think google will get the author name from the topic itself and compare using other factors ? Like where the name of the author is mentioned OUTSIDE the site ? Social media ? etc ? If content of the author is the case, google will follow the forum structure and find it. But if google find the same content in the author page and in the forum, the chances of duplicated content will increase, right ? (not a rethorical question).
  12. Yep. It worked. Thank you anyway. ALTER TABLE ibf_core_pfields_content DROP COLUMN sfsMemInfo;
  13. Hello, The plugin from stop forum spam from IPB3 broke my forum after I upgraded to IPS4, it left some fields in the db that now, when some users try to edit their profile, it gives a EX1364 error. InvisionPower dont give support to 3rd party addons, so I'm alone on this one, since I dont find the guy who did this. Looking at the error: it shows this: REPLACE INTO `ibf_core_pfields_content` ( `member_id`, `field_5`, `field_6`, `field_7`, `field_11`, `field_12`, `field_13`, `field_2`, `field_9`, `field_15`, `field_16`, `field_19`, `field_20` ) VALUES ( 254472, '', '', '', '', '', '', '0', '', '', '', '', '' ) IPS\Db\Exception: Field 'sfsMemInfo' doesn't have a default value (1364) Can I just remove sfsMemInfo from all profiles ? Since the addon is already uninstalled, this will affect my db ? I really dont understand mysql.
  14. It worked! Thank you! But now I'm getting this error while upgrading: Duplicate entry '9810' for key 'PRIMARY' /home/hiper/public_html/forum/applications/core/setup/upg_40000/upgrade.php::1842 I can't post the sql query as the forum keep blocking my post. Any ideas why this is happening ? (The upgade error not the post blocking) The upgrade system give me the choice to continue anyway. But Is it safe to continue ?
  15. Hello, Dumb question: I have to remove all the 3.4.x files and upload the ones of the 4.x to upgrade ? Or just upload on top of the old ones and overwrite everything ? I'm asking this because I did all the steps in the first post, but when I access the 4.x it's like the board will install a fresh forum and not a upgrade from the 3.4.x.
×
×
  • Create New...