Installation
----------------
My VirtueMart Version
|
---------------------------- ------------------------------
| |
= 1.0.12 < 1.0.12
If you have installed the latest version If you have an older version of VirtueMart
of VirtueMart (1.0.12) you can just overwrite (which probably is vulnerable then, because VirtueMart 1.0.11 fixed serious security issues!)
the existing files of your VirtueMart installation with you can just manually apply the fixes by
the ones from this HotFix Pacakage (the directory changing the affected files by hand.
structure is the same as in your installation) |
Then you're done! |
-------------------------------------- |
|
|
|
|
Changes to enable VirtueMart' Login <------------------------------------
Functionality on Joomla! 1.0.13
-------------------------------------
************************************************** *****************
File: /administrator/components/com_virtuemart/classes/ps_session.php
************************************************** *****************
Find line 174:
###
172 } else {
173 $userinfo = $_COOKIE['usercookie']['password']."|".$_COOKIE['usercookie']['username'];
174 }
###
and insert after:
###
$remCookieValue = '';
if( is_callable( array($mainframe, 'remCookieName_User'))) {
if( !empty( $GLOBALS['real_mosConfig_live_site'] ) && empty( $_REQUEST['real_mosConfig_live_site'])) {
$GLOBALS['mosConfig_live_site'] = $GLOBALS['real_mosConfig_live_site'];
}
$remCookieValue = mosGetParam( $_COOKIE, mosMainFrame::remCookieName_User(), '' );
Lesezeichen