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, 51 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 - (index.php) home page is still showing ‹. [ ]
 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
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Fri Jan 31, 2003 4:31 am Reply with quoteBack to top

Hi
I just installed Nuke 5.5. Runing on a unix server with MySQL.
Everything works great I can go to the admin.php and everything works great, I can register users, post in fourms, Downloads work. I can even send mail. But when I click on home all I see is a white page with ‹ in the left corner of the page. Can anyone help me resolve this problem? I've tried everything and still no (index.php) home page is showing.

I can use PHPNuke just fine throught the admin.php interface. Prefrences show the index correct. I just can't get it to display the main index.php it just shows ‹. I tought it was my server so I loaded another page and renamed it index.htm and it displayed just fine. I'm about running out of options here. Then ran a index.php And it ran fine.

I tried changing the default theme to see if it happend with all, the themes.
It did. Rolling Eyes

I ran Humpa's snip. Everything came out sucessfull and all tables were listed. I then did a Debug for PHPNuke, but no errors showed just a bunch of SQL queries. I tried the theme fix script but all that showed was a blank page, when I ran it from my browser. I still get ‹ on my index.php. but everything is running just fine from the admin.php.

I downloaded analyzer from you. It gave me two errors and I need some help in figureing them out, please Question
phpBB2 Port Values for Theme ID Style Name Template Name

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource on line 187
187 = echo "<B>phpBB2 Port Values for $NCsitename</B>"
. "<TABLE cellspacing=\"1\" cellpadding=\"3\" cellspacing=\"2\" border=\"1\">"
. "<TR bgcolor=#FFCC66><TD>Theme ID</TD><TD>Style Name</TD><TD>Template Name</TD></TR>";


Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource on line 192
192 = while (list($config_value, $style_name, $template_name) = mysql_fetch_row($result)) {
$NCconfig_value = $config_value;
$NCstyle_name = $style_name;
$NCtemplate_name =$template_name;
}
mysql_free_result($result);

Warning: mysql_num_rows(): on line 77
77= $sql = "select sitename, Default_Theme, Version_Num, locale, language from ".$prefix."_config";


Warning: mysql_free_result(): on line 86

86= while (list($sitename, $Default_Theme, $Version_Num, $locale, $language) = mysql_fetch_row($result)) {
$NCsitename = $sitename;
$NCDefault_Theme = $Default_Theme;
$NCVersion_Num = $Version_Num;
$NClocale = $locale;
$NClanguage = $language;
}
}

I'm lost on the .ini stuff man Exclamation

Sorry for the long post but I fealt it was important to let you know what was going on so I could get the help that I needed instead of just saying HELP ME PLEASE NUKE NOT WORKING Exclamation Any help would be much abliged Question
Find all posts by zidionView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Jan 31, 2003 5:47 am Reply with quoteBack to top

Judging from the errors you get i'd say it would be worth having a look at the $prefix_config database table (where $prefix = what you entered in config.php), using phpMyAdmin take a look at this table to see if among its fields you see sitename, language, Default_Theme, nukeurl, foot1, foot2, foot3, etc. I mention this because recently i found that someone i was trying to help had bbtonuke's config table where nuke's config table should be.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Fri Jan 31, 2003 7:51 am Reply with quoteBack to top

Good morning to you.
Thankyou for the fast reply. I have been up all night tring to get this fixed. The nuke_config table shows none of the aboved mentioned. All that it has is, if I'm looking at the right one.

config_id allow_html allow_bbcode allow_sig selected posts_per_page hot_threshold topics_per_page email_sig email_from

Are you using $prefix as to the database table prefix_ ? like nuke_config?

I changed the preferences using the admin.php and it now give me thes errors.
Parse error: parse error in /httpd/html/config.php on line 85

Warning: Failed opening 'themes//theme.php' for inclusion (include_path='.:/httpd/html') in /httpd/html/header.php on line 43

Fatal error: Call to undefined function: themeheader() in /httpd/html/header.php on line 55

Never had those errors yet. I edited the config manualy and never went back into it because on 5.6 the quotes keep doubeling and trippeling them everytime you submit the page. So I chmod the config after I edit it to 644 after I edit it so that dosen't happen.

Again thanks for the fast reply. I know you have a very demanding job. Keep up the good work I know not everyone will appretiate you when everything is fixed and going, so are they.
Find all posts by zidionView user's profileSend private message
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Fri Jan 31, 2003 8:30 am Reply with quoteBack to top

Nuke 5.5 doesn't have a nuke_config table, hence why you can't find it.

Have you tried upgrading ur version of nuke to a current version???

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Jan 31, 2003 8:48 am Reply with quoteBack to top

Damn who stole my glasses? no wonder i gave that advice, i couldn't read his post properly, still the error is even more odd now, maybe he ran one of the upgrade scripts? In cases like this it's always hard trying to figure out what is going on, then again those errors could just be caused by the analyzer trying to get data from tables that don't exist, i'd suggest running the connection test script and posting the results, i'll look into 5.5's structure to refresh my memory.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Jan 31, 2003 9:02 am Reply with quoteBack to top

Usually we avoid doing this because of compromising possiblities but i'm interested in finding out what is causing this, if nothing is resolved through our suggestions and if you feel you can trust me, pm me to see if we can work this out by me going over your setup.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Fri Jan 31, 2003 10:47 am Reply with quoteBack to top

Can you show us the link to anaylze? It'll help us greatly if we can see it.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Fri Jan 31, 2003 3:25 pm Reply with quoteBack to top

ArtificialIntel wrote:
Nuke 5.5 doesn't have a nuke_config table, hence why you can't find it.
I suspected that it did, because that is the first version of Nuke I started with. Just to make sure, here is the slice of sql code from 5.5's nuke.sql file:
Code:

CREATE TABLE nuke_config (
  config_id int(10) NOT NULL auto_increment,
  allow_html int(2) default NULL,
  allow_bbcode int(2) default NULL,
  allow_sig int(2) default NULL,
  selected int(2) NOT NULL default '0',
  posts_per_page int(10) default NULL,
  hot_threshold int(10) default NULL,
  topics_per_page int(10) default NULL,
  email_sig varchar(255) default NULL,
  email_from varchar(100) default NULL,
  PRIMARY KEY  (config_id),
  UNIQUE KEY selected (selected)
) TYPE=MyISAM;

#
# Dumping data for table 'nuke_config'
#

INSERT INTO nuke_config VALUES (1,1,1,1,1,10,10,20,'Have a Nice Day!','webmaster@yoursite.com');

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Fri Jan 31, 2003 3:31 pm Reply with quoteBack to top

nuke_config was a phpBB table. I know cause when 6.0 came along wiht it's own nuke_config table, the port that was around at the time, when u installed the port, it killed the nuke install. I was the first person to modify tom's port to work with 6.0 (he changed the port himself soon after tho)

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
Zhen-Xjell
Nuke Cops Founder
Nuke Cops Founder


Joined: Nov 14, 2002
Posts: 5939


PostPosted: Fri Jan 31, 2003 4:29 pm Reply with quoteBack to top

The code I quoted above was directly from phpnuke.org's phpnuke version 5.5 download. nuke_config is there within nuke.sql.

_________________
Paul Laudanski, Microsoft MVP Windows-Security
CastleCops: [de] [en] [wiki]
Find all posts by Zhen-XjellView user's profileSend private messageSend e-mailVisit poster's website
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Jan 31, 2003 5:16 pm Reply with quoteBack to top

The new superuser setup and the nuke_config table were implemented in 5.5

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Fri Jan 31, 2003 8:40 pm Reply with quoteBack to top

Ok. Sorry, I haven't been in here I have been working.
Yes, I did run some upgrades.
Now I'm starting all over and I think it is as easy as following directions. I'm installing 6.0. I have it installed and I'm tring to load the index.php and it's hanging up and not loading. It's doing something but not loading all the way I can tell it's tring to do something. I think I made the mistake of tring to set up[ the datbase by myself, before even running the index.php for the first run. My question now is how do I troubleshoot y is it hanging up? and not loading! Sorry guys. I'm just tring to get this right. Hey
chatserv admin can I trade you avitars? I like that one Exclamation

_________________
zidion
Find all posts by zidionView user's profileSend private message
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Fri Jan 31, 2003 8:45 pm Reply with quoteBack to top

I had to go for a "rough" looking avatar since the last one took some points out of my reputation, it was too umm ... "cute"

Since you are starting from scratch you may want to download nukesql 6.0 which has an option to replace your current tables with new ones, that is, if you have a new site, if it has content them don't use nukesql as it will wipe out all your old PHP-NUke data with the replace option.

_________________
Feed a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
ScriptHeaven | NukeResources
Find all posts by chatservView user's profileSend private messageVisit poster's website
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Fri Jan 31, 2003 9:02 pm Reply with quoteBack to top

I'm starting from scratch....
I was reading the readme and it said that NUKE would populat all the SQL database tables when you run it for the first time. It's not loading I haven't changed anything. I uploaded everything to the server and just tried to load the index for the first time and it just keeps running. Should I have put the SQL in a certian directory? Where did you get that avitar from? Did you make it?

_________________
zidion
Find all posts by zidionView user's profileSend private message
zidion
Nuke Soldier
Nuke Soldier


Joined: Jan 31, 2003
Posts: 15

Location: USA

PostPosted: Mon Feb 03, 2003 11:07 pm Reply with quoteBack to top

Exclamation Welcome to PHP-Nuke Exclamation
Congratulations! You have now a web portal installed Exclamation

Razz Razz Razz Razz Razz Razz Very Happy Very Happy

I now have 3 versions installed on diffrent servers and they all work great!

Sorry about the hassles guys keep up the good work Exclamation
Find all posts by zidionView 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
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.577 Seconds - 389 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::