News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Search results for: 316

Search order
#1
   Apply Filter: Only show the error messages of this member delta5
Apply Filter: Only show the error messages of this IP address 192.88.135.15   
   Reverse chronological order of list November 07, 2018, 08:51:09 PM
Apply Filter: Only show the error messages of this session af50f6bbdf2ba7ceb47dfda43b33b61b
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URLhttps://www.fedupwithliberals.com/index.php?action=shoutbox;sa=send;sesc;xml;row=20Apply Filter: Only show the errors with the same message2: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback insteadApply Filter: Only show the errors from this file File: /home/s7x1c79cv7ls/public_html/Sources/Shoutbox.php
Line: 316


308:         $shoutbox['fixLongWords'] = (int) min(1024, $shoutbox['fixLongWords']);
309:   
310:         if (strlen($msg) > $shoutbox['fixLongWords'])
311:         {
312:            $msg = strtr($msg, array($breaker => '< >', '&nbsp;' => $context['utf8'] ? "\xC2\xA0" : "\xA0"));
313:            $msg = preg_replace(
314:               '~(?<=[>;:!? ' . $non_breaking_space . '\]()]|^)([\w\.]{' . $shoutbox['fixLongWords'] . ',})~e' . ($context['utf8'] ? 'u' : ''),
315:               'preg_replace(\'/(.{' . ($shoutbox['fixLongWords'] - 1) . '})/' . ($context['utf8'] ? 'u' : '') . '\', \'\\$1< >\', \'$1\')',
==>316:               $msg);
317:            $msg = strtr($msg, array('< >' => $breaker, $context['utf8'] ? "\xC2\xA0" : "\xA0" => '&nbsp;'));
318:         }
319:      }
320:   
321:      // style
322:      $disabled = array();
323:      if (isset($shoutbox['disableTags']))
324:         foreach (explode(',', $shoutbox['disableTags']) as $tag)
325:            $disabled[$tag] = 1;
326:      $style = '';
327:   
328:      // bold
329:      if (isset($_POST['bold']) && !isset($disabled['b']))
330:         $style .= 'font-weight:bold;';
331:      // italic
332:      if (isset($_POST['italic']) && !isset($disabled['i']))
333:         $style .= 'font-style:italic;';
334:      // underline
335:      if (isset($_POST['underline']) && !isset($disabled['u']))
336:         $style .= 'text-decoration:underline;';
Powered by SMFPacks Media Embedder

Anyone know what might be causing this?

#2
296:      // verifying word isn't too long... same SMF function ;)
297:      if ($shoutbox['fixLongWords'] > 5 && $shoutbox['fixLongWords'] < $shoutbox['maxMsgLenght'])
298:      {
299:         $non_breaking_space = $context['utf8'] ? ($context['server']['complex_preg_chars'] ? '\x{A0}' : "\xC2\xA0") : '\xA0';
300:   
301:         if ($context['browser']['is_gecko'] || $context['browser']['is_konqueror'])
302:            $breaker = '<span style="margin:0 -0.5ex 0 0"> </span>';
303:         elseif ($context['browser']['is_opera'])
304:            $breaker = '<span style="margin:0 -0.65ex 0 -1px"> </span>';
305:         else
306:            $breaker = '<span style="width:0;margin:0 -0.6ex 0 -1px"> </span>';
307:   
308:         $shoutbox['fixLongWords'] = (int) min(1024, $shoutbox['fixLongWords']);
309:   
310:         if (strlen($msg) > $shoutbox['fixLongWords'])
311:         {
312:            $msg = strtr($msg, array($breaker => '< >', '&nbsp;' => $context['utf8'] ? "\xC2\xA0" : "\xA0"));
313:            $msg = preg_replace(
314:               '~(?<=[>;:!? ' . $non_breaking_space . '\]()]|^)([\w\.]{' . $shoutbox['fixLongWords'] . ',})~e' . ($context['utf8'] ? 'u' : ''),
315:               'preg_replace(\'/(.{' . ($shoutbox['fixLongWords'] - 1) . '})/' . ($context['utf8'] ? 'u' : '') . '\', \'\\$1< >\', \'$1\')',
==>316:               $msg);
317:            $msg = strtr($msg, array('< >' => $breaker, $context['utf8'] ? "\xC2\xA0" : "\xA0" => '&nbsp;'));
318:         }
319:      }
320:   
321:      // style
322:      $disabled = array();
323:      if (isset($shoutbox['disableTags']))
324:         foreach (explode(',', $shoutbox['disableTags']) as $tag)
325:            $disabled[$tag] = 1;
326:      $style = '';
327:   
328:      // bold
329:      if (isset($_POST['bold']) && !isset($disabled['b']))
330:         $style .= 'font-weight:bold;';
331:      // italic
332:      if (isset($_POST['italic']) && !isset($disabled['i']))
333:         $style .= 'font-style:italic;';
334:      // underline
335:      if (isset($_POST['underline']) && !isset($disabled['u']))
336:   

