FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » 2.3.8 install.php
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
2.3.8 install.php [message #11688] Sun, 13 July 2003 16:54 Go to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
Hi.
I am having trouble copying my forum from one host to another, currently it is running on v2.3.8, but I don't have a copy of the install.php for that version. My skills with php are limited (ie. I'm not confident about installing cvs, checking out of cvs, installing php, building etc etc), so I thought I'd ask if anyone has a copy of the old file lying around that I can use to migrate my forum.

I'd love to upgrade to 2.5.0, but my old host doesn't support php 4.2.0 yet, and the new version doesn't support my old datadumps.

thanks.
Re: 2.3.8 install.php [message #11747 is a reply to message #11688] Wed, 16 July 2003 14:10 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
2.3.8 as well as other older versions are now avaliable from the download page.

FUDforum Core Developer
Re: 2.3.8 install.php [message #11756 is a reply to message #11747] Wed, 16 July 2003 17:01 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
you are a star. I tried building it - installed php, cvs, got the versions (tortoisecvs is remarkably easy to use), built the install.php, transferred it, and found it failed on the checksum check. transferred it again, in ascii, same error.

I have a friend set up ready to build it on linux, but I can tell him not to bother.

Cheers.
Re: 2.3.8 install.php [message #11758 is a reply to message #11756] Wed, 16 July 2003 17:17 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
Hi. unfortunately, I have an error message when installing:

Just past the root user, I get
Quote:

referenced file named (ipfilter.tmpl) doesn't exist


I downloaded the 6th March verison of Fud 2.3.8 (with zlib compression)

[Updated on: Wed, 16 July 2003 17:30]

Report message to a moderator

Re: 2.3.8 install.php [message #11759 is a reply to message #11758] Wed, 16 July 2003 17:24 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Hmm... weird... I'll test the install.

Mean while you probably should try 2.3.9RC1 it is a more stable release then 2.3.8, since it is essentially 2.3.8 + a few bug fixes and would've eventually made it out as 2.3.9 had I not decided to make 2.5.0.


FUDforum Core Developer
Re: 2.3.8 install.php [message #11763 is a reply to message #11759] Wed, 16 July 2003 17:51 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
thank you Prottoss. 2.3.9RC1 installed fine.

However, I have an old error when importing the datadump -

Quote:

Commencing restore of data files
ERROR: Directory '/home/virtual/site69/fst/home/forum_data//thm/testt/i18n' does not exist and the import script was unable to create it
Unable to open /home/virtual/site69/fst/home/forum_data//thm/testt/i18n/cv for write
ERROR: Directory '/home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian' does not exist and the import script was unable to create it
Unable to open /home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian/msg for write
ERROR: Directory '/home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian/help' does not exist and the import script was unable to create it
Unable to open /home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian/help/dis _sml.hlp for write
ERROR: Directory '/home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian/help' does not exist and the import script was unable to create it
Unable to open /home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian/help/thr ead_sub.hlp for write
ERROR: Directory '/home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian/help' does not exist and the import script was unable to create it
Unable to open /home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian/help/no_ replies.hlp for write
ERROR: Directory '/home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian/help' does not exist and the import script was unable to create it
Unable to open /home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian/help/rea dingposting.hlp for write
ERROR: Directory '/home/virtual/site69/fst/home/forum_data//thm/testt/i18n/bulgarian/help' does not exist and the import


What would you recommend I do? Last time, I created the directories manually, but the file lock/unlock continually complains now (as I'm the owner not the webserver, I think).

However, the forum has all the data present - except for the attachments (which have moved absolute directory). I remember a thread with some SQL to use to repace that, so I'll go look for that now.
thanks.

[Updated on: Wed, 16 July 2003 17:54]

Report message to a moderator

Re: 2.3.8 install.php [message #11768 is a reply to message #11763] Wed, 16 July 2003 18:25 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can solve this by chmoding the directories you've created 777 and files 666. However if this error only applies to bulgarian translation, unless you use you can ignore this error.

FUDforum Core Developer
Re: 2.3.8 install.php [message #11772 is a reply to message #11768] Wed, 16 July 2003 18:58 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
Yeah I'm happy with it - it seems to only apply to that theme. most peculiar.

I am having difficulty with the attachments - phpMyAdmin is a bit pants for some reason, won't run any of my queries. I assume that the datadump code can be fixed so no-one will have to go through this pain in future when moving servers (or forums to a different location).

incidentally, I missed the last lines of the error page off they are:
Quote:

ERROR: Directory '/home/virtual/site69/fst/var/www/html/forum/images//home/groups/t/ta/talon /htdocs/forum/images/custom_avatars' does not exist and the import script was unable to create it

and similar for icons, mime, smiley_icons, etc etc.

as you can see - its taking the new forum root, and appending the old root to it '/home/virtual/site69/fst/var/www/html/forum' is the new, '/home/groups/t/ta/talon/htdocs/forum' was the old.

This isn't a big deal for me as I don't have much customisation in these folders.

thanks.

[Updated on: Wed, 16 July 2003 19:09]

Report message to a moderator

Re: 2.3.8 install.php [message #11773 is a reply to message #11772] Wed, 16 July 2003 19:00 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
2.5.0 import/dump was rewritten from scratch so, hopefuly it proves to be better then one used in 2.3.X

FUDforum Core Developer
Re: 2.3.8 install.php [message #11774 is a reply to message #11773] Wed, 16 July 2003 19:40 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
more trouble Prottoss. I've installed, upgraded to 2.5.0 - all's well with the forum (except my themes and attachments, but we know about those, and they can be fixed).

I tried to make a datadump with the 2.5.0 forum, but I get a http 'page cannot be displayed' error when I click the 'backup' button.
Re: 2.3.8 install.php [message #11775 is a reply to message #11774] Wed, 16 July 2003 19:42 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Can you be a little more specific regarding the nature of the upgrade problem? What happend to attachments, are they in MySQL but not on disk,or vice versa?

FUDforum Core Developer
Re: 2.3.8 install.php [message #11776 is a reply to message #11775] Wed, 16 July 2003 19:54 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
yep -more specific about the attachments. Because I move servers, my absolute file paths changed. The datadump correctly moved the attachments to the new server, but the SQL table has the old server's absolute path in the location column. I'd change that column but myPhpAdmin isn't working as I expect, so I'll update the columns later.

The upgrade from 2.3.8 to 2.5.0 went smoothly - I had errors when it failed to create the theme directories (see earlier quotes in this thread) but I created them manually, set the permissions, and the upgrade script sailed through.

The forum seems to be working perfectly well - I can browse, post, upload attachments, all well. But I cannot make a datadump. I've logged in a root and tried, but still the same - 'page cannot be displayed' after clicking the 'backup' button.

I should add: PHP 4.2.2, MySQL 3.23.56, Safe Mode: OFF
Open basedir: none
Display Errors: ON
File Uploads: ON
Magic Quotes: OFF
Register Globals: OFF
Output Buffering: OFF
Disabled Functions: none
PSpell Support: Yes

I also looked - there is a 451 byte file in the directory, that contains the following:

----FILES_START----
||DATA_DIR/.htaccess||14||
Deny from all

||DATA_DIR/file_filter_regexp||49||
<?php $GLOBALS['__FUD_EXT_FILER__'] = array(); ?>
||DATA_DIR/email_filter_cache||52||
<?php $GLOBALS['__FUD_EMAIL_FILTER__'] = array(); ?>
||DATA_DIR/ip_filter_cache||50||
<?php $GLOBALS['__FUD_IP_FILTER__'] = array(); ?>
||DATA_DIR/login_filter_cache||50||
<?php $GLOBALS['__FUD_LGN_FILTER__'] = array(); ?>
||DATA_DIR/.htaccess||14||
Deny from all

[Updated on: Wed, 16 July 2003 20:23]

Report message to a moderator

Re: 2.3.8 install.php [message #11777 is a reply to message #11776] Wed, 16 July 2003 20:30 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Check your Apache's error log, give the information you've provided it sounds like PHP may have crashed.

FUDforum Core Developer
Re: 2.3.8 install.php [message #11778 is a reply to message #11777] Wed, 16 July 2003 21:17 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
I think you were right - fortunately, I can view my logs:

[Wed Jul 16 14:09:34 2003] [error] [client 212.159.115.253] File does not exist: /home/virtual/site69/fst/var/www/html/forum/images/custom_avatars/4

- in other words, those files that were not imported correctly by the datadump.. were of significance Sad
I have restored those, but I still get a crash - the errors are the same, and I havn't seen any difference to the logs, so I think that any errors are not being logged. I shall ask my ISP, and get back to you, unless you have any other ideas in the meantime.

thanks.
Re: 2.3.8 install.php [message #11779 is a reply to message #11778] Wed, 16 July 2003 21:53 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Do a directory listing inside the custom_avatars directory and tell me what files do you see in there (if any), small sample Smile

FUDforum Core Developer
Re: 2.3.8 install.php [message #11780 is a reply to message #11779] Wed, 16 July 2003 22:17 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
of course..
bash-2.05a$ ls -l images/custom_avatars
total 20
-rwxrwxrwx    1 gbjbaanb gbjbaanb     7682 Jul 10 15:13 4.jpg
-rwxrwxrwx    1 gbjbaanb gbjbaanb     2855 Jul 16 12:08 5.gif
-rwxrwxrwx    1 gbjbaanb gbjbaanb     4949 Jun  6 00:38 6.gif
-rwxrwxrwx    1 gbjbaanb gbjbaanb        0 May 11 18:31 index.html


I re-imported the forum, only this time I copied the images and thm directories from the old server before running the upgrade. no difference - same crash.
Re: 2.3.8 install.php [message #11781 is a reply to message #11780] Wed, 16 July 2003 22:23 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Look correct, do you see the avatar for user which an id of 4 or is it a broken image? Make sure to refresh the page so it is not cached.

FUDforum Core Developer
Re: 2.3.8 install.php [message #11782 is a reply to message #11781] Wed, 16 July 2003 22:24 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Regarding the crash we really need to hear back from your ISP, since they have access to main apache log that can tell us if php is crashing or another problem is happening.

FUDforum Core Developer
Re: 2.3.8 install.php [message #11783 is a reply to message #11782] Wed, 16 July 2003 22:33 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
Since I installed the avatars manually, they display OK, even the new one that was in the approval queue when i took the backup. ISP is on the case, though I doubt they'll respond as quickly as you have done. Incidentally, if you have debug version of that file, I'm quite prepared to run that instead of the standard 2.5.0 version.
thanks.
Re: 2.3.8 install.php [message #11784 is a reply to message #11783] Wed, 16 July 2003 23:13 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I do not have a debug version of the dump script, but I will look into adding some debug code to hopefuly isolate the place where it dies for whatever reason. Do you know if you have PHP memory limit enabled? If you do not or not sure run the following script, if it prints a number then you have memory limit, which is a another possible culprit.
<?php
echo ini_get("memory_limit") . "
\n"
;
?>


FUDforum Core Developer
Re: 2.3.8 install.php [message #11785 is a reply to message #11784] Thu, 17 July 2003 06:55 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
Yes I do have a memory limit - '8M'. Something to add to the forum settings admin page perhaps?

My ISP said there was no error logged, but I've told them about this limit being a possible cause.

[Updated on: Thu, 17 July 2003 07:03]

Report message to a moderator

Re: 2.3.8 install.php [message #11791 is a reply to message #11785] Thu, 17 July 2003 15:35 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Since PHP had not crashed it sounds like memory limit is the culprit. Try adding ini_set('memory_limit', '64M') at the top of the dump script.

FUDforum Core Developer
icon14.gif  Re: 2.3.8 install.php [message #11795 is a reply to message #11791] Thu, 17 July 2003 17:31 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
Brilliant! That did the trick.
Thank you Prottoss, it looks like everything is working fully.

After this experience, I think there are a couple of issues with moving a forum between servers:
1. at least with 2.3.8, after the move, the database will contain the old path to attachments.
2. I've noticed that embedded images in the forum messages are not updated to point to the new site.


I also noticed that a new file was uploaded to the forum, but it isn't showing in the database. However, it is working correctly - I can download it without problem. Is this the way 2.5.0 handles attachments now, or do I have a row missing from my DB?

Re: 2.3.8 install.php [message #11807 is a reply to message #11795] Thu, 17 July 2003 19:37 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
I hate to say this - but there's still a problem.

I thought I'd import a datadump that I'd just taken (backups aren't much good if you can't restore from them:) and .. I can't restore from it.

I get the following page error:
Quote:

(admimport.php) 1146: Table 'project-talon_org_-_forum.fud23_' doesn't exist
Query: INSERT INTO fud23_ (id,proto,location,original_name,owner,private,message_id,dlcount,mime_type ,fsize) VALUES(1,'LOCAL','/home/virtual/site69/fst/home/forum_data/files/1.atch','t alon01 - Render.jpg',5,'N',53,55,10,88017)
Server Version: 3.23.56
[Referring Page] http://www.project-talon.org/forum/adm/admimport.php?rid=18&S=e9b1d32b4 4e08a6da67cc7e0a6f05d30


I've looked in the DB, and all the tables I expect exist - all with 0 records.

The forum was created by installed 2.3.9rc1, importing a datadump, upgrading to 2.5.0.
Re: 2.3.8 install.php [message #11810 is a reply to message #11807] Thu, 17 July 2003 21:25 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Guide me through your upgrade process I think you maybe trying to import the datadump into the wrong forum. The correct procedure should've been this:

1) Datadump made from FUDforum 2.3.9RC1
2) Datadump from FUDforum 2.3.9RC1 imported to FUDforum 2.3.9RC1
3) FUDforum 2.3.9RC1 upgraded to FUDforum 2.5.0


FUDforum Core Developer
Re: 2.3.8 install.php [message #11811 is a reply to message #11810] Thu, 17 July 2003 21:52 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
OK.

Datadump made by 2.3.8 before all this migration m'larky.
2.3.9RC1 installed.
datadump imported.
additional files (images and forum_data/thm from previous server) manually imported (ensuring chmod 777 was applied to all)
2.3.9RC1 upgraded to 2.5.0 (using latest upgrade from new dl manager)
admdump.php modified to have ini_set('memory_limit', '64M') at top.
datadump created using 2.5.0
that 2.5.0-created datadump imported immediately afterwards.

I tried this again, just in case, afterwards - same error.

I also tried clearing the directories, installing 2.5.0, and importing the datadump from the 2.5.0 dump. That didn't work either.
(I also tried importing the 2.3.8 datadump into 2.5.0 - I did this originally. that failed with 'file missing' errors, which is to be expected).
Re: 2.3.8 install.php [message #11814 is a reply to message #11811] Thu, 17 July 2003 23:35 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
If the datadump is not too big is it possible to get a copy of it?

FUDforum Core Developer
Re: 2.3.8 install.php [message #11848 is a reply to message #11814] Fri, 18 July 2003 18:41 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I've tested the data dump & data import and after fixing a few bugs it now works perfectly, restoring cached paths etc...
The fix will appear in 2.5.1


FUDforum Core Developer
Re: 2.3.8 install.php [message #11855 is a reply to message #11848] Fri, 18 July 2003 23:19 Go to previous messageGo to next message
gbjbaanb is currently offline  gbjbaanb   United Kingdom
Messages: 41
Registered: February 2003
Location: UK
Karma: 0
Member
ah! now you tell me Smile I've just gone and recreated the datadump for you.
If you want it, I'll keep it around for a while. Its 10Mb BTW. I'll send you a PM.

It sounds good for 2.5.1 - if you want me to test it I'm happy to do so.

thanks.
Re: 2.3.8 install.php [message #11857 is a reply to message #11855] Fri, 18 July 2003 23:40 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I've spent a few hours today testing it and feel pretty confident it works correctly, so wait for the 2.5.1 release Smile. Of course you can try the CVS version if you are feeling brave.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: [FATAL] 2.3.9 => 2.5.0 Upgrade Error
Next Topic: Warning
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 22:17:13 GMT 2024

Total time taken to generate the page: 0.03046 seconds