Jump to content

Community

sadams101

+Clients
  • Posts

    537
  • Joined

  • Last visited

 Content Type 

Profiles

Downloads

IPS4 Providers

Release Notes

IPS4 Guides

IPS4 Developer Documentation

Invision Community Blog

Forums

Store

Everything posted by sadams101

  1. I changed some things about how my ads are served, and noticed that banners would not show up until I deleted my cookies. I suspect that the banner are not showing up for my regular visitors due to this issue. Is there a way to force a new cookie...make the expiration shorter to clear this up?
  2. I'm having a problem with PHP & TXT Widget that started a few months ago. It is now triggering render blocking Javascript errors, which it never used to do. Clearly something changed, either with IPB updates, or something else. I am hoping for a fix for this.
  3. Thank you for this, it is very helpful. So if I get no errors converting a table, I will assume that there is no need to drop an index and re-index anything, or is it good practice to re-index after doing this? Also, one issue I am having is converting the ibf_core_search_index table, which is larger than my posts table. From command line it ran all night and never seemed to finish, so I stopped it. A look at the table in PHPMyadmin shows that it did covert to InnnoDB, however I am skeptical that something did not go right with it. In a worst case, is it ok to empty this table out, then rebuild the search index?
  4. Some users report Error 2S129/2 when they try to validate their email. It looks like they click on the link in their email, get this error, then when I check them the account looks fine and activated. Any idea whey they would see this error?
  5. So on my test site I finally got around to dealing with the 5 tables that thew the errors when trying to run the command to convert them to InnoDB. I was planning to do the delete index route beforehand, but decided to try one last time to run the commands in PHPMyadmin, example: ALTER TABLE mysite_forum.ibf_cms_database_fields_thumbnails ENGINE=InnoDB ROW_FORMAT=DYNAMIC; This time I did this one by one, and got time out errors on some (I've been doing this in PHPAdmin, not on the command line). However, even through I saw timeout errors, it looks like those table were successfully converted to InnoDB. I will try all of this one more time on test databases before trying it on my live site. I have a few questions, some probably go beyond the scope of this board, but what the heck: 1) Would it be best to do this from the MYSQL command line to avoid timeout and other issues? 2) For a site that gets up to 100 simultaneous connections with up to 48K unique visitors a day, are there some basic recommended my.cnf settings I'd better put in place before going live? I am just not used to InnoDB. I've heard that 1/3 of my memory should be dedicated to InnoDB. 3) I've got my "save my butt" cheat sheet commands for MyISAM, which have saved me several times--these are force repair of a table or tables, rebuilding their indexes, etc. Can anyone share similar commands with me for InnoDB that are used when things get bad?
  6. I may have found the issue...it looks like the limit was not set in certain fields in the "Fields" area. I have now set the field lengths there to match what the limits in the database are.
  7. In my Pages all there is a "Subtitle" field that is throwing this error sometimes when I submit articles: EX1406 IPS\Db\Exception: Data too long for column 'field_7' at row 1 (1406) A look at my database indicates that field_7 is a varchar(255) field. I suspect that this happens when I put in more characters than 255, however, I thought the field length would not allow me to do that. Any ideas on how to handle this?
  8. I did look for the "noindex" as an attribute, and in may page I do not see this. In any case, noindex may still, at least to google, mean ok to crawl, just no ok to index. If it really is noindex then people should have the block in robots.txt to stop google from crawling it.
  9. Anyone else who wants to do this try: {{$buttonMethods = $login->buttonMethods();}} {{$usernamePasswordMethods = $login->usernamePasswordMethods();}} {{if $orientation == 'vertical'}} <div class='ipsWidget_inner ipsPos_center ipsPad'> <div class="ipsAreaBackground_light ipsPad"> <h2 class="ipsType_sectionHead ipsSpacer_bottom ipsSpacer_half">{$title}</h2> <p class="ipsType_richText ipsType_contained"> {$text|raw} </p> {{if $usernamePasswordMethods}} <ul class="ipsList_inline"> <li> <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_in_short"}</a> </li> <li>{lang="or"}</li> <li> <a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_up"}</a> </li> </ul> {{endif}} {{if $buttonMethods}} <div class=''> <form accept-charset='utf-8' method='post' action='{$login->url}' data-controller="core.global.core.login"> <input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}"> <input type="hidden" name="ref" value="{expression="base64_encode( \IPS\Request::i()->url() )"}"> {{foreach $buttonMethods as $method}} {{if $method->getTitle() == 'login_handler_Facebook'}} <div class='ipsType_center ipsPos_center ipsSpacer_top'> {$method->button()|raw} </div> {{endif}} {{endforeach}} </form> </div> {{endif}} </div> </div> {{else}} <div class='ipsWidget_inner ipsPos_center ipsPad_half'> <div class="ipsAreaBackground_light ipsPad"> <div class="ipsGrid ipsGrid_collapsePhone"> <div class='ipsGrid_span{{if $buttonMethods}}9{{endif}}'> <h2 class="ipsType_sectionHead ipsSpacer_bottom ipsSpacer_half">{lang="widget_guestsignup_title"}</h2> <!-- lines below removed by scott <p class="ipsType_richText ipsType_contained"> {lang="widget_guestsignup_text"} </p> END removed --> {{if $usernamePasswordMethods}} <ul class="ipsList_inline"> <li> <a href='{url="app=core&module=system&controller=login" seoTemplate="login"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_in_short"}</a> </li> <li>{lang="or"}</li> <li> <a href='{url="app=core&module=system&controller=register" seoTemplate="register"}' class="ipsButton ipsButton_primary ipsButton_verySmall ipsPos_right">{lang="sign_up"}</a> </li> </ul> {{endif}} </div> {{if $buttonMethods}} <div class='ipsGrid_span3 cSignInTeaser_right'> <form accept-charset='utf-8' method='post' action='{$login->url}' data-controller="core.global.core.login"> <input type="hidden" name="csrfKey" value="{expression="\IPS\Session::i()->csrfKey"}"> <input type="hidden" name="ref" value="{expression="base64_encode( \IPS\Request::i()->url() )"}"> {{foreach $buttonMethods as $method}} {{if $method->getTitle() == 'login_handler_Facebook'}} <div class='ipsPad_half ipsType_center ipsPos_center'> {$method->button()|raw} </div> {{endif}} {{endforeach}} </form> </div> {{endif}} </div> </div> </div> {{endif}}
  10. I wanted to make a correction here--the "noindex" is only a meta tag attribute, not a link attribute, so I ended up with a simple Disallow: /tags/ in my robots.txt. In a perfect world I could simply turn off the flood control, but then google and other spiders would likely be running these searches constantly, which would affect performance.
  11. There must have been an issue with my php 7.1 installation. To resolve this I used EasyApache 4 to fully uninstall PHP 7.1 and all modules, then reintalled them. After doing that I got things working.
  12. So I found the tag template: <a href="{url="app=core&module=search&controller=search&tags={$urlEncodedTag}" seoTemplate="tags"}" class='ipsTag' title="{lang="find_tagged_content" sprintf="$tag"}" rel="tag"> and changed it to: <a href="{url="app=core&module=search&controller=search&tags={$urlEncodedTag}" seoTemplate="tags"}" class='ipsTag' title="{lang="find_tagged_content" sprintf="$tag"}" rel="tag noindex"> I guess this would be the best solution to avoid having spiders potentially running many searches per minute/second, and to stop the google errors.
  13. I am using the latest version of IPB, and in the Pages app my tags do not include noindex: <a href="https://www.url.com" class='ipsTag' title="Find other content tagged with 'tag text'" rel="tag"> I also don't see this an a setting option in the ACP.
  14. So I guess I'm stuck on this. I'm not sure what to include for the button name in this line: $method->button()->facebook
  15. Sorry, yes, I've been using the Multiple PHP.INI Editor in WHM cPanel logged in as root, and I am using EasyApache 4. So I believe that I've edited all relevant files.
  16. I thought of another possible approach, but I doubt this is allowed in the robots.txt. Could you put a crawl-delay on a specific directory, for example: Allow: /tags/ Crawl-delay: 60 Ever hear of this?
  17. Hello @Xenboy, thank you for the info. I am the server's admin, and I haven't enabled PHP 7.1 globally (PHP 5.6 is the global for the server), but have enabled PHP 7.0 on my IPB site without issues...the php.ini settings are the same, and all versions of PHP on the server are set to 1000M for memory_limit, so I can't understand where the 32M error is coming from. It is very strange.
  18. I looked in each of those files, and used a grep search in root for: grep -R 'ini_set' * but found nothing. Please let me know if you can think of anything else that could cause this.
  19. Thank you for this. I've been testing but still can't get the facebook button showing. Here is what the facebook code looks like for that button: <div class='ipsPad_half ipsType_center ipsPos_center'> <button type="submit" name="_processLogin" value="5" class='ipsButton ipsButton_verySmall ipsButton_fullWidth ipsSocial ipsSocial_facebook' style="background-color: #3a579a"> <span class='ipsSocial_icon'> <i class='fa fa-facebook-official'></i> </span> <span class='ipsSocial_text'>Sign in with Facebook</span> </button> </div>
  20. Here is what I've tried so far, which did not work: 1) Disabled all 3rd Party apps, plugins, advertisements, etc. 2) Disabled using memcache and loaded the new constants.php file; I have other apps on this server that I've switched over to PHP 7.1 without any issues, for example my Revive Adserver app.
  21. PS - I am no longer seeing this error: Call to undefined method stdClass::language() But I still have the memory errors and can't switch to PHP 7.1
  22. I did try restarting PHP...where do you mean to check for 128M php memory...is this a php.ini setting, or somewhere else. I also noticed this error: Call to undefined method stdClass::language()
  23. I am trying to upgrade PHP, I've correctly provisioned all modules (I believe) in my WHM cPanel, and I've closely compared the php.ini files in both versions so that their settings are the same, but when I switch the site with my large forum to PHP 7.1 I get memory errors: [18-Aug-2018 23:15:41 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1867776 bytes) in /home/mysite/public_html/init.php(460) : eval()'d code on line 129 I copied over the same setting I had in 7.0 for: memory_limit = 1000M Any ideas?
×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy