Support

Home Forums Event Espresso Premium Help – Data Tables Warning – urgent!

Help – Data Tables Warning – urgent!

Posted: January 28, 2014 at 1:25 am

Viewing 16 reply threads


Paul Miller

January 28, 2014 at 1:25 am

I went into the ee promo codes section to look at a promo code and this error came up:
Data Tables Warning: JSON data from server failed to load. Then something about a possible formatting error. How do I sort this asap- this event is now live and heaps of people have been given promo codes. Thanks.


Dean

January 28, 2014 at 3:22 am

Hi Paul,

That does sounds like a formatting error.

Where exactly is this issue coming up – promotional codes over view, editing a code or in the event itself?

What browser are you using please?


Paul Miller

January 28, 2014 at 3:36 am

When I log into WP then click on the EE plugin then click on the Promotional Codes link the error comes up straight away. I had entered one promo code last week and just went in to add another when this error came up.


Paul Miller

January 28, 2014 at 3:41 am

Just tested it on one of our live events and the one promo code we have still does work. I just cant add or ammend any more promo codes as is.

Man this is doin my head in, got an issue with the thank you page too – anyway thats another thread…………..


Paul Miller

January 28, 2014 at 3:42 am

Sorry i’m using Chrome.


Tony

  • Support Staff

January 28, 2014 at 4:05 am

Hi Paul,

I’ve seen this before and it turned out to be browser caching. Can you clear the browser cache and retest please.

Here are instructions on clearing Chrome’s cache:

https://support.google.com/chrome/answer/95582?hl=en

I would start with theses settings http://d.pr/i/Pc1q


Paul Miller

January 28, 2014 at 4:20 am

Hey guys, OK i tried that but no luck. I also tried in IE 11 and Firefox, same result.


Tony

  • Support Staff

January 28, 2014 at 4:34 am

Is it possible to get log-in details to investigate this further?

Is so please send using https://eventespresso.com/send-login-details/


Paul Miller

January 28, 2014 at 4:45 am

Details sent Tony.
Thanks.


Tony

  • Support Staff

January 28, 2014 at 5:03 am

Hi Paul,

Have you added any custom functions to add some CSS recently?

Specifically:

<style type="text/css">
 a:hover {
  cursor:pointer;
 }
</style>

That is being added to the ajax response (plus other files) which is breaking the formatting.

I’m unsure currently how/why that is being called.


Paul Miller

January 28, 2014 at 5:15 am

Yes I did because I was getting no hover cursor on the ‘Send me an Invoice’ link. It fixed that but looks like its stuffed up something else!


Paul Miller

January 28, 2014 at 5:18 am

I added that to the invoice_vars.php file.


Tony

  • Support Staff

January 28, 2014 at 5:24 am

You’ll need to remove that and add it to a custom CSS file.

I would recommend using a plugin such as My Custom CSS to include any addition CSS you may need.

That should then fix the promo code issue.


Paul Miller

January 28, 2014 at 5:31 am

OK, thanks Tony for your time, not sure how to add a custom css file but i’ll give it a try with the link you’ve provided, cheers.


Tony

  • Support Staff

January 28, 2014 at 5:38 am

The plugin I linked to will do it for you from the Admin.

Once you install & activate that plugin you’ll see something like this http://d.pr/i/D5FG (I’ve already clicked the ‘My Custom CSS’ heading.

Then just add your CSS there, like http://d.pr/i/6dPc

Hit save.

Remember to remove that rule from invoice_vars.php file to fix the promo codes.


Paul Miller

January 28, 2014 at 4:43 pm

Thanks Tony, I can confirm 2 things – removing the code from the invoice_vars.php file fixed the promo code issue, and I added the Custom CSS plugin and added the code there as you suggested which now adds a hover cursor over my invoice link!! Wow what a trip this has been, cheers mate thanks heaps!


Tony

  • Support Staff

January 29, 2014 at 3:50 am

No Problem ๐Ÿ™‚

Glad to help.

Viewing 16 reply threads

The support post ‘Help – Data Tables Warning – urgent!’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso