Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's
Author Message
SickFreak
New Member
New Member


Joined: Oct 21, 2003
Posts: 12

PostPosted: Tue Oct 21, 2003 2:56 pm Reply with quote

Hello,
I auto-installed nuke 5.6 from cPanel on my hosting service. I would like to upgrade to nuke 6.9 for the added security and functionality of it. I am having difficulty finding a tutorial on how to upgrade. I am not that worried about losing data because my site is new but I am interested in learning the upgrade process.
Like a typical noob, I downloaded the 6.9 tar and am ready to upload the files but I am not sure where to put certain files. I get a list of over 1100 files in 6.9, and I know they go into certain folders like the ones I have on my /www folder:

/admin
/blocks
/images
/includes
/language
/modules
/themes

I uploaded the upgradexx-xx.php file and clicked it and it said it upgraded my site but I know it didn't because I hadn't uploaded any other files yet.

Questions:
1. If I am on 5.6, can I upgrade directly to 6.9? If not, what are my steps?
2. I have 1100+ files listed in 6.9, where do they go when I upload?

Thanks in advance for the help.
 
View user's profile Send private message
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 17086

PostPosted: Tue Oct 21, 2003 3:29 pm Reply with quote

Here's what I would do.
Make a note of your config.php settings.
Delete all files from your nuke directory.
Correct the 6.9 config.php file for the correct settings to your database.
Upload the 6.9 files to your web root directory.
Change the file permissions on modules/Forums/images/avatars to 777.
Drop your nuke5.6 database.
Create a new nuke6.9 database.
Using phpMyAdmin, select the new database.
Select the SQL window.
Select the Browse button to point to your PC location of the nuke6.9 sql folder and select nuke.sql file.
Click the Go button.
Point your browser to Only registered users can see links on this board! Get registered or login! and you should have a site!
 
View user's profile Send private message
SickFreak
PostPosted: Tue Oct 21, 2003 5:05 pm Reply with quote

There is no organization in the files hence there is no /modules directory. Do I have to organize all the files into their proper directories?
 
Raven
PostPosted: Tue Oct 21, 2003 5:14 pm Reply with quote

If you use a program like winzip, it ill unzip all the files into their proper folders. Then just ftp them all to your site.
 
SickFreak
PostPosted: Tue Oct 21, 2003 5:17 pm Reply with quote

I am using winzip and it does not put them in their separate folders. Does it matter where I dl the file from? I am getting it from :
Only registered users can see links on this board! Get registered or login!
 
Raven
PostPosted: Tue Oct 21, 2003 5:19 pm Reply with quote

winzip handles tar.gz files. It will untar it and then should ask if you want it unzipped. You can get the zipped one from my site with many fixes already applied. That might be easier.
 
SickFreak
PostPosted: Tue Oct 21, 2003 5:21 pm Reply with quote

Scratch my last, I fixed that part.
 
SickFreak
PostPosted: Tue Oct 21, 2003 6:49 pm Reply with quote

Okay, so far so good, I guess. Fought off one error with a post on nuke cops, and now onto the next one. Now I am receiving this error when I try to populate the mysql database with the nuke.sql file:

NSERT INTO nuke_bbranks
VALUES ( 1, 'Site Admin',
INSERT INTO nuke_bbranks
VALUES ( 2, 'Newbie', 1, 0, 0, 'modules/Forums/images/ranks/1star.gif' )

MySQL said:


You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'INTO nuke_bbranks VALUES (2,'Newbie',1,0,0,'modules/Forums/imag
 
Raven
PostPosted: Tue Oct 21, 2003 7:51 pm Reply with quote

Sounds like you may have a problem with the --- comments maybe? Why don't you get the files from my site and drop your database and start that over using my nuke.sql?
 
SickFreak
PostPosted: Wed Oct 22, 2003 2:33 pm Reply with quote

Raven,

Got your files, install went great, the .sql file uploaded no problem. Now when I point my browser to Only registered users can see links on this board! Get registered or login! I am receiving this error:

Fatal error: Call to undefined function: message_die() in /home/mosey/public_html/db/db.php on line 88

I checked this file and on line 88 there is not much, only } if I remember correctly. What am I missing?
 
Raven
PostPosted: Wed Oct 22, 2003 2:47 pm Reply with quote

That's an easy one Smile. Your config.php file is not set up correctly. The MySQL parameters are not correct.
 
blith
Client


Joined: Jul 18, 2003
Posts: 977

PostPosted: Wed Oct 22, 2003 2:49 pm Reply with quote

darn and I was just about to help with this one... Wink
 
View user's profile Send private message Visit poster's website
SickFreak
PostPosted: Wed Oct 22, 2003 2:54 pm Reply with quote

Hah, nailed it. You/I fixed it right up. Thanks!
 
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> How To's

View next topic
View previous 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
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©