vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Notification emails sometimes missing line breaks (https://vborg.vbsupport.ru/showthread.php?t=317254)

pjkcards 02-11-2015 01:58 AM

Notification emails sometimes missing line breaks
 
I have an odd problem I haven't been able to solve, or troubleshoot.

Notification emails, like new PM, or daily digest to a subscribed thread sometimes format perfectly fine, and other times randomly show up with no line breaks. This started a few months ago, but can't pinpoint what is causing it.

The Diagnostic returns the line breaks fine, but some of the time notifications don't have line breaks, and sometimes they do. See the example below:
Quote:

the thread is [removed]

the email look like the one in the attachment
It is hard to figure out since sometimes it works, and sometimes it doesn't. How can I troubleshoot this? I was going to disable mods, but not sure how I can test if it is works.

Any ideas on what I can do to resolve this?

Thanks.

ForceHSS 02-11-2015 02:06 AM

Please upload screenshoots as guests cant see the one you have above

pjkcards 02-11-2015 04:24 PM

Quote:

Originally Posted by ForceHSS (Post 2536933)
Please upload screenshoots as guests cant see the one you have above

Sorry about that, I've uploaded the attachment. Please have a look. Thanks.

kh99 02-11-2015 04:41 PM

Have you noticed if it could be related to whether or not the message has one of those "R'U'RU..." things in it? Or have you noticed if it has anything to do with which user wrote the post or PM?

pjkcards 02-12-2015 03:29 AM

It doesn't have anything to do with the "R'U.." as it happens with ones without that, and it doesn't seem to have to do with anything related to which user wrote the post or PM.

Any further ideas to troubleshoot?

Thanks again for your time.

HM666 02-12-2015 03:36 AM

Same as the other thread its probably a mod that you have installed that is causing some sort of conflict. Try the following for this at least:

You will need a HTML editor like Dreamweaver or use NotePad. DO NOT use MS Word or Word Pad.

Global disable: open your includes>config.php file and find:

Code:

<?php
and under place:

Code:

define('DISABLE_HOOKS', true);
Save and upload again to your server in the includes directory.

If you find that it works after disabling the plugins globally then re-enable the plugins by putting // in front of the code so it looks like this:

Code:

//define('DISABLE_HOOKS', true);
Save and upload again.

Then you will have to go through your mods one by one until you find the one that is causing the conflict.

pjkcards 02-12-2015 03:13 PM

Once I disable the mods, how can I test this though? Since it happens randomly and not all the time, I'm not sure how to properly troubleshoot.

Thanks.

HM666 02-12-2015 07:45 PM

The only way that I know of would be to leave them disabled until it happens again.

pjkcards 02-13-2015 12:38 AM

How can I make it happen again? I don't want to leave all plugins off for days. There are a few we use a lot, especially the vB Advanced CMPS, which is our homepage.

ForceHSS 02-13-2015 12:53 AM

put up a test server


All times are GMT. The time now is 10:06 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01047 seconds
  • Memory Usage 1,733KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete