Author |
Message |
Troll
Regular


Joined: Jan 31, 2006
Posts: 53
|
Posted:
Sun Feb 05, 2006 7:59 am |
|
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 |
|
|
|
 |
Guardian2003
Site Admin

Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam
|
Posted:
Sun Feb 05, 2006 8:44 am |
|
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. |
|
|
|
 |
Troll

|
Posted:
Sun Feb 05, 2006 9:03 am |
|
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

|
Posted:
Sun Feb 05, 2006 9:37 am |
|
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

|
Posted:
Sun Feb 05, 2006 10:11 am |
|
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
|
Posted:
Sun Feb 05, 2006 8:23 pm |
|
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! |
|
|
 |
Troll

|
Posted:
Sun Feb 05, 2006 8:42 pm |
|
and were would that may be? |
|
|
|
 |
Guardian2003

|
Posted:
Mon Feb 06, 2006 6:09 am |
|
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

|
Posted:
Mon Feb 06, 2006 6:19 am |
|
Parse error: parse error, unexpected T_REQUIRE_ONCE in /home/jarlv/public_html/TrollsDen/modules/Cpanel/index.php on line 9 |
|
|
|
 |
Guardian2003

|
Posted:
Mon Feb 06, 2006 6:30 am |
|
Please supply a link to d/l this mod or a link to your index.php file copies into a text file. |
|
|
|
 |
Troll

|
Posted:
Mon Feb 06, 2006 6:58 am |
|
The index.php is all ready here look at post 3 |
|
|
|
 |
Guardian2003

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

|
Posted:
Mon Feb 06, 2006 7:12 am |
|
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 |
|
|
|
 |
|