-
Notifications
You must be signed in to change notification settings - Fork 754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tablesorter and widgets update causes very strange errors with Jquery-based cookie plugin #378
Comments
Well, I was having too many problems with the new version so I downgraded to my older version 2.0.5b, which was working perfectly. Even after the new "repeatHeaders" widget I put together. Now I have removed the new CSS file(s), and copied my old JS scripts back into my site, making sure not to leave any trace of the newer version. All of a sudden, my OLD version isn't sorting anymore!!! Here's what the Console says. Please, I need help quickly, this is a PRODUCTION server with a mission critical app! |
Hi @DevlshOne! Sorry for not responding earlier. I did leave a comment in the StackOverflow question you asked, but I never got a response. Basically the error you are showing above does not sound like it is related to the plugin, especially if it stopped working after it was reverted back to the original. Please check this SO answer. Lastly, the error shown above is because the parser being used with the original version of tablesorter doesn't have a "type" - which is either // add parser through the tablesorter addParser method
$.tablesorter.addParser({
// set a unique id
id: 'grades',
is: function(s) {
// return false so this parser is not auto detected
return false;
},
format: function(s) {
// format your data for normalization
return s.toLowerCase().replace(/good/,2).replace(/medium/,1).replace(/bad/,0);
},
// set type, either numeric or text
type: 'numeric'
}); I'm also not sure how this is related to the repeat headers widget mentioned. But, it really isn't possible to help you with the plugin unless you also share the custom parser/widget and initialization code being used. Better yet, please share a demo or the actual page with the problem. |
Hi @DevlshOne! I'm guessing this issue has been resolved. If not, please feel free to post a message here for me to reopen it and I will try to assist you further. |
Last night, I updated my tablesorter scripts, including the widgets and starting having severe problems with my site. All the errors/warnings/notices point at the
jquery.cookie.js
script (both before and after I upgraded it from the Github site. Here is an excerpt from my php-errors.log file:The relevant lines from my header.php file:
And the screen full of errors on my site:
Why, suddenly, is PHP complaining about headers being sent when all I have before the
setcookie
lines is my<head>
section? Do one of the .js files output anything to the screen? From the latest upgrade, I'm including:Please help so I can use the latest version of this great plugin and all of it's very helpful widgets. Thanks
The text was updated successfully, but these errors were encountered: