276

(14 replies, posted in PunBB 1.4 bug reports)

My local test forum in

http://localhost/punbb/

and config have

$base_url = 'http://localhost/punbb';

if delete $base_url in config, to url of the server is defined automatically.


P.S. Give the reference to forum with your problem.

277

(14 replies, posted in PunBB 1.4 bug reports)

Disconnect all extensions:
config.php file

//define('FORUM_DISABLE_HOOKS', 1);

-->

define('FORUM_DISABLE_HOOKS', 1);

and try again.

If after that login doesn't work, try recovery of the password.

If recovery of the password works, possibly a problem with hashes of passwords in DB. I won't be able to call the reason.

278

(14 replies, posted in PunBB 1.4 bug reports)

I create TestUser. Login, logout, login - all OK.
P.S. Delete the cookies in your browser. Сlear your browser cache.

Use php://input http://php.net/manual/en/reserved.varia … stdata.php

280

(14 replies, posted in PunBB 1.4 bug reports)

In the log of server errors (error.log file), what is written?

281

(85 replies, posted in News)

hook ft_about_output_start

if (in_array(FORUM_PAGE, array('index', 'viewtopic', 'viewforum')))
    include FORUM_ROOT . 'analyticstracking.php';

vt_row_pre_post_ident_merge

if ($forum_page['start_from'] + $forum_page['item_count'] == 1)
{
    $my_text = forum_htmlencode('ABCD...');
    if (isset($forum_page['post_ident']['edited']))
        $forum_page['post_ident']['edited'].= $my_text;
    else
        $forum_page['post_ident']['edited'] = $my_text;
}

283

(3 replies, posted in PunBB 1.4 troubleshooting)

See the README file in the archive with Punbb 1.4.4.

BBCode buttons 1.4.18 work in PunBB 1.4.4.
No errors.

It is necessary to correct expansions which add new bb-codes.
What are extensions you have installed with bb-codes?

286

(85 replies, posted in News)

    $pattern[] = '#\[sup\](.*?)\[/sup\]#ms';
    $replace[] = '<sup id="one">$matches[1]</sup>';

287

(85 replies, posted in News)

See post http://punbb.ru/post44974.html#p44974 for Fancy Video Tag.

https://www.google.ru/search?q=CSRF+att … p;oe=utf-8

In Administration → Settings → Setup → Visit timeout == 5400?
Set 7200 and test.

P.S.
You can edit the configuration file

//define('FORUM_DISABLE_CSRF_CONFIRM', 1);

-->

define('FORUM_DISABLE_CSRF_CONFIRM', 1);

But if you do so, your forum can hack wink

290

(2 replies, posted in PunBB 1.4 bug reports)

Please use --explicit_defaults_for_timestamp server option (see documentation for more details).

https://github.com/punbb/punbb/commit/9 … 1308d5f5da

292

(3 replies, posted in PunBB 1.4 troubleshooting)

1.

[23-Oct-2015 04:56:29 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/eio.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/eio.so: cannot open shared object file: No such file or directory in Unknown on line 0
[23-Oct-2015 04:56:29 UTC] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/intl.so: cannot open shared object file: No such file or directory in Unknown on line 0

Address to your hoster with this error. eio.so extension is absent, but your php tries to connect it.

2.

[23-Oct-2015 04:59:57 UTC] PHP Warning:  preg_replace_callback(): Modifier /e cannot be used with replacement callback in /home/example/public_html/include/parser.php on line 811

See post http://punbb.informer.com/forums/post/155126/#p155126

293

(1 replies, posted in PunBB 1.4 bug reports)

See this post and posts below http://punbb.informer.com/forums/post/155125/#p155125

294

(3 replies, posted in PunBB 1.4 troubleshooting)

Show errors from the server error log.

295

(85 replies, posted in News)

string(30) "`\[video\]([^\[]+)\[/video\]`e"

The extension containing the video bb-code is guilty.


upd
See http://punbb.ru/post44974.html#p44974

296

(85 replies, posted in News)

The modifier /е isn't present in version 1.4.4. It can be only in old expansions.

In parser.php

    $count = count($pattern);
    for ($i = 0; $i < $count; $i++) {
        $text = preg_replace_callback($pattern[$i], create_function('$matches', 'return "'.$replace[$i].'";'), $text);
    }

replace

echo "<pre>\n";
var_dump($pattern);
echo "</pre>\n";
exit();
    $count = count($pattern);
    for ($i = 0; $i < $count; $i++) {
        $text = preg_replace_callback($pattern[$i], create_function('$matches', 'return "'.$replace[$i].'";'), $text);
    }

Also show result.

297

(85 replies, posted in News)

khuman wrote:

I can't veiw all forum topics. This is error in my log files:

 [error] "PHP message: PHP Warning:  preg_replace_callback(): Modifier /e cannot be used with replacement callback in ./forum/include/parser.php on line 811"

http://punbb.informer.com/forums/post/155113/#p155113

298

(85 replies, posted in News)

zeron88 wrote:

This is error appear after update

Disable extentions with BB-codes.

http://punbb.informer.com/forums/topic/ … -in-lists/

300

(39 replies, posted in News)

PanBB.Ru wrote:

Errors in file profile.php

16 Jun 2015
https://github.com/punbb/punbb/commit/3 … 7144c4ec61