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??
chatserv General
Joined: Jan 12, 2003
Posts: 3128
Location: Puerto Rico
Posted:
Tue Jan 21, 2003 7:00 pm
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
Wizarium Nuke Soldier
Joined: Jan 15, 2003
Posts: 26
Location: USA
Posted:
Tue Jan 21, 2003 7:13 pm
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...
ArtificialIntel
Joined: Jan 31, 2004
Posts: -88
Posted:
Wed Jan 22, 2003 3:34 am
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
Wizarium Nuke Soldier
Joined: Jan 15, 2003
Posts: 26
Location: USA
Posted:
Wed Jan 22, 2003 8:16 am
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.
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