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.
You are not logged in. Please login or register.
PunBB Forums → Posts by Visman
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.
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.
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
In the log of server errors (error.log file), what is written?
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;
}
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?
$pattern[] = '#\[sup\](.*?)\[/sup\]#ms';
$replace[] = '<sup id="one">$matches[1]</sup>';
See post http://punbb.ru/post44974.html#p44974 for Fancy Video Tag.
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
Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
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
See this post and posts below http://punbb.informer.com/forums/post/155125/#p155125
Show errors from the server error log.
string(30) "`\[video\]([^\[]+)\[/video\]`e"
The extension containing the video bb-code is guilty.
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.
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"
This is error appear after update
Disable extentions with BB-codes.
Errors in file profile.php
16 Jun 2015
https://github.com/punbb/punbb/commit/3 … 7144c4ec61
PunBB Forums → Posts by Visman
Powered by PunBB, supported by Informer Technologies, Inc.