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, 75 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 - First installation: Warning and Fatal error, HELP, plz. [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
mindozza
Guest






PostPosted: Fri Jan 24, 2003 12:58 pm Reply with quoteBack to top


Preface:
I uploaded all PHP-Nuke 6.0 files to web directory, chmoded files (php,gif, html, etc. to 666, and directories to 777).
Then, configured config.php.
After this i succesfully connected to SQL DB, ran the database test, and went to INDEX.PHP and receiveid THIS:


Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in
nuke/includes/sql_layer.php on line 301

Warning: main(language/lang-.php) [function.main]: failed to create stream: No such file or directory in
nuke/mainfile.php on line 75

Warning: main() [function.main]: Failed opening 'language/lang-.php' for inclusion (include_path='.:') in
nuke/mainfile.php on line 75

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in
/includes/sql_layer.php on line 301

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in
/includes/sql_layer.php on line 357

Warning: head(themes//theme.php) [function.head]: failed to create stream: No such file or directory in
nuke/header.php on line 31

Warning: head() [function.head]: Failed opening 'themes//theme.php' for inclusion (include_path='.:') in
nuke/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /www/data/nuke/header.php on line 47


Hepl, please.
Mindozza.
Find all posts by Anonymous
Wizarium
Nuke Soldier
Nuke Soldier


Joined: Jan 15, 2003
Posts: 26

Location: USA

PostPosted: Fri Jan 24, 2003 1:21 pm Reply with quoteBack to top

Try dropping the entire DB via phpMyAdmin. I've had trouble with installing when I've already got the DB named. When the DB already exists to begin with, it generates the same error on line 301. In that part of the code, there is a check whether or not the DB exists, and if it doesn't, it issues a CREATE query. If it does exist, sometimes it generates errors...

- Keith
Find all posts by WizariumView user's profileSend private messageVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


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

Now for the experts advice.

Populate the SQL database.

To do this, download nukesql.php for your version of php nuke from http://www.nukeresources.com

Upload the files to the same directory as config.php

Direct your browser to nukesql.php

Wait till it finishes

Go back to index.php and all ur errors will ahve gone

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







PostPosted: Fri Jan 24, 2003 2:01 pm Reply with quoteBack to top

Thanks for advice, but stll, doesn't work Smile
Maybe there is a problem, because i use the same MySQL DB for another programme (phpbb).
But during SQL DB test chosed to create new DB tables with anothe prefix that it is used with phpbb.
In config file prefixes are "nuke", and in phpbb - "fibase".

Later I also tried to delete the "fibase" tables, and replace them with new "nuke" prefix tables for php-nuke, but then i received only one error : Fatal error:
Fatal error: Call to undefined function: sql_query() in /www/data/nuke/nukesql.php on line 430

What could you suggest?

Thanks for previous advice, but still doesn't work Sad
Mindozza.






ArtificialIntel wrote:
Now for the experts advice.

Populate the SQL database.

To do this, download nukesql.php for your version of php nuke from http://www.nukeresources.com

Upload the files to the same directory as config.php

Direct your browser to nukesql.php

Wait till it finishes

Go back to index.php and all ur errors will ahve gone

ArtificialIntel
Find all posts by Anonymous
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Fri Jan 24, 2003 2:32 pm Reply with quoteBack to top

make sure the database uname and password are correct. Also check the database type - it's case sensitive.

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
Wizarium
Nuke Soldier
Nuke Soldier


Joined: Jan 15, 2003
Posts: 26

Location: USA

PostPosted: Fri Jan 24, 2003 5:36 pm Reply with quoteBack to top

ArtificialIntel wrote:
Now for the experts advice.


wtf is THAT supposed to mean?
Find all posts by WizariumView 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 24, 2003 6:33 pm Reply with quoteBack to top

I'm sure it was purely by accident. If you check the posting time, it seems that AI took time in writing his reply before posting and he didn't read your post. Gosh knows I do that on occasion myself, open a post, and take several minutes to draft up a reply... (like I'm watching Stargate SG-1 right now). Wink

_________________
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
Wizarium
Nuke Soldier
Nuke Soldier


Joined: Jan 15, 2003
Posts: 26

Location: USA

PostPosted: Fri Jan 24, 2003 7:12 pm Reply with quoteBack to top

Right... oh yeah, I can totally see that...

Such a nice community... surely someone wouldn't be that arrogant.

Thanks for straightening that out Zhen.
Find all posts by WizariumView 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 24, 2003 7:17 pm Reply with quoteBack to top

Trying to be optimistic... lets wait for AI to come around and respond. Then I'm sure we'll be able to sort things out maturely. We're humans, its not a perfect world, but that doesn't preclude the fact that we can't fix errors in judgement.

_________________
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: Sat Jan 25, 2003 6:08 am Reply with quoteBack to top

Zhen was right, I took about 10 mins doing that reply I think. I was thinking about the modules tweak I was doing @ the same time.

However, on reflection, Wizarium might benefit from not making the assumption that he did. The reason why I told them to check to see if they'd created the tables was because at no point in their original post did they mention that they'd done it.

I might phone my ISP @ some point, cause there's no way my connection is going @ the full 1Mb that we're paying for here, which is another reason why my replys are sometimes delayed.

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


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sat Jan 25, 2003 4:52 pm Reply with quoteBack to top

mindozza check the follwing things:

1-download the connection test script from our downloads section, see if it connects and lists your database tables which may start with nuke in their names.
2-if the script could connect, then the settings for $dbhost, $dbname, $dbuname and $dbpass should be ok, so check the setting for $dbtype, it should be MySQL and it is case sensitive, which means that if you change it to mysql, Mysql or similar, it won't work.
3-make sure you uploaded images in binary mode, php, html and text files in ascii mode.
4-if that all checks ok, then try reuploading the files as one or more of them could have become corrupted while uploading.

Hope that helps.

_________________
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
Thanks Chatserv
Guest






PostPosted: Sun Jan 26, 2003 11:22 am Reply with quoteBack to top

It worked out.
The problem was that images were uploaded in ASCI mode.
Now evrthng is Ok.
The real problem is that i did not find in Install manual this information, si i decided to upload all the files in ASCI mode.

Thanks.
Mindozza.

chatserv wrote:
mindozza check the follwing things:

1-download the connection test script from our downloads section, see if it connects and lists your database tables which may start with nuke in their names.
2-if the script could connect, then the settings for $dbhost, $dbname, $dbuname and $dbpass should be ok, so check the setting for $dbtype, it should be MySQL and it is case sensitive, which means that if you change it to mysql, Mysql or similar, it won't work.
3-make sure you uploaded images in binary mode, php, html and text files in ascii mode.
4-if that all checks ok, then try reuploading the files as one or more of them could have become corrupted while uploading.

Hope that helps.
Find all posts by Anonymous
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Sun Jan 26, 2003 11:34 am Reply with quoteBack to top

Glad that i could be of help to you, i do understand your point, just keep in mind ascii/binary upload are unix standards which are one of the first things you should know when dealing with ftp uploads, but in all fairness i guess adding a simple line in the install file mentioning this would not hurt anyone. congrats on getting the site up and good luck with it. Wink

_________________
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
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Sun Jan 26, 2003 11:37 am Reply with quoteBack to top

I'll add it to the Guide 2night.

ArtificialIntel
Find all posts by ArtificialIntelView user's profileSend private message
nuke fan
Guest






PostPosted: Thu May 15, 2003 1:00 pm Reply with quoteBack to top

Hi, every body.
I change my host and I try to use a reserve copy of nuke db, and recive this error:
Quote:

Warning: head(themes/Nuke_Nuke_goto/theme.php) [function.head]: failed to create stream: No such file or directory in /home/kidsbgc/public_html/header.php on line 31

Warning: head() [function.head]: Failed opening 'themes/Nuke_Nuke_goto/theme.php' for inclusion (include_path='') in /home/kidsbgc/public_html/header.php on line 31

Fatal error: Call to undefined function: themeheader() in /home/kidsbgc/public_html/header.php on line 47


Can you help me?
Tnx in advance Smile
kidsbg@kidsbg.com
Find all posts by Anonymous
Display posts from previous:      
This forum is locked: you cannot post, reply to, or edit topics.  This topic is locked: you cannot edit posts or make replies.printer-friendly view
View previous topic Log in to check your private messages View next topic
You can post new topics in this forum
You can 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.245 Seconds - 222 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::