Comunidad de diseño web y desarrollo en internet online

problema con Cpanel y b2evolution ayuda!!!!!!

Citar            
MensajeEscrito el 01 Jul 2009 05:17 pm
Hola a todos :D los expertos de este foro, la verdad necesito mucha ayuda y me urge saber como solucionar mi problema.

Lo que pasa es que instale un blog b2evolution en mi servidor con Cpanel x, y la bvase de datos mysql y todo esta bn, los archivos del blog tambien estan perfectos el problema es que al tratar de accesar por el admin.php o tratar de visualuzarlo

http://df-freqncy.com/b2/


me da a abrir un archivo que dice :

<?php
/**
* This is the main public interface file.
*
* IF YOU ARE READING THIS IN YOUR WEB BROWSER, IT MEANS THAT PHP IS NOT PROPERLY INSTALLED
* ON YOUR WEB SERVER. IF YOU DON'T KNOW WHAT THIS MEANS, CONTACT YOUR SERVER ADMINISTRATOR
* OR YOUR HOSTING COMPANY.
*
* This file is NOT mandatory. You can delete it if you want.
* You can also replace the contents of this file with contents similar to the contents
* of a_stub.php, a_noskin.php, multiblogs.php, etc.
*
* b2evolution - * Released under GNU GPL License - *
* {@internal Note: we need at least one file in the main package}}
*
* @package main
*/

/**
* First thing: Do the minimal initializations required for b2evo:
*/
require_once dirname(__FILE__).'/conf/_config.php';

require_once $inc_path.'_main.inc.php';

// Check if a specific blog has been requested in the URL:
param( 'blog', 'integer', '', true );

if( empty($blog) )
{ // No blog requested by URL param, let's try to match something in the URL
$Debuglog->add( 'No blog param received, checking extra path...', 'detectblog' );

$BlogCache = & get_Cache( 'BlogCache' );

if( preg_match( '#^(.+?)index.php/([^/]+)#', $ReqHost.$ReqPath, $matches ) )
{ // We have an URL blog name:
$Debuglog->add( 'Found a potential URL blog name: '.$matches[2], 'detectblog' );
if( (($Blog = & $BlogCache->get_by_urlname( $matches[2], false )) !== false) )
{ // We found a matching blog:
$blog = $Blog->ID;
}
}

if( empty($blog) )
{ // No blog identified by URL name, let's try to match the absolute URL
if( preg_match( '#^(.+?)index.php#', $ReqHost.$ReqPath, $matches ) )
{ // Remove what's not part of the absolute URL
$ReqAbsUrl = $matches[1];
}
else
{
$ReqAbsUrl = $ReqHost.$ReqPath;
}
$Debuglog->add( 'Looking up absolute url : '.$ReqAbsUrl, 'detectblog' );

if( (($Blog = & $BlogCache->get_by_url( $ReqAbsUrl, false )) !== false) )
{ // We found a matching blog:
$blog = $Blog->ID;
$Debuglog->add( 'Found matching blog: '.$blog, 'detectblog' );
}
}

if( empty($blog) )
{ // Still no blog requested, use default
$blog = $Settings->get('default_blog_ID');
if( (($Blog = & $BlogCache->get_by_ID( $blog, false, false )) !== false) )
{ // We found a matching blog:
$Debuglog->add( 'Using default blog '.$blog, 'detectblog' );
}
else
{
$blog = NULL;
}
}

if( empty($blog) )
{ // No specific blog to be displayed:
// we are going to display the default page:
require dirname(__FILE__).'/default.php';
exit();
}
}

// A blog has been requested... Let's set a few default params:

# You could *force* a specific skin here with this setting:
# $skin = 'basic';

# This setting retricts posts to those published, thus hiding drafts.
# You should not have to change this.
$show_statuses = array();

# Here you can set a limit before which posts will be ignored
# You can use a unix timestamp value or 'now' which will hide all posts in the past
$timestamp_min = '';

# Here you can set a limit after which posts will be ignored
# You can use a unix timestamp value or 'now' which will hide all posts in the future
$timestamp_max = 'now';

# Additionnaly, you can set other values (see URL params in the manual)...
# $order = 'ASC'; // This for example would display the blog in chronological order...

// That's it, now let b2evolution do the rest! :)
require $inc_path.'_blog_main.inc.php';

?>



y en el caso del admin.php lo mismo abre un archivo de texto en bloc de notas entonces no se que hacer para que funcione...

espero me puedan ayudar se los agradeceria mucho.

Por skaso

3 de clabLevel



 

msie7
Citar            
MensajeEscrito el 01 Jul 2009 05:23 pm
* IF YOU ARE READING THIS IN YOUR WEB BROWSER, IT MEANS THAT PHP IS NOT PROPERLY INSTALLED
* ON YOUR WEB SERVER. IF YOU DON'T KNOW WHAT THIS MEANS, CONTACT YOUR SERVER ADMINISTRATOR
* OR YOUR HOSTING COMPANY.

si estas leyendo esto en tu navegador, entonces significa que PHP no esta propiamente instalado en tu servidor web. si no sabes que significa, contacta al administrador de tu servidor o a tu compañia de alojamiento

anda a mandarles un mail ;)

Por tribak

Claber

2448 de clabLevel

6 tutoriales

Genero:Masculino   Héroes

Fotógrafo o algo

firefox
Citar            
MensajeEscrito el 01 Jul 2009 05:27 pm

tribak escribió:

* IF YOU ARE READING THIS IN YOUR WEB BROWSER, IT MEANS THAT PHP IS NOT PROPERLY INSTALLED
* ON YOUR WEB SERVER. IF YOU DON'T KNOW WHAT THIS MEANS, CONTACT YOUR SERVER ADMINISTRATOR
* OR YOUR HOSTING COMPANY.

si estas leyendo esto en tu navegador, entonces significa que PHP no esta propiamente instalado en tu servidor web. si no sabes que significa, contacta al administrador de tu servidor o a tu compañia de alojamiento

anda a mandarles un mail ;)


jejeje siento no haber puesto alguna explicacion sobre eso, lo que pasa es que el lunguaje php ya esta cargado y y trabajando por eso es que no se por que no funciona si php esta dado de alta en los manejadores de apache....

Por skaso

3 de clabLevel



 

msie7
Citar            
MensajeEscrito el 01 Jul 2009 05:33 pm
yo si lo veo bien

Por tribak

Claber

2448 de clabLevel

6 tutoriales

Genero:Masculino   Héroes

Fotógrafo o algo

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.