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.
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
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";
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 Any help would be much abliged
chatserv General
Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
Posted:
Fri Jan 31, 2003 5:47 am
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
zidion Nuke Soldier
Joined: Jan 31, 2003
Posts: 15
Location: USA
Posted:
Fri Jan 31, 2003 7:51 am
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.
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.
ArtificialIntel
Joined: Jan 31, 2004
Posts: -88
Posted:
Fri Jan 31, 2003 8:30 am
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
chatserv General
Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
Posted:
Fri Jan 31, 2003 8:48 am
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
chatserv General
Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
Posted:
Fri Jan 31, 2003 9:02 am
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
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Fri Jan 31, 2003 10:47 am
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]
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Fri Jan 31, 2003 3:25 pm
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:
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]
ArtificialIntel
Joined: Jan 31, 2004
Posts: -88
Posted:
Fri Jan 31, 2003 3:31 pm
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
Zhen-Xjell Nuke Cops Founder
Joined: Nov 14, 2002
Posts: 5939
Posted:
Fri Jan 31, 2003 4:29 pm
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]
chatserv General
Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
Posted:
Fri Jan 31, 2003 5:16 pm
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
zidion Nuke Soldier
Joined: Jan 31, 2003
Posts: 15
Location: USA
Posted:
Fri Jan 31, 2003 8:40 pm
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
_________________ zidion
chatserv General
Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
Posted:
Fri Jan 31, 2003 8:45 pm
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
zidion Nuke Soldier
Joined: Jan 31, 2003
Posts: 15
Location: USA
Posted:
Fri Jan 31, 2003 9:02 pm
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
zidion Nuke Soldier
Joined: Jan 31, 2003
Posts: 15
Location: USA
Posted:
Mon Feb 03, 2003 11:07 pm
Welcome to PHP-Nuke
Congratulations! You have now a web portal installed
I now have 3 versions installed on diffrent servers and they all work great!
Sorry about the hassles guys keep up the good work
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