You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 146 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Blank Pages. (PLEASE READ BEFORE POSTING) [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
v3x
Support Mod
Support Mod


Joined: Oct 19, 2004
Posts: 1041

Location: UK

PostPosted: Sun Jan 29, 2006 5:16 am Reply with quoteBack to top

I have noticed that a lot of people do not enable error reporting before posting here to say they have a blank page.

It is a great help to us all if you do this in order to help us diagnose the exact problem you are having with your pages.

To enable error reporting please follow these easy steps.

1. Open your config.php in your favourite text editor (I use Editpad Pro).

2. Scroll down to find the line

Code:
$display_errors = false;


and change this to

Code:
$display_errors = true;


Easy huh?!

Now when you visit your blank page you should now find a set of errors displayed on the affected page(s).

If you then copy and paste those errors in to your post using the [code] tags to give us a better chance of solving your issue.

Many Thanks

Keywords: BBtoNuke , Forum Admin , Blank Page , index.php.

^^^ Just to help direct people here first before posting ^^^
Find all posts by v3xView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Sun Jan 29, 2006 8:04 pm Reply with quoteBack to top

http://www.nukecops.com/postt1.html
Intructions if you are not using the Patched files

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
EdOwens
Nuke Cadet
Nuke Cadet


Joined: Mar 23, 2006
Posts: 1


PostPosted: Thu Mar 23, 2006 7:17 am Reply with quoteBack to top

My Setup:

Windows XP
phpnuke 7.8 unpatched
Apache2
MySql 5.0.19
PHP 5.1.2


PHP test file works and gives me the phpinfo
Config.php has the line:
ini_set('display_errors','1');

possible mysql problems or php? I have no idea...
I have ran phpnuke site under same setup before like a couple of years ago and had no problems.. so I must be missing something simple.

I know blank page posts are getting old for you experts, but after searching the several posts and looking for a simular problem, I come up a dead end everytime so this is my last resort of sorts. Im thinking that my problem may be with php or mysql but not for sure. I look at the typical setup for this and my files fit the templates and all the paths are correct.

Thanks
Ed Owens
Find all posts by EdOwensView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12482


PostPosted: Thu Mar 23, 2006 10:02 am Reply with quoteBack to top

My thoughts are its either MySQL5 or PHP5 issue

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
headchem
Nuke Cadet
Nuke Cadet


Joined: Aug 09, 2006
Posts: 1


PostPosted: Tue Aug 08, 2006 7:09 pm Reply with quoteBack to top

I have the exact same problem described, but it's on a Windows server with php 4.3 and mySQL 4.1 (and php-nuke 7.8 )

In all pages's html, everything is fine except nothing after </head> is output. Is there any resolution to this problem?

To note: the admin pages worked correctly until I changed a few config variables, like the site title etc. After that, nothing past </head> is output in either the admin page, or index.php or any other page on the site. What is output in the header is correct, ie the site title is set properly. I have also enabled the error reporting by the ini_set('display_errors','1'); but still nothing after </head> is output in the page source, and all pages remain blank.

Thanks for any help!
Find all posts by headchemView user's profileSend private message
Legno_Genova
Private
Private


Joined: Nov 16, 2005
Posts: 39


PostPosted: Mon Oct 09, 2006 5:49 am Reply with quoteBack to top

Great! It worked! (sorry for my english)

_________________
Legno
Cornici per foto
Multistrati compensato
Bricolage fai da te
Find all posts by Legno_GenovaView user's profileSend private messageSend e-mailVisit poster's website
DarkNewDay
Nuke Cadet
Nuke Cadet


Joined: Nov 26, 2006
Posts: 1


PostPosted: Sat Nov 25, 2006 5:46 pm Reply with quoteBack to top

banners.php missing...is also the cause of blank white pages. From my personnel experience.
Some were along the line banners.php was taken out of the zip file phpnuke 7.8, 7.9 maybe earlier. I upgraded from 7.5 to 7.9 when this problem occured was getting no errors just a blank page and no other pages were woking. I went back and looked at my old installation of 7.5 and sure enough banners.php was not in the files. So I created one with just this
Code:
<?php ?>
and named it banners.php and everything came to life after that.

Now I do not run Banners on my site so if you do or going to want to I suggest other means. I tryed and used the banners.php from 7.5 in 7.9 version it worked fine as well, but again I do not run banners and can not tell you if 7.5 banners.php will run your banners in 7.9. However it solved the blank page problem
Find all posts by DarkNewDayView user's profileSend private message
GPR
Nuke Cadet
Nuke Cadet


Joined: Apr 17, 2008
Posts: 2


PostPosted: Thu Apr 17, 2008 1:59 am Reply with quoteBack to top

Sorry but I cannot find $display_errors = false;


I have copied the config page.

<?php

######################################################################
# PHP-NUKE: Advanced Content Management System
# ============================================
#
# Copyright (c) 2007 by Francisco Burzi
# http://phpnuke.org
#
# This program is free software. You can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License.
######################################################################

if (stristr(htmlentities($_SERVER['PHP_SELF']), "config.php")) {
Header("Location: index.php");
die();
}

######################################################################
# Database & System Config
#
# dbhost: SQL Database Hostname
# dbuname: SQL Username
# dbpass: SQL Password
# dbname: SQL Database Name
# $prefix: Your Database table's prefix
# $user_prefix: Your Users' Database table's prefix (To share it)
# $dbtype: Your Database Server type. Supported servers are:
# MySQL, mysql4, sqlite, postgres, mssql, oracle,
# msaccess, db2 and mssql-odbc
# Be sure to write it exactly as above, case SeNsItIvE!
# $sitekey: Security Key. CHANGE it to whatever you want, as long
# as you want. Just don't use quotes.
# $subscription_url: If you manage subscriptions on your site, you
# must write here the url of the subscription
# information/renewal page. This will send by
# email if set.
# $admin_file: Administration panel filename. "admin" by default for
# "admin.php". To improve security please rename the file
# "admin.php" and change the $admin_file value to the
# new filename (without the extension .php)
######################################################################

$dbhost = "79.170.40.121";
$dbuname = "xxxxxxxxxx";
$dbpass = "xxxxxxxxxxx";
$dbname = "xxxxxxxxxx";
$prefix = "nuke";
$user_prefix = "nuke";
$dbtype = "MySQL";
$sitekey = "cPEnq15ZPmejnuKtzZMUHFH1bee9KLT9i5FfZBmI";
$subscription_url = "";
$admin_file = "admin";

/**********************************************************************/
/* You finished to configure the Database. Now you can change all */
/* you want in the Administration Section. To enter just launch */
/* your web browser pointing it to http://xxxxxx.xxx/admin.php */
/* (Change xxxxxx.xxx to your domain name, for example: phpnuke.org) */
/* */
/* Remember to go to Preferences section where you can configure your */
/* new site. In that menu you can change all you need to change. */
/* */
/* Congratulations! now you have an automated news portal! */
/* Thanks for choose PHP-Nuke: The Future of the Web */
/**********************************************************************/

// DO NOT TOUCH ANYTHING BELOW THIS LINE UNTIL YOU KNOW WHAT YOU'RE DOING

$prefix = empty($user_prefix) ? $prefix : $user_prefix;
$reasons = array("As Is","Offtopic","Flamebait","Troll","Redundant","Insighful","Interesting","Informative","Funny","Overrated","Underrated");
$badreasons = 4;
/* If you want to use the IMG tag in your HTML code, to include images in News for example, you must use the following line and comment the old $AllowableHTML */
/* $AllowableHTML = array("img"=>2,"b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1); */
/* or just include "img"=>2 in the $AllowableHTML array bellow. This feature isn't included by default due to possible security issues */
$AllowableHTML = array("b"=>1,"i"=>1,"strike"=>1,"div"=>2,"u"=>1,"a"=>2,"em"=>1,"br"=>1,"strong"=>1,"blockquote"=>1,"tt"=>1,"li"=>1,"ol"=>1,"ul"=>1);
$CensorList = array("Rainbow Brite","cunt","person","Rainbow Brite","pussy","Rainbow Brite","c0ck","cum","twat","clit","Rainbow Brite","fuk","fuking","motherfucker");
$tipath = "images/topics/";

//***************************************************************
// IF YOU WANT TO LEGALY REMOVE ANY COPYRIGHT NOTICES PLAY FAIR AND CHECK: http://phpnuke.org/modules.php?name=Commercial_License
// COPYRIGHT NOTICES ARE GPL SECTION 2(c) COMPLIANT AND CAN'T BE REMOVED WITHOUT PHP-NUKE'S AUTHOR WRITTEN AUTHORIZATION
// THE USE OF COMMERCIAL LICENSE MODE FOR PHP-NUKE HAS BEEN APPROVED BY THE FSF (FREE SOFTWARE FOUNDATION)
// YOU CAN REQUEST INFORMATION ABOUT THIS TO GNU.ORG REPRESENTATIVE. THE EMAIL THREAD REFERENCE IS #213080
// YOU'RE NOT AUTHORIZED TO CHANGE THE FOLLOWING VARIABLE'S VALUE UNTIL YOU ACQUIRE A COMMERCIAL LICENSE
// (http://phpnuke.org/modules.php?name=Commercial_License)
//***************************************************************

$commercial_license = 0;
Find all posts by GPRView user's profileSend private message
movieman
Captain
Captain


Joined: Feb 29, 2004
Posts: 302

Location: New York

PostPosted: Thu Apr 17, 2008 11:08 am Reply with quoteBack to top

If you read Evaders post you would know,
Quote:
If you are using the Patched files
in config.php
Code:

$display_errors = false;


Change false to true to enable error reporting

Using non-Patched phpNuke
depending on your version, you may have this code in config.php
If not, add it
Code:

ini_set('display_errors','0');


Change 0 to 1 to enable error reporting
Find all posts by moviemanView user's profileSend private messageSend e-mailAIM AddressMSN Messenger
prog4web
Nuke Cadet
Nuke Cadet


Joined: Sep 12, 2008
Posts: 1


PostPosted: Sat Sep 13, 2008 2:16 pm Reply with quoteBack to top

Thank you
Find all posts by prog4webView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next 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



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.039 Seconds - 122 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::