Jump to content

Nathan Explosion

Clients
  • Posts

    6,984
  • Joined

  • Days Won

    127

 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 Nathan Explosion

  1. The reason for the original issue is that 2180291008 is higher than 2147483647, which is the maximum value of an INT column if the column is signed, which is the default for INT - unsigned (for zero and positive numbers only) allows that limit to be doubled.

    https://dev.mysql.com/doc/refman/5.7/en/integer-types.html

    https://dev.mysql.com/doc/refman/8.0/en/integer-types.html

  2. This is the JS call to bring in the validator plugin:

    <script src="https://cdn.jsdelivr.net/jquery.validation/1.16.0/jquery.validate.min.js"></script>

    If you go to the site for the plugin, you'll see that the current release is 1.19.5, so you might want to consider updating your code to use the most recent version before you try troubleshooting further.

  3. OK - I didn't mention anything about putting those items in the footer of the theme so that's your call.

    And you haven't modified the theme setting that I indicated you could change.

    And now you have this as your code

    <!-- <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
        <script src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.js"></script> -->
        <script type="text/javascript">
          jQuery.noConflict();
            jQuery(document).ready(function() {
                jQuery('#example123').DataTable({
                    "bProcessing": true,
                    "bServerSide": true,
                    "sAjaxSource": "https://beta.marketingcheckpoint.com/admin/mailing/ajax_mail_history_dt10.php"
                });
            });
        </script>

    And this as your error:

    Could contain: Text, Page

    Why? You've commented out BOTH the jquery line and the datatables line, and you aren't loading the datatables JS at a later point. Plus you are using "jQuery" instead of "$"

    Use this code in the block, modify the theme setting I indicated, and then advise if it doesn't work:

     

    <script src="https://cdn.datatables.net/1.11.5/js/jquery.dataTables.js"></script>
    <script type="text/javascript">
    	$(document).ready(function() {
    		$('#example').DataTable({
              "bProcessing": true,
              "bServerSide": true,
              "sAjaxSource": "https://beta.marketingcheckpoint.com/admin/mailing/ajax_mail_history_dt10.php"
    		});
    	});
    </script>

     

     

  4. OK - first bit of advice...you don't need this as jQuery (v3.7.0) will be provided by Invision's software:

    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

    Secondly...in your screenshot, the error is $(...).DataTable but when I view the site, I see:

    $(...).dataTable is not a function

    The DataTable function is called "DataTable" so if you have do have it as "dataTable" in your code then correct that.

    Finally though, and most important...your code is BEFORE the code that loads up all of Invision's JS. That is possibly why you decided to include that first line of script to load jquery up. You can change that in your theme settings:

    Could contain: Page, Text

     

  5. Ah well - that's likely the only option outside of deleting the actual icons from within your file structure.

    Why exactly do you want to disabled them? They are used on Retina screens for a reason (the default PNG icons probably blur a little on those screens)

  6. 17 minutes ago, MinimateMultiverse said:

    It's likely affecting Chrome users more, I suspect.

    First things first...while you are using https there in the URL, your site is not being served up as http

     

    Could contain: Page, Text, File

    Check your conf_global.php, specifically the base_url value - if it is http:// then change it to https://, then clear your cache via the support tool in the ACP.

×
×
  • Create New...