Problema con web Modular
(Nivel 1 - 3 posts) |
Hola amigos, ayer mismo me cambié de hosting y tuve que mudar toda la web, tenía una web modular ya puesta en mi sitio, pero al pasarlo al nuevo hosting ya no funciona bien, salen errores como los que ven aquí http://pkfenix.servermh.com/index.php?p=mundomisteriosorojo No sé porque me sale esto, antes no salía, el codigo que tengo puesto en el index.php es:
<?php $default = 'home'; $page = isset($_GET['p']) ? $_GET['p'] : $default; $page = basename($page); [/quote][quote]if (!file_exists('juegos/'.$page.'.php')) if (!file_exists('inicio/'.$page.'.php')) if (!file_exists('infopk/'.$page.'.php')) if (!file_exists('peliculas/'.$page.'.php')) if (!file_exists('temporadas/'.$page.'.php')) if (!file_exists('descargas/'.$page.'.php')) if (!file_exists('juegos/guiahgss/'.$page.'.php')) { $page = $default; } include('juegos/'.$page.'.php'); include('inicio/'.$page.'.php'); include('infopk/'.$page.'.php'); include('peliculas/'.$page.'.php'); include('temporadas/'.$page.'.php'); include('descargas/'.$page.'.php'); include('juegos/guiahgss/'.$page.'.php'); ?> Tendrá algo que ver conque ahora esten de la carpeta <span style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-size: medium; font-family: 'Times New Roman'" class="Apple-style-span">public_html y en el anterior hosting no?</span> les pido por favor que me digan cual es el problema. Muchas gracias de antemano. Saludos |
