| Author |
Message |
Maxpower57
Nuke Soldier


Joined: Jan 02, 2006
Posts: 13
|
Posted:
Mon Jan 02, 2006 8:10 pm |
  |
When i upgraded from 7.6 to 7.9 and afterwards the right blocks on the main page are gone..
i dont know what happened,
how do i fix this?
and what file are the right blocks called in? |
|
|
   |
 |
dezina
Support Mod


Joined: Jun 09, 2003
Posts: 1713
Location: England
|
Posted:
Tue Jan 03, 2006 6:17 am |
  |
| Code: |
In your theme.php find:
if ($index == 1) {
and change to:
if (defined('INDEX_FILE')) { |
|
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums. |
|
    |
 |
Maxpower57
Nuke Soldier


Joined: Jan 02, 2006
Posts: 13
|
Posted:
Wed Jan 04, 2006 10:50 am |
  |
thanks, but now i noticed some other problems...
my forums dont work..
| Quote: |
phpBB : Critical Error
Could not obtain lastvisit data from user table
DEBUG MODE
SQL Error : 1146 Table 'maxswebp_nuke1._users' doesn't exist
SELECT * FROM _users WHERE user_id = '1'
Line : 74
File : sessions.php |
and users cant login...
| Quote: |
| Login Incorrect! Please Try Again... |
and everything in the modules administration: banners. is undefined....
| Quote: |
_BANNERSADMIN
_ACTIVEBANNERS
_CLIENTNAME _IMPRESSIONS _IMPLEFT _CLICKS _CLICKSPERCENT Type Functions
_INACTIVEBANNERS... |
how do i fix this stuff?
is there something i did wrong during the upgrade? |
|
|
   |
 |
dezina
Support Mod


Joined: Jun 09, 2003
Posts: 1713
Location: England
|
Posted:
Wed Jan 04, 2006 10:57 am |
  |
| Quote: |
how do i fix this stuff?
is there something i did wrong during the upgrade? |
Doubt you did anything wrong, hence..
READ my signature and revert back to 7.6 |
_________________
Backup files BEFORE altering
Use PHPNuke 7.6 with patches!!
No private messages please, POST in forums. |
|
    |
 |
ethana
Sergeant


Joined: Dec 26, 2005
Posts: 81
|
Posted:
Wed Jan 04, 2006 11:26 am |
  |
| Code: |
| SELECT * FROM _users WHERE user_id = '1' |
Missing the prefix right there, hows your config file look? I use 7.8 and i have no issues (granted i know your on .9 but im mostly saying to spite dezina ) |
|
|
   |
 |
Maxpower57
Nuke Soldier


Joined: Jan 02, 2006
Posts: 13
|
Posted:
Wed Jan 04, 2006 1:15 pm |
  |
my config is fine...
| Code: |
$dbhost = "*********";
$dbuname = "********_*******";
$dbpass = "********************";
$dbname = "********_nuke1";
$prefix = "nuke";
$user_prefix = "";
$dbtype = "MySQL";
$sitekey = "********************************";
$gfx_chk = 0;
$subscription_url = "/services/";
$admin_file = "admin";
$tipath = "images/topics/";
$nuke_editor = 1;
$display_errors = false;
|
i dont see anything wrong with it
-edit-
woah thats weird... noticed when i posted that the user prefix is gone....
ok its working now...
thanks!
also.. my backend.php doesnt work.. i've tried all of the fixes available but none of them work...
know anything that can help? |
|
|
   |
 |
ethana
Sergeant


Joined: Dec 26, 2005
Posts: 81
|
Posted:
Wed Jan 04, 2006 1:29 pm |
  |
Can you give me specifics? Errors or anything like that? What are you trying to do when it goes wonkers? Thanks. |
|
|
   |
 |
Maxpower57
Nuke Soldier


Joined: Jan 02, 2006
Posts: 13
|
Posted:
Wed Jan 04, 2006 1:41 pm |
  |
| ethana wrote: |
| Can you give me specifics? Errors or anything like that? What are you trying to do when it goes wonkers? Thanks. |
heres the file: http://maxswebpage57.com/Mwp57/backend.php
and heres what it looks like:
| Code: |
<?php
/************************************************************************/
/* PHP-NUKE: Web Portal System */
/* =========================== */
/* */
/* Copyright (c) 2005 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. */
/************************************************************************/
include("mainfile.php");
include("includes/ipban.php");
global $prefix, $db, $nukeurl;
header("Content-Type: text/xml");
$cat = intval($cat);
if (isset($cat) && !empty($cat)) {
$catid = $db->sql_fetchrow($db->sql_query("SELECT catid FROM ".$prefix."_stories_cat WHERE title LIKE '%$cat%' LIMIT 1"));
if ($catid == "") {
$result = $db->sql_query("SELECT sid, title, hometext FROM ".$prefix."_stories ORDER BY sid DESC LIMIT 10");
} else {
$catid = intval($catid);
$result = $db->sql_query("SELECT sid, title, hometext FROM ".$prefix."_stories WHERE catid='$catid' ORDER BY sid DESC LIMIT 10");
}
} else {
$result = $db->sql_query("SELECT sid, title, hometext FROM ".$prefix."_stories ORDER BY sid DESC LIMIT 10");
}
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-1\"?>\n\n";
echo "<!DOCTYPE rss PUBLIC \"-//Netscape Communications//DTD RSS 0.91//EN\"\n";
echo " \"http://my.netscape.com/publish/formats/rss-0.91.dtd\">\n\n";
echo "<rss version=\"0.91\">\n\n";
echo "<channel>\n";
echo "<title>".htmlentities($sitename)."</title>\n";
echo "<link>$nukeurl</link>\n";
echo "<description>".htmlentities($backend_title)."</description>\n";
echo "<language>$backend_language</language>\n\n";
while ($row = $db->sql_fetchrow($result)) {
$rsid = intval($row['sid']);
$rtitle = filter($row['title'], "nohtml");
$rtext = filter($row['hometext']);
echo "<item>\n";
echo "<title>".htmlentities($rtitle)."</title>\n";
echo "<link>$nukeurl/modules.php?name=News&file=article&sid=$rsid</link>\n";
echo "<description>".htmlentities($rtext)."</description>\n";
echo "</item>\n\n";
}
echo "</channel>\n";
echo "</rss>";
?> |
|
|
|
   |
 |
|
|