¿Nuevo usuario?
Puedes registrarte aquí
 
       
Menú principal
 
 Navegación
Buscar
dpForo
dpFAQ
dpManuales
dpDescargas
dpThemes
Noticias por Temas
Recomiéndanos
Enlaces
Créditos
dzStaffStatus
Miembros:  Administradores
No Conectado  el_cuervo  
No Conectado  Dixso  
Miembros:  Colaboradores
No Conectado  AnyKiller  
No Conectado  nestormateo  
No Conectado  docser  
Miembros:  Moderadores
No Conectado  cardiru  
No Conectado  javiermisol  
Miembros:  Traductores
No Conectado  gnrx  
Miembros:  Miembros:
Ultimo:  Nuevos Hoy: 7
Ultimo:  Nuevos Ayer: 11
Ultimo:  Total: 71471
Ultimo:  Ultimo:
alejo75alfa
Miembros:  Conectados
Miembros:  Miembros: 0
Invitados:  Invitados: 81
Total:  Total: 81
Miembros:  Miembros Online
No hay miembros conectados
Sponsor
dp-Tools
 Generador de Menús
 Pop-Up Maker
 Generador de Bloques
 Generador de Módulos
Enlázanos


Texto del enlace:


Otros Banners:



Theme creado por
dev-postnuke.com

 Foro dev-postnuke.com
  Postnuke :: Bugs y soluciones
  Problema con el index.php? no me arranca la web

Bienvenido invitado

Moderado por: el_cuervo, Dixso, AnyKiller, cardiru, javiermisol << Tema anterior   Tema siguiente >>
Imprimir tema
Autor Tema: Problema con el index.php? no me arranca la web
hrc
Enviado: 12/11/2006 a las 16:11
Frecuente
Frecuente


Karma: 0 (0 Votos)

Registrado: 26/07/06
Mensajes: 48

Estado: Desconectado
Ultima visita: 16/12/06
Bueno pos el problema empezo a subir el theme dpxandragon lo añadi el theme y en configurar lo puse ya pero aprece que el theme no estaba bien subido o no se que le pasaba y la paginase quedaba e blanco estonces quite el index.php y puse otro index creado por mi como que habia un problema y lo estaba arreglando..
Mi sorpresa es que cuando vuelvo a poner mi index.php la pagina sigue en blanco y eso que volvi a resubir el theme pero nada ya no se que hacer docser me dijo que cambiara los nombres de los themes pero aun asi nada.. aver si me podeis hechar una mano..



saludos
hrc Enviar MP


hrc
Enviado: 12/11/2006 a las 16:11
Frecuente
Frecuente


Karma: 0 (0 Votos)

Registrado: 26/07/06
Mensajes: 48

Estado: Desconectado
Ultima visita: 16/12/06
la web por sacaso la quereis chequear.
hrc Enviar MP
tas
Enviado: 12/11/2006 a las 22:11
Frecuente
Frecuente


Karma: 10 (5 Votos)

Registrado: 07/10/06
Mensajes: 38

Estado: Desconectado
Ultima visita: 16/11/06
asegurate que el index que has subido es correcto.

Si es asi sube la herramieta psak al servidor, asegurate de tener el theme extalite subido.

Ejecuta la herramienta psak en el servidor hay una opcion para cambiar el thema.

Si te atreves con la base de datos en la tabla en la tabla:

tu prefijo_module_vars

pagina 1 campo 20 esta el theme activo
tas Enviar MP
hrc
Enviado: 13/11/2006 a las 14:11
Frecuente
Frecuente


Karma: 0 (0 Votos)

Registrado: 26/07/06
Mensajes: 48

Estado: Desconectado
Ultima visita: 16/12/06
GRACIAS TAS PERO NADA!!

Bueno e intentando eso pero no me carga el psak.php dios ni eso


Luego e intentado en esta ruta
http://hrcdesings.ueuo.com/html/admin.php?module=NS-Settings&op=main&theme=PostNuke

Pero nada de nada yo ya nose que debe ser... sad El index que e subido es el orignal pero nada de nada puffff


