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

Home » FUDforum » FUDforum Installation Issues » upgrading to 2.2.1
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
upgrading to 2.2.1 [message #3907] Tue, 09 July 2002 14:48 Go to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
i got this error:

Warning: Failed opening '/var/www/forumdata/include/db.inc' for inclusion (include_path='.:/php/includes:/usr/share/php') in /var/www/html/forum/upgrade.php on line 342
FATAL ERROR: your forum's MySQL account does not have permissions to create new MySQL tables
Enable this functionality and restart the script.

and i don't know how to fix it Confused
Re: upgrading to 2.2.1 [message #3909 is a reply to message #3907] Tue, 09 July 2002 15: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
From which version are you upgrading?

FUDforum Core Developer
Re: upgrading to 2.2.1 [message #3910 is a reply to message #3909] Tue, 09 July 2002 15:00 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
2.2.0
Re: upgrading to 2.2.1 [message #3912 is a reply to message #3910] Tue, 09 July 2002 15:09 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 see the problem, here is the 'fix':

open the upgrade.php and change:
include_once $GLOBALS['INCLUDE'].'db.inc';

to
fud_use('db.inc');


on line 342


FUDforum Core Developer
Re: upgrading to 2.2.1 [message #3914 is a reply to message #3912] Tue, 09 July 2002 16:08 Go to previous messageGo to next message
smike is currently offline  smike   Germany
Messages: 182
Registered: April 2002
Location: Munich/Germany
Karma: 0
Senior Member
Is it necessary to do the upgrade again if you receive this error?
I got the same error-message, but nearly everything seems to be OK.
BTW, I found some bugs, but I tell you later.

Update:
Sorry, my error message was a bit different:
failed opening include/glob.inc for inclusion (include_path /usr/local/lib/php) in include/core.inc on line 49

[Updated on: Tue, 09 July 2002 16:11]

Report message to a moderator

Re: upgrading to 2.2.1 [message #3915 is a reply to message #3914] Tue, 09 July 2002 16: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
Yes it is, the reason being that while the forum's file were upgrade non of the upgrade SQL queries have occured.

FUDforum Core Developer
Re: upgrading to 2.2.1 [message #3916 is a reply to message #3914] Tue, 09 July 2002 16:28 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
sMike wrote on Tue, 09 July 2002 12:08

Is it necessary to do the upgrade again if you receive this error?
I got the same error-message, but nearly everything seems to be OK.
BTW, I found some bugs, but I tell you later.

Update:
Sorry, my error message was a bit different:
failed opening include/glob.inc for inclusion (include_path /usr/local/lib/php) in include/core.inc on line 49


Which version were you upgrading from?


FUDforum Core Developer
Re: upgrading to 2.2.1 [message #3917 is a reply to message #3916] Tue, 09 July 2002 16:55 Go to previous messageGo to next message
smike is currently offline  smike   Germany
Messages: 182
Registered: April 2002
Location: Munich/Germany
Karma: 0
Senior Member
FUD: 2.0.2 to 2.2.1
PHP: 4.2.1
MySQL: 3.23.33
Re: upgrading to 2.2.1 [message #3918 is a reply to message #3917] Tue, 09 July 2002 17:02 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
okie, give me a little while, I'll check on my test server.

FUDforum Core Developer
Re: upgrading to 2.2.1 [message #3919 is a reply to message #3918] Tue, 09 July 2002 17:22 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
Okie, try the attached upgrade script.


FUDforum Core Developer
Re: upgrading to 2.2.1 [message #3922 is a reply to message #3912] Tue, 09 July 2002 19:05 Go to previous messageGo to next message
computer_dan is currently offline  computer_dan   Canada
Messages: 58
Registered: July 2002
Location: Toronto
Karma: 0
Member

prottoss wrote on Tue, 09 July 2002 11:09

I see the problem, here is the 'fix':

open the upgrade.php and change:
include_once $GLOBALS['INCLUDE'].'db.inc';

to
fud_use('db.inc');


on line 342



Awesome...this one worked for me. The error that I got when I ran the 'bare' upgrade script was:

Warning: Failed opening '/home/www/<domain>-www/ccnmforum/include/db.inc' for inclusion (include_path='./:/usr/local/lib/php') in /home/www/<domain>-www/ccnm/upgrade.php on line 349
FATAL ERROR: your forum's MySQL account does not have permissions to create new MySQL tables
Enable this functionality and restart the script.

But once I corrected the above line (349 for me) the upgrade was successful.
Re: upgrading to 2.2.1 [message #3923 is a reply to message #3922] Tue, 09 July 2002 19: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
Thanks for letting me know the patch works.

FUDforum Core Developer
Re: upgrading to 2.2.1 [message #3925 is a reply to message #3923] Tue, 09 July 2002 20:33 Go to previous messageGo to next message
morgoth is currently offline  morgoth   Sweden
Messages: 34
Registered: July 2002
Karma: 0
Member
i think it worked for me to, but it still stand 2.2.0 on the frontpage!

Have you just forgotten t change this, or was the upgrade unsuccessfully?

it didn't say there were any errors

Edit: i have done the forum consistency

[Updated on: Tue, 09 July 2002 20:34]

Report message to a moderator

Re: upgrading to 2.2.1 [message #3926 is a reply to message #3925] Tue, 09 July 2002 20:48 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
It should have said 2.2.1

Leave it as is for now if all works fine, 2.2.2 will be out in a day or two and since it will no longer have the issue with the upgrade script the upgrade should go more smoothly.


FUDforum Core Developer
Re: upgrading to 2.2.1 [message #3929 is a reply to message #3926] Tue, 09 July 2002 21:15 Go to previous messageGo to next message
smike is currently offline  smike   Germany
Messages: 182
Registered: April 2002
Location: Munich/Germany
Karma: 0
Senior Member
prottoss schrieb am Die, 09 Juli 2002 22:48

Leave it as is for now if all works fine, 2.2.2 will be out in a day or two and since it will no longer have the issue with the upgrade script the upgrade should go more smoothly.

Thanks for the Upgrade-Package(some postings above), but if 2.2.2 is out in a few days, I wait until this version and save all the time configuration after an update would take.

Is it possible, that some files changed their location at update 2.0.2 to 2.2.1? I was looking for some files and found then in different directories. I had to spend some time to do all modifications.
BTW, if you run an update, what files will be replaced? All, or only the changed files?
Re: upgrading to 2.2.1 [message #3930 is a reply to message #3929] Tue, 09 July 2002 21:17 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
There is a substancial difference between 2.0.2 and 2.2, so yes many new files will need to be created. If any files are removed in the upgrade process they will be backed up.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: I give up!
Next Topic: I can't even pass the first step~
Goto Forum:
  

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

Current Time: Thu Nov 07 11:22:25 GMT 2024

Total time taken to generate the page: 0.02943 seconds