FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » error compacting messages
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: error compacting messages [message #158503 is a reply to message #158500] Fri, 27 February 2009 18:15 Go to previous messageGo to previous message
littleking is currently offline  littleking   United States
Messages: 187
Registered: January 2007
Karma:
Senior Member
when i do that, i get:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /homepages/35/d196178364/htdocs/encore/adm/compact.php on line 115

  set_error_handler ('error_handler');
 97 
 98    function error_handler ($level, $message, $file, $line, $context) {
 99         if (error_reporting() != 0) {
100                 echo <<<_END_
101     <script type="text/javascript">clearInterval(intervalID);</script>
102      <p>An error was generated in file $file on line $line.</p>
103       <p><font color="red">The error message was: $message</font></p>
104        _END_;
105                 exit;
106         } else {
107                 return;
108         }
109         }
110 
111           function write_body_c($data, &$len, &$offset, $fid)
112 {
113         $MAX_FILE_SIZE = 2140000000;
114 
115         if (!empty($_POST['fromcharset']) || !empty($_POST['tocharset'])) {
116                 $newdata = iconv($_POST['fromcharset'], $_POST['tocharset'],     $data);
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: subscriptions ucp theme
Next Topic: maillist.php from 2.8, 2.8RC problem
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 09:12:36 GMT 2024

Total time taken to generate the page: 0.04024 seconds