- Moderated by:
- Support Team
-
- rank:
-
Freshman
- registered:
- July 2003
- Status:
- offline
- last visit:
- 31.07.03
- Posts:
- 7
I installed post nuke 0.726 on my windows xp test machine. There weren’t any visible problems running the install.php script. It created the database to. The problem is that index.php loads a Blank Page and when you try to go to any other pages you just get forwarded to index.php. -
- rank:
-
Professional
- registered:
- April 2003
- Status:
- offline
- last visit:
- 13.12.06
- Posts:
- 961
That is OK, It is sometimes easier to understand a problem if you see it with your own eyes. We'll have to do it the slower way then. :)
- [*:5e38308181]Does the webserver serve ordinary PHP page. Try to run from a file.
- [*:5e38308181]Do you have a working connection to the database (see script below)
Code
[*]<?php
[*] $link = mysql_connect("localhost", "mysql_user", "mysql_password")
[*] or die("Could not connect: " . mysql_error());
[*] print ("Connected successfully");
[*] mysql_close($link);
[*]?>
[*]
- [*:5e38308181]You say the index.php is blank and that other pages redirect you to index.php. Is it still blank
- [*:5e38308181]If you do a view source on the index.php page what does the bottom lines show (if it is blank)
- [*:5e38308181]Is your machine (localhost) defined in your etc/hosts file
Alf -
- rank:
-
Freshman
- registered:
- July 2003
- Status:
- offline
- last visit:
- 31.07.03
- Posts:
- 7
Okay the test DB script works. When I look at the source for index.php this is what I see
Code
<!DOCTYPE HTML public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> :: </title>
<meta name="KEYWORDS" content="">
<meta name="DESCRIPTION" content="">
<meta name="ROBOTS" content="INDEX,FOLLOW">
<meta name="resource-type" content="document">
<meta http-equiv="expires" content="0">
<meta name="author" content="">
<meta name="copyright" content="Copyright (c) 2003 by ">
<meta name="revisit-after" content="1 days">
<meta name="distribution" content="Global">
<meta name="generator" content="PostNuke 0.7.2.6-Phoenix - http://postnuke.com">
<meta name="rating" content="General">
<link rel="StyleSheet" href="themes//style/styleNN.css" type="text/css">
<style type="text/css">@import url("themes//style/style.css"); </style>
<script type="text/javascript" src="javascript/showimages.php"></script>
<script type="text/javascript" src="javascript/openwindow.php?hlpfile="></script> -
- rank:
-
Professional
- registered:
- April 2003
- Status:
- offline
- last visit:
- 13.12.06
- Posts:
- 961
Code
<link rel="StyleSheet" href="themes//style/styleNN.css" type="text/css">
<style type="text/css">@import url("themes//style/style.css"); </style>
There are no theme defined :( Could you download PSAK (PostNuke Swiss Army Knife) to reset the theme to a standard theme. It can be obtained from here , remember to read the documentation that comes with it.
Alf -
- rank:
-
Freshman
- registered:
- July 2003
- Status:
- offline
- last visit:
- 31.07.03
- Posts:
- 7
Okay download the file. In that archive there was only the psak.php file. I click on the Theme reset option and I get this text
PostNuke Swiss Army Knife -- 1.01 -- Main Menu
--------------------------------------------------------------------------------
Theme reset
This function is useful for resetting all users back to the default theme or reverting to a working theme if you've selected a default theme that is broken.
--------------------------------------------------------------------------------
recordset is empty
After doing this the index.php page is still blank. Is some table set up wrong? I know that If I look in the Phoenix DB I see 67 tables. -
- rank:
-
Professional
- registered:
- April 2003
- Status:
- offline
- last visit:
- 13.12.06
- Posts:
- 961
I do not think that is a heathy sign :( - there should be a theme set, and you should get a list of themes to select from. BTW the documentation PSAK is here: http://www.snowjournal.com/psak.html.
If you open the psak.php file you can see what tables it updates. You might have to manually set those with phpMyAdmin or a similar tool.
Alf -
- rank:
-
Professional
- registered:
- December 1969
- Status:
- offline
- last visit:
- 17.06.04
- Posts:
- 2122
Got phpMyAdmin?
Go to the nuke_mod_vars table on the main list of tables for your site in phpMyAdmin.
Click nuke_mod_vars and then look on the right pane on top, for the broswe button, click it.
Look for the table listed in there and edit it to this image is it's not.
http://mswebdesign.com/fun/defaultthemetable.gif
It is important that it shows exactly the same way the image shows you.
s:8:"PostNuke";
This is where the pnSwiss Army Knife would change it, you can do it without that. If you don't have a theme on your server, it "should" reset to the default. PostNuke is of course one of the default themes.
--
Friends rock, bullshit walks -
- rank:
-
Freshman
- registered:
- July 2003
- Status:
- offline
- last visit:
- 31.07.03
- Posts:
- 7
Okay after addin that row I can generate an index page thats like this
Code
<!DOCTYPE HTML public "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title> :: </title>
<meta name="KEYWORDS" content="">
<meta name="DESCRIPTION" content="">
<meta name="ROBOTS" content="INDEX,FOLLOW">
<meta name="resource-type" content="document">
<meta http-equiv="expires" content="0">
<meta name="author" content="">
<meta name="copyright" content="Copyright (c) 2003 by ">
<meta name="revisit-after" content="1 days">
<meta name="distribution" content="Global">
<meta name="generator" content="PostNuke 0.7.2.6-Phoenix - http://postnuke.com">
<meta name="rating" content="General">
<link rel="StyleSheet" href="themes/postNuke/style/styleNN.css" type="text/css">
<style type="text/css">@import url("themes/postNuke/style/style.css"); </style>
<script type="text/javascript" src="javascript/showimages.php"></script>
<script type="text/javascript" src="javascript/openwindow.php?hlpfile="></script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td valign="top">
<table border="0" cellspacing="0" cellpadding="0" bgcolor="#F6F7EB" width="100%">
<tr>
<td align="left" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="4">
<tr>
<td class="pn-title" valign="top" align="left">
<a class="pn-logo" href="index.php"></a><br>
<font class="pn-logo-small"></font></td>
<td width="50%" valign="top" align="right">
<br><font class="pn-logo-small">_DATETIMEBRIEF</font></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" bgcolor="#000000"><img src="themes/PostNuke/images/pix-t.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
<td bgcolor="#E1E4CE" align="center" valign="middle">
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td align="right" valign="middle" class="pn-normal">
<span class="pn-sub"><a href="_TOPLINKURL1">_TOPLINKNAME1</a> :: <a href="_TOPLINKURL2">_TOPLINKNAME2</a> :: <a href="_TOPLINKURL3">_TOPLINKNAME3</a> :: <a href="_TOPLINKURL4">_TOPLINKNAME4</a> </span></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" bgcolor="#000000"><img src="themes/PostNuke/images/pix-t.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" bgcolor="#B1B78B">
<tr>
<td width="100%" align="right" valign="middle">
<form action="modules.php" method="post">
<input type="hidden" name="name" value="Search">
<input type="hidden" name="file" value="index">
<input type="hidden" name="op" value="modload">
<input type="hidden" name="action" value="search">
<input type="hidden" name="overview" value="1">
<input type="hidden" name="active_stories" value="1">
<input type="hidden" name="bool" value="AND">
<input type="hidden" name="stories_cat" value="">
<input type="hidden" name="stories_topics" value="">
<font class="pn-normal">_SEARCH
<input class="pn-text" name="q" type="text" value="">
</font></form></td>
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%" bgcolor="#000000"><img src="themes/PostNuke/images/pix-t.gif" width="1" height="1" alt="" border="0"></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="150" bgcolor="#D9DCC2"><img src="themes/PostNuke/images/pix-t.gif" width="150" height="5" alt="" border="0"></td>
<td width="5"><img src="themes/PostNuke/images/pix-t.gif" width="5" height="1" alt="" border="0"></td>
<td width="100%"><img src="themes/PostNuke/images/pix-t.gif" width="1" height="1" alt="" border="0"></td>
</tr>
<tr>
<td width="150" bgcolor="#D9DCC2" align="center" valign="top">
Also the created database has like nothing in it and I still can't bring up an admin screen. Is it possible that it created the tables but failed to populate it with data? -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 09.11.08
- Posts:
- 13413
-
- rank:
-
Registered User
- registered:
- September 2003
- Status:
- offline
- last visit:
- 12.09.03
- Posts:
- 1
Tonight I upgraded from 723 to 726 and had the problem detailed here - blank index page. My problem was the one that Infopro mentioned above - a theme problem. My config files listed the theme I was using before but isn't part of the standard setup. Uploading a copy of the missing theme solved the problem.
