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, 62 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 - need help wit the sql part [ ]
 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
newbie
Guest






PostPosted: Tue Jan 21, 2003 6:51 pm Reply with quoteBack to top

i went to browse under the sql section and i located my nukesql.php file..........but when i do it this is wat i get

<?php

/************************************************************************/
/* PHP-NUKE: Advanced Content Management System */
/* ============================================ */
/* */
/* Copyright (c) 2002 by Francisco Burzi (fbc@mandrakesoft.com) */
/* 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

MySQL said:

You have an error in your SQL syntax near '<?php

/**********************************************************************' at line 1


wat should i do??
Find all posts by Anonymous
chatserv
General
General


Joined: Jan 12, 2003
Posts: 3128

Location: Puerto Rico

PostPosted: Tue Jan 21, 2003 7:00 pm Reply with quoteBack to top

The idea behind nukesql.php is that it will install the database tables without the need for phpMyAdmin, naturally if you try to execute it from phpMyAdmin it won't work, i suggest reading the readme file included with nukesql.php, it describes how to use it in just a few lines.

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


Joined: Jan 15, 2003
Posts: 26

Location: USA

PostPosted: Tue Jan 21, 2003 7:13 pm Reply with quoteBack to top

You can't 'browse' a file like that.. open it up in a word processor like Wordpad or whatever. Then you can copy/paste the portions you need directly into SQL Queries using phpMyAdmin or whatever...
Find all posts by WizariumView user's profileSend private messageVisit poster's website
ArtificialIntel



Joined: Jan 31, 2004
Posts: -88


PostPosted: Wed Jan 22, 2003 3:34 am Reply with quoteBack to top

Wizarium, Chatserv created that file, and I've used it a fair few times on test sites now.

You CAN browse nukesql.php - in fact, that's exactly what you do.

it goes in the site root directory, then u run it from ur browser.

if you're thinking about nuke.sql as a file you can't just browse, then I'd like to point out that if newbie was using nuke.sql, it'd have worked in phpMyAdmin first time (probably)

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: Wed Jan 22, 2003 8:16 am Reply with quoteBack to top

ArtificialIntel wrote:
if you're thinking about nuke.sql as a file you can't just browse, then I'd like to point out that if newbie was using nuke.sql, it'd have worked in phpMyAdmin first time (probably)

ArtificialIntel


Ah, ok I see that.. After reading his post, I just looked in my SQL folder and that nuke.sql was the only thing in it... so I thought he was trying to load that into a browser or something... anyways, hope he got it solved.
Find all posts by WizariumView user's profileSend private messageVisit poster's website
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.189 Seconds - 319 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::