By Kane on Monday, 19 January 2015
Posted in General Issues
Replies 3
Likes 0
Views 707
Votes 0
I get the following code showing in email notifications since update to 3.9.19775. I thought maybe it was due to my customizing email template, however, I only edited the "email.blog.new.html.php" file and I received the same code showing on a Blog Pending template as well. I am left to assume it happened following the upgrade which occurred yesterday.

var req = false; function refreshSession() { req = false; if(window.XMLHttpRequest && !(window.ActiveXObject)) { try { req = new XMLHttpRequest(); } catch(e) { req = false; } // branch for IE/Windows ActiveX version } else if(window.ActiveXObject) { try { req = new ActiveXObject("Msxml2.XMLHTTP"); } catch(e) { try { req = new ActiveXObject("Microsoft.XMLHTTP"); } catch(e) { req = false; } } } if(req) { req.on-readystatechange = processReqChange; req.open("HEAD", "http://www.mysite.net/administrator/", true); req.send(); } } function processReqChange() { // only if req shows "loaded" if(req.readyState == 4) { // only if "OK" if(req.status == 200) { // TODO: think what can be done here } else { // TODO: think what can be done here //alert("There was a problem retrieving the XML data: " + req.statusText); } } } setInterval("refreshSession()", 300000);
Hello Kane,

To be honest, I am not really sure what edits did you make. Can you please revert to the original theme files and see if you are still hitting this? If you are unsure, it's best that you perform an installation of EasyBlog again and see if you are still hitting the same issue.
·
Monday, 19 January 2015 23:54
·
0 Likes
·
0 Votes
·
0 Comments
·
I don't think it had anything to do with my edit of a single template because it affected multiple templates. But also, how do I test templates. I do see the already sent emails in the "Mail Activity" section, but that is simply what was already sent. I need to be able to test a template that doesn't go out to the subscribers.

I will reinstall EB, but without a way to test emails without sending to subscribers, I won't know if it is fixed.
·
Tuesday, 20 January 2015 08:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Kane,

You can temporary turn off these options: http://screen.stackideas.com/2015-01-20_1711.png except the Notify admin on new entries so that the email will be only sent to admin for you to test.
·
Tuesday, 20 January 2015 17:12
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post