PDA

View Full Version : big problem


basilrath
Thu 20th Mar '08, 6:31pm
i stupidly by mistake rushingly upgraded (after doing it numerous times previously) to the wrong one !

i went to 3.7pl1 instead of 3.7 candidate !

now i got the site but get this in admin

FILE_VERSION_VBULLETIN); } else { define('ADMIN_VERSION_VBULLETIN', $vbulletin->options['templateversion']); } ($hook = vBulletinHook::fetch_hook('admin_global')) ? eval($hook) : false; /*================================================= =====================*\ || ################################################## ################## || # Downloaded: 15:26, Thu Mar 20th 2008 || # CVS: $RCSfile$ - $Revision: 25822 $ || ################################################## ################## \*================================================ ======================*/ ?> Your browser does not support frames. Please get one that does!
fetch_object(\'postform\').submit(); // --> '; } print_cp_footer(); } } else if ($vbulletin->GPC['dismiss']) { // choosing to forget about the issue $adminmessageid = intval($vbulletin->GPC['dismiss'][0]); $db->query_write(" UPDATE " . TABLE_PREFIX . "adminmessage SET status = 'dismissed', statususerid = " . $vbulletin->userinfo['userid'] . " WHERE adminmessageid = $adminmessageid "); } else if ($vbulletin->GPC['acpnews']) { $items = preg_split('#\s*,\s*#s', $vbulletin->userinfo['dismissednews'], -1, PREG_SPLIT_NO_EMPTY); $items[] = intval($vbulletin->GPC['acpnews'][0]); $vbulletin->userinfo['dismissednews'] = implode(',', array_unique($items)); $admindata =& datamanager_init('Admin', $vbulletin, ERRTYPE_CP); if ($getperms = $vbulletin->db->query_first(" SELECT userid FROM " . TABLE_PREFIX . "administrator WHERE userid = " . $vbulletin->userinfo['userid'] )) { $admindata->set_existing($vbulletin->userinfo); } else { $admindata->set('userid', $vbulletin->userinfo['userid']); } $admindata->set('dismissednews', $vbulletin->userinfo['dismissednews']); $admindata->save(); } print_cp_redirect('index.php?do=home' . $vbulletin->session->vars['sessionurl_js']); } /*================================================= =====================*\ || ################################################## ################## || # Downloaded: 15:26, Thu Mar 20th 2008 || # CVS: $RCSfile$ - $Revision: 25957 $ || ################################################## ################## \*================================================ ======================*/ ?>

help !

Wayne Luke
Thu 20th Mar '08, 8:44pm
Reupload your files in ASCII mode and make sure the PHP is parsed in that directory.

basilrath
Thu 20th Mar '08, 8:46pm
parsed as in ?

explain please if poss

Wayne Luke
Thu 20th Mar '08, 8:55pm
Parsed as in it is run as code and not sent to the browser as plain text.