Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro
Author Message
Troll
Regular
Regular


Joined: Jan 31, 2006
Posts: 53

PostPosted: Sun Feb 05, 2006 7:59 am Reply with quote

I have the Cpanel mod on all my other sites..It just makes it ezer to do things. But after installing it under this system I get a blank page...I have made sure the URL for the cpanel is corect and tryed to see if it needed

Code:
define('INDEX_FILE', true);


But still blank
 
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6793
Location: Ha Noi, Viet Nam

PostPosted: Sun Feb 05, 2006 8:44 am Reply with quote

Are you referring to your hosting account cPanel?
Installing what - what did you install through cPanel?
Please give us some idea of what you have doneas this might help us find out what problem you are experiencing.
 
View user's profile Send private message Send e-mail
Troll
PostPosted: Sun Feb 05, 2006 9:03 am Reply with quote

It is a mod that bring you Host Cpanel in to your site. It alows you to work with you cpanle right though your site.

The only file it has looks like this

Code:
<?php


if (!eregi("modules.php", $PHP_SELF)) {
   die ("You can't access this file directly...");
}
/*Set this to the URL of your cpanel*/
$url="http://300megs.com:2082/"

require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
include("header.php");
$index = 0;

OpenTable();
Global $user, $admin;
if(isset($admin))
{
echo'<iframe src="'.$url.'" frameborder="0" width="100%" height="900" name="cpanel" scrolling="auto">Your browser doesn`t support IFrames</iframe>';
}else{
echo '<h3>You must be logged in as admin to enter this part of the site!</h3>';
};
CloseTable();
opentable();
?>
This Cpanel module was made by Mark Randall so please visit <a href="freescript.dx3k.com">http://freescript.dx3k.com</a> and help us carry on creating PHP-Nuke modules and blocks
<?php
closetable();
include("footer.php");

?>
 
Guardian2003
PostPosted: Sun Feb 05, 2006 9:37 am Reply with quote

But if your site is not working how can you access that mod?
I am trying to determine if you have installed phpNuke via one of the one-click type installation programs cPanel/Fantastico or you have ftp's the files and created the database manually.
 
Troll
PostPosted: Sun Feb 05, 2006 10:11 am Reply with quote

No I installed it my self..And the site is working...Its when you click on cpanle in the menu all i get is a blank page..
 
evaders99
Former Moderator in Good Standing


Joined: Apr 30, 2004
Posts: 3221

PostPosted: Sun Feb 05, 2006 8:23 pm Reply with quote

A blank page usually means there is an error being suppressed. Please enable error reporting and check your error logs

_________________
- Only registered users can see links on this board! Get registered or login! -

Need help? Only registered users can see links on this board! Get registered or login! 
View user's profile Send private message Visit poster's website
Troll
PostPosted: Sun Feb 05, 2006 8:42 pm Reply with quote

and were would that may be?
 
Guardian2003
PostPosted: Mon Feb 06, 2006 6:09 am Reply with quote

Look in config.php - the switch is in there.
You might also want to take a look at the readme in the 'patched' folder of the distro.
 
Troll
PostPosted: Mon Feb 06, 2006 6:19 am Reply with quote

Parse error: parse error, unexpected T_REQUIRE_ONCE in /home/jarlv/public_html/TrollsDen/modules/Cpanel/index.php on line 9
 
Guardian2003
PostPosted: Mon Feb 06, 2006 6:30 am Reply with quote

Please supply a link to d/l this mod or a link to your index.php file copies into a text file.
 
Troll
PostPosted: Mon Feb 06, 2006 6:58 am Reply with quote

The index.php is all ready here look at post 3
 
Guardian2003
PostPosted: Mon Feb 06, 2006 7:08 am Reply with quote

Shouldnt this line
Code:
$url="http://300megs.com:2082/"
have a ; at the end like this?
Code:
$url="http://300megs.com:2082/";
 
Troll
PostPosted: Mon Feb 06, 2006 7:12 am Reply with quote

that did the trick...I wonder how that happened I use the same one for all my sites..Oh well I have changed it on the master jusy in case....Thank you
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> Raven's RavenNuke(tm) v2.00.00 - v2.02.00 Distro

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©