#3
Hi guys,

I just installed your shout box on my 3.0.15 forum and now im getting this error:

   Apply Filter: Only show the error messages of this member Florida Playboy
Apply Filter: Only show the error messages of this IP address 192.88.135.15   
   Reverse chronological order of list Today at 07:52:32 PM
Apply Filter: Only show the error messages of this session 0322b994de727ffce5a11a31e573acf5
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URLhttps://www.fedupwithliberals.com/index.php?action=shoutbox;sa=send;sesc;xml;row=20Apply Filter: Only show the errors with the same message2: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback insteadApply Filter: Only show the errors from this file File: /home/s7x1c79cv7ls/public_html/Sources/Shoutbox.php
Line: 316

The shout box seems to be working ok, but i keep getting this error.

Thanks,

#4
Quote from: grinninglich on November 07, 2017, 12:13:54 PM
Can anyone redirect me to fix of error below. Author says it is in the thread but where in all 137 pages?

preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Sources/Shoutbox.php
Line: 316

I have this too.

Quote from: Steve on November 08, 2017, 04:40:41 PM
click here

This... didn't have an answer for it as far as I could tell.

#6
Can anyone redirect me to fix of error below. Author says it is in the thread but where in all 137 pages?

preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Sources/Shoutbox.php
Line: 316

#7
Quote from: @rjen on June 30, 2017, 02:44:18 AM
I am getting this error in the logs since I am on PHP7.1 and a user apparently uses long words that need ' fixing'

hxxp://xxxx/index.php?action=shoutbox;sa=send;sesc;xml;row=40
2: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Bestand: /home/xxxx/public_html/Sources/Shoutbox.php
Regel: 316



310: if (strlen($msg) > $shoutbox['fixLongWords'])
311: {
312: $msg = strtr($msg, array($breaker => '< >', '&nbsp;' => $context['utf8'] ? "\xC2\xA0" : "\xA0"));
313: $msg = preg_replace(
314: '~(?<=[>;:!? ' . $non_breaking_space . '\]()]|^)([\w\.]{' . $shoutbox['fixLongWords'] . ',})~e' . ($context['utf8'] ? 'u' : ''),
315: 'preg_replace(\'/(.{' . ($shoutbox['fixLongWords'] - 1) . '})/' . ($context['utf8'] ? 'u' : '') . '\', \'\\$1< >\', \'$1\')',
==>316: $msg);
317: $msg = strtr($msg, array('< >' => $breaker, $context['utf8'] ? "\xC2\xA0" : "\xA0" => '&nbsp;'));
318: }


I also get this error, is there a known work around?

#8
I am getting this error in the logs since I am on PHP7.1 and a user apparently uses long words that need ' fixing'

https://xxxx/index.php?action=shoutbox;sa=send;sesc;xml;row=40
2: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Bestand: /home/xxxx/public_html/Sources/Shoutbox.php
Regel: 316



310: if (strlen($msg) > $shoutbox['fixLongWords'])
311: {
312: $msg = strtr($msg, array($breaker => '< >', '&nbsp;' => $context['utf8'] ? "\xC2\xA0" : "\xA0"));
313: $msg = preg_replace(
314: '~(?<=[>;:!? ' . $non_breaking_space . '\]()]|^)([\w\.]{' . $shoutbox['fixLongWords'] . ',})~e' . ($context['utf8'] ? 'u' : ''),
315: 'preg_replace(\'/(.{' . ($shoutbox['fixLongWords'] - 1) . '})/' . ($context['utf8'] ? 'u' : '') . '\', \'\\$1< >\', \'$1\')',
==>316: $msg);
317: $msg = strtr($msg, array('< >' => $breaker, $context['utf8'] ? "\xC2\xA0" : "\xA0" => '&nbsp;'));
318: }




#9
I seem to be getting a lot of these errors:

********/index.php?action=shoutbox;sa=send;sesc;xml;row=12
Apply Filter: Only show the errors with the same message
8192: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead
Apply Filter: Only show the errors from this file
File: /home/steve/public_html/forums/Sources/Shoutbox.php
Line: 316

Advertisement: