Valter
06-19-2010, 09:33 PM
I've just upgraded to 4.0.4 and get errors mentioned in title.
Here is how to fix them.
1. In class_core.php:
Change:
$url_info['script'] = '/' . ltrim($url_info['script'], '/\\');
to:
$url_info['script'] = '/' . ltrim($_SERVER['SCRIPT_NAME'], '/\\');
2. In member.php comment following lines:
$author_list_url = vBCms_Route_List::getURL($segments);
$page_templater->register('author_list_url', $author_list_url);
Credit goes to people who posted this at vB.com.
--------------- Added 1276988321 at 1276988321 ---------------
More...
For some reason gif smilies are broken because GIF is changed to PNG by update. To re-enable these edit them and change PNG to GIF again.
Here is how to fix them.
1. In class_core.php:
Change:
$url_info['script'] = '/' . ltrim($url_info['script'], '/\\');
to:
$url_info['script'] = '/' . ltrim($_SERVER['SCRIPT_NAME'], '/\\');
2. In member.php comment following lines:
$author_list_url = vBCms_Route_List::getURL($segments);
$page_templater->register('author_list_url', $author_list_url);
Credit goes to people who posted this at vB.com.
--------------- Added 1276988321 at 1276988321 ---------------
More...
For some reason gif smilies are broken because GIF is changed to PNG by update. To re-enable these edit them and change PNG to GIF again.