Alguin tiene otra idea? Toy desesperado!
hrc Enviar MP
tas
Enviado: 13/11/2006 a las 21:11
Frecuente
Frecuente


Karma: 10 (5 Votos)

Registrado: 07/10/06
Mensajes: 38

Estado: Desconectado
Ultima visita: 16/11/06
Y directamente a la base de datos.

Y por cierto de que index estamos hablando



tas Enviar MP
hrc
Enviado: 14/11/2006 a las 15:11
Frecuente
Frecuente


Karma: 0 (0 Votos)

Registrado: 26/07/06
Mensajes: 48

Estado: Desconectado
Ultima visita: 16/12/06
Bueno es el index.php del directorio principal..


Código
  1. <?php
  2. // File: $Id: index.php,v 1.45 2006/01/17 19:41:14 hammerhead Exp $
  3. // ----------------------------------------------------------------------
  4. // PostNuke Content Management System
  5. // Copyright (C) 2001 by the PostNuke Development Team.
  6. // http://www.postnuke.com/
  7. // ----------------------------------------------------------------------
  8. // Based on:
  9. // PHP-NUKE Web Portal System - http://phpnuke.org/
  10. // Thatware - http://thatware.org/
  11. // ----------------------------------------------------------------------
  12. // LICENSE
  13. //
  14. // This program is free software; you can redistribute it and/or
  15. // modify it under the terms of the GNU General Public License (GPL)
  16. // as published by the Free Software Foundation; either version 2
  17. // of the License, or (at your option) any later version.
  18. //
  19. // This program is distributed in the hope that it will be useful,
  20. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  21. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  22. // GNU General Public License for more details.
  23. //
  24. // To read the license please visit http://www.gnu.org/copyleft/gpl.html
  25. // ----------------------------------------------------------------------
  26. // Original Author of this file: Francisco Burzi
  27. // Purpose of this file: Directs to the start page as defined in config.php
  28. // ----------------------------------------------------------------------
  29.  
  30. // include base api
  31. include 'includes/pnAPI.php';
  32.  
  33. // start PN
  34. pnInit();
  35.  
  36. // Get variables
  37. // Note the op parameter is re-added here for gallery embedding
  38. // this should be removed once gallery has been updated for better
  39. // detection of postnuke - assuming this parameter exists is
  40. // far from the best solution - markwest
  41. list($module,
  42.      $func,
  43.      $name,
  44.      $file,
  45.      $type,
  46.      $op) = pnVarCleanFromInput('module',
  47.                                 'func',
  48.                                 'name',
  49.                                 'file',
  50.                                 'type',
  51.                                 'op');
  52.  
  53. // check requested module and set to start module if not present
  54. if (empty($name) && empty($module)) {
  55.     $module = pnConfigGetVar('startpage');
  56.     $type = pnConfigGetVar('starttype');
  57.     $func = pnConfigGetVar('startfunc');
  58.     $funcargs = explode(',', pnConfigGetVar('startargs'));
  59.     $arguments = array();
  60.     foreach ($funcargs as $funcarg) {
  61.         if (!empty($funcarg)) {
  62.             $argument=explode('=', $funcarg);
  63.             $arguments[$argument[0]] = $argument[1];
  64.         }
  65.     }
  66. } elseif (empty($module) && !empty($name)) {
  67.     $module = $name;
  68. }
  69.  
  70. // get module information
  71. $modinfo = pnModGetInfo(pnModGetIDFromName($module));
  72.  
  73. if ($type<>'init' && !pnModAvailable($modinfo['name'])) {
  74.     header('HTTP/1.0 404 Not Found');
  75.     include ('header.php');
  76.     echo 'Module <strong>' . pnVarPrepForDisplay($module) . '</strong> not available';
  77.     include ('footer.php');
  78.     exit;
  79. }
  80.  
  81. if ($modinfo['type'] == 2 || $modinfo['type'] == 3)
  82. {
  83.     // New-new style of loading modules
  84.     if (empty($type)) {
  85.         $type = 'user';
  86.     }
  87.     if (empty($func)) {
  88.         $func = 'main';
  89.     }
  90.     if (!isset($arguments)) {
  91.         $arguments = array();
  92.     }
  93.  
  94.     // temporary additional security check.....
  95.     if ($type == 'admin' && $func == 'updateconfig' && !pnSecAuthAction(0, "$modinfo[name]::", '::', ACCESS_ADMIN)) {
  96.         header('HTTP/1.0 403 Access Denied');
  97.         include ('header.php');
  98.         echo _MODULENOAUTH;
  99.         include ('footer.php');
  100.         exit;
  101.     }
  102.  
  103.     // we need to force the mod load if we want to call a modules interactive init
  104.     // function because the modules is not active right now
  105.     $force_modload = ($type=='init') ? true : false;
  106.     if (pnModLoad($modinfo['name'], $type, $force_modload)) {
  107.         // Run the function
  108.         $return = pnModFunc($modinfo['name'], $type, $func, $arguments);
  109.     } else {
  110.         $return = false;
  111.     }
  112.     // Sort out return of function.  Can be
  113.     // true - finished
  114.     // false - display error msg
  115.     // text - return information
  116.     if ($return !== true) {
  117.         include_once('header.php');
  118.         if ($return === false) {
  119.             // Failed to load the module
  120.             header('HTTP/1.0 404 Not Found');
  121.             echo 'Failed to load module <strong>' . pnVarPrepForDisplay($module) .'</strong> (at function: "<strong>'. pnVarPrepForDisplay($func).'</strong>")';
  122.         } elseif (is_string($return) && strlen($return) > 0) {
  123.             // Text
  124.             echo $return;
  125.         } elseif (is_array($return)) {
  126.             $pnRender =& new pnRender($modinfo['name']);
  127.             $pnRender->assign($return);
  128.             if (isset($return['template'])) {
  129.                 echo $pnRender->fetch($return['template']);
  130.             } else {
  131.                 $modname = strtolower($modinfo['name']);
  132.                 $type = strtolower($type);
  133.                 $func = strtolower($func);
  134.                 echo $pnRender->fetch("{$modname}_{$type}_{$func}.htm");
  135.             }
  136.         } else {
  137.             echo 'Function <em>' . pnVarPrepForDisplay($func) . '</em> in module <em>' . pnVarPrepForDisplay($module) .'</em> returned.';
  138.         }
  139.         include_once('footer.php');
  140.     }
  141. } else {
  142.     // Old-old style of loading modules
  143.     if (empty($file)) {
  144.         $file = 'index';
  145.     }
  146.     define('LOADED_AS_MODULE', '1');
  147.     if (file_exists('modules/' . pnVarPrepForOS($modinfo['directory']) . '/' . pnVarPrepForOS($file) . '.php')) {
  148.         include 'modules/' . pnVarPrepForOS($modinfo['directory']) . '/' . pnVarPrepForOS($file) . '.php';
  149.     } else {
  150.         // Failed to load the module
  151.         header('HTTP/1.0 404 Not Found');
  152.         include ('header.php');
  153.         echo 'Failed to load module <strong>' . pnVarPrepForDisplay($modinfo['name']) . '</strong>';
  154.         include ('footer.php');
  155.     }
  156. }
  157.  
  158. ?>




Saludos es el index.php lo d ela bae de datos nose como hacerlo. blush


saludos y gracias x intetar ayudarme wink
hrc Enviar MP




Powered by pnForum Version 2.6

Inicio  |  dpFaq  |  dpManuales  |  dpDescargas  |  dpThemes  |  Contacta

Web site powered by PostNuke MySQL PHP Postnuke Spain PHP RSSPixel Add to Technorati Favorites

Todos los logos y marcas registradas en este sitio son propiedad de sus respectivos dueños. Los comentarios son propiedad de sus autores, el resto es de este sitio Web (c) 2003, que fue creado con PostNuke, un sistema portal Web escrito en PHP. PostNuke es Software Libre liberado bajo la licencia GNU/GPL.

Dev-CMS.com :: Amplía tus horizontes.

HOSPEDAJE Y DOMINIOS -- Tu Hosting
Alojamiento Web --- Registro de Dominios