Dumb question about the update scripts [message #18958] |
Fri, 18 June 2004 17:19 |
WilliamBurns
Messages: 123 Registered: March 2004 Location: San Jose, CA
Karma: 0
|
Senior Member |
|
|
As an inexperienced and new (and very happy) user of FUDForum, I have been nervous to see that in just under three months, my 2.6.1 release has been moved toward obsolesence by not just 2.6.2, but also by 2.6.3, and now 2.6.4. Since my 2.6.1 seems to be running along without incident, I have been reluctant to apply the updates. Now that I am feeling "way behind" my question is: Do I have to do all three of the updates in succession, or is it set up so that I can update directly from 2.6.1 to the 2.6.4 version by running just the 2.6.4 update script? Part of my anxiety is that I have never run an update script, so I don't have a sense for how dangerous it is to my existing installation. Does the update script operate in such a way that it does not destroy the old installation if it fails to complete? Finally, is there a concise set of instructions as to how to do the update somewhere?
|
|
|
Re: Dumb question about the update scripts [message #18965 is a reply to message #18958] |
Fri, 18 June 2004 22:04 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
FUDforum updates will take care of all version changes. Meaning you download the 2.6.4 upgrade script regardless of what forum version you are running (unless you got something really old like 2.3).
The upgrade will not destroy your install. To upgrade simply download the upgrade archive, extrace upgrade.php, put that file inside the forum's main directory and run it.
FUDforum Core Developer
|
|
|
Re: Dumb question about the update scripts [message #19016 is a reply to message #18965] |
Mon, 21 June 2004 21:55 |
WilliamBurns
Messages: 123 Registered: March 2004 Location: San Jose, CA
Karma: 0
|
Senior Member |
|
|
Well, I downloaded the 2.6.4 upgrade file, extracted all four contained files, read the read_me, uploaded (binary mode) the upgrade.php file, checked that the CHMOD for the main forum folder was 711, attempted to open the upgrade.php file in my MSIE 6.0 browser, and I get a diagnostic page that says the page I am looking for cannot be displayed. At the bottom of the diagnostic page it says "Cannot find server or DNS Error
Internet Explorer" Confused, I launched the Netscape 7.1 browser and repeated the attempt. On netscape, I get a little circular arrow that rotates a couple of times, then nothing (not even a diagnostic).
For what it is worth, I downloaded the zip files with zlib compression. Do I have to do a CHMOD on the upgrade.php file? Also, I presume I must manually disable the forum before running the upgrade (although, in my ignorance, I tried it both ways.)I have php 4.3.4 and am using mysql. I am also up against an 8 meg memory limit. Oh, also I am attempting to update version 2.6.1 with this 2.6.4 upgrade.
I looked in the server error log, and I found this:
FATAL: emalloc(): Unable to allocate 4068605 bytes
Could this be my trouble?
[Updated on: Mon, 21 June 2004 22:27] Report message to a moderator
|
|
|
Re: Dumb question about the update scripts [message #19017 is a reply to message #19016] |
Mon, 21 June 2004 22:52 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You don't need to disable the forum, it'll be done automatically. You don't need to chmod the upgrade script unless you have safe_mode or memory_limit.
FUDforum Core Developer
|
|
|
|
|
|
Re: Dumb question about the update scripts [message #19109 is a reply to message #19105] |
Thu, 24 June 2004 20:56 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
You can try using using the zlib version if you were using the non-zlib version or vise versa. Last time I tried memory limit tests both installer and upgrade scripts worked fine with 8meg limit.
FUDforum Core Developer
|
|
|
|
|
|
Re: Dumb question about the update scripts [message #19118 is a reply to message #19117] |
Fri, 25 June 2004 17:40 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The out of memory message usually contains a line #. The zlib version is smaller because the archive is compressed. However, before the forum can use the archive it needs to decompress it.
Are you using PHP-CGI by any chance?
FUDforum Core Developer
|
|
|
|
|
|
Re: Dumb question about the update scripts [message #19210 is a reply to message #19197] |
Thu, 01 July 2004 21:18 |
WilliamBurns
Messages: 123 Registered: March 2004 Location: San Jose, CA
Karma: 0
|
Senior Member |
|
|
The support people at my ISP phoned me. They "cheated for me this one time only" and raised my memory limit to see if it was in fact a memory issue. "Frank" (the support fellow) had me run the upgrade script while he watched the process memory numbers.
1. The process ran to completion, evidently successfully.
2. He says that the upgrade process alone was requiring as much as 8.7 megs at one point. He also said that my base usage was currently running about 5.5 megs, so I am in shallow water anyway. I have to hope future upgrades will run in less memory.
3. But now, when I go to run the forum, it is back to its original state. I have to figure out what I did to the header.tmpl and footer.tmpl to make it show my navigation column and my banner at the top. I can't seem to make it work. And when I go to upload these two files, my ftp program wants me to select index.tmpl, or root_index.tmpl, or (I think) help_index.tmpl. If I don't pick one, it cancels the upload. I have been picking index.tmpl, and I believe the modified header and footer are in the proper folder, but it still doesn't seem to work. Am I leaving something obvious out?
Further, I have discovered that the navigation column and banner at the top do appear when no one is logged in to the forum. However, when someone logs in, the screen shows up without either the navigation column or the banner. Something is different! Can you help me make it so the navigation column and the banner appear all the time, not just when no one is logged in?
On the one hand, the upgrade is amazing in that it seems to have run flawlessly. On the other hand, it insinuated some issues that have been hard to resolve!
[Updated on: Thu, 01 July 2004 21:33] Report message to a moderator
|
|
|
Re: Dumb question about the update scripts [message #19221 is a reply to message #19210] |
Fri, 02 July 2004 12:56 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Because the difference between the old & the new version is so great header/footer template were modified, generally that is not the case since I try to avoid modifying these two files. To restore the changes you need to port the changes from the old header/footer that can be found in forum's errors/.backup directory in to the new one. The other problem you've described sounds like you have 2 separate themes.
FUDforum Core Developer
|
|
|
|
Re: Dumb question about the update scripts [message #19269 is a reply to message #19241] |
Mon, 05 July 2004 22:39 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
I don't know what PHP your ISP is using but with PHP 4.3.7 with the following extensions compiled in I was able to successfuly install & upgrade FUDforum without having to increase the default 8m memory limit.
Enabled Extensions: ctype ftp, iconv, mbstring, mhash, mysql, overload, pcntl, pcre, pdf, pgsql, posix, pspell, session, shmop, sockets, sqlite, standard, sysvmsg, sysvsem, sysvshm, tokenizer, xml, zlib
FUDforum Core Developer
|
|
|