2.3.8 install.php [message #11688] |
Sun, 13 July 2003 16:54 |
gbjbaanb
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 |
Ilia
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 #11758 is a reply to message #11756] |
Wed, 16 July 2003 17:17 |
gbjbaanb
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 |
Ilia
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 |
gbjbaanb
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 |
Ilia
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 |
gbjbaanb
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 |
Ilia
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 #11775 is a reply to message #11774] |
Wed, 16 July 2003 19:42 |
Ilia
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 |
gbjbaanb
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 |
Ilia
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 #11781 is a reply to message #11780] |
Wed, 16 July 2003 22:23 |
Ilia
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 |
Ilia
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 #11784 is a reply to message #11783] |
Wed, 16 July 2003 23:13 |
Ilia
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 #11791 is a reply to message #11785] |
Thu, 17 July 2003 15:35 |
Ilia
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
|
|
|
|
Re: 2.3.8 install.php [message #11807 is a reply to message #11795] |
Thu, 17 July 2003 19:37 |
gbjbaanb
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 |
Ilia
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 #11814 is a reply to message #11811] |
Thu, 17 July 2003 23:35 |
Ilia
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 |
Ilia
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 #11857 is a reply to message #11855] |
Fri, 18 July 2003 23:40 |
Ilia
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 . Of course you can try the CVS version if you are feeling brave.
FUDforum Core Developer
|
|
|