Forums / Templates, Stylesheets, Page Layout / Limited length for disclaimer and other define() inserts?

Limited length for disclaimer and other define() inserts?

Locked

Views: 749

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
21 Nov 2008, 6:20 PM
#1
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Limited length for disclaimer and other define() inserts?

Is there a limit to the maximum length for text inserted through define() statements?

I've been trying to insert a comprehensive legal disclaimer for the email system but kept getting php error messages until I cut the disclaimer down below a certain size.

I haven't had chance to search through every function or setting yet, but just wondered if there was a knowledgeable experienced user out there who'd come on the problem?

:unsure:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store

21 Nov 2008, 6:39 PM
#2
worldmaker avatar

worldmaker

Zen Follower

Join Date:
Jul 2006
Location:
Manchester
Posts:
139
Plugin Contributions:
0

Re: Limited length for disclaimer and other define() inserts?

Okay, instead of taking a break I decided on a few more checks.

I was getting an error message when trying to send emails from the system with a long elaborate legal disclaimer.

I thought it was the length of the disclaimer, but it turned out to be a stray "100%" in the test and the percentage sign wasn't escaped. (and % didn't work, have to try something else, one day....)

Just edited that out the the full text works perfectly.

:blush:

"Why dumb down when we can rise up?" Worldmaker / BonDevZone Store