Upgrade from 2.0.2 to 2.1.2 [message #3536] |
Sat, 29 June 2002 09:31 |
Retzgesick
Messages: 16 Registered: May 2002 Location: Düsseldorf, Germany
Karma: 0
|
Junior Member |
|
|
After upgrading from 1.9.9 RC1 BETA to 2.0.2 I tried to upgrade to 2.1.2 (by the way, 2.1.2 display its version as 2.1.1??)
The Forum Consistency checked showed
...
Warning: mysql_fetch_object(): 80 is not a valid MySQL result resource in /opt/sforumData/include/theme/default/db.inc on line 194
...
After "Return To Forum":
Warning: Failed opening 'GLOBALS.php' for inclusion (include_path='/opt/adpagde/include:/usr/local/lib/php:/opt/adpagde/phpOpen Tracker:/opt/adpagde/test:/opt/adpagdetest/admin') in /opt/software-forum/theme/default/index.php on line 20
I fixed this by making a softlink:
ln -s <wwwroot>/GLOBALS.php <wwwroot>/theme/default/GLOBALS.php
Can I ignore the mysql_fetch_object warning?
Is making the softlink the right solution?
Rainer Vietz
|
|
|
|
Re: Upgrade from 2.0.2 to 2.1.2 [message #3540 is a reply to message #3536] |
Sat, 29 June 2002 16:41 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Retzgesick wrote on Sat, 29 June 2002 05:31 | After upgrading from 1.9.9 RC1 BETA to 2.0.2 I tried to upgrade to 2.1.2 (by the way, 2.1.2 display its version as 2.1.1??)
The Forum Consistency checked showed
...
Warning: mysql_fetch_object(): 80 is not a valid MySQL result resource in /opt/sforumData/include/theme/default/db.inc on line 194
...
After "Return To Forum":
Warning: Failed opening 'GLOBALS.php' for inclusion (include_path='/opt/adpagde/include:/usr/local/lib/php:/opt/adpagde/phpOpen Tracker:/opt/adpagde/test:/opt/adpagdetest/admin') in /opt/software-forum/theme/default/index.php on line 20
I fixed this by making a softlink:
ln -s <wwwroot>/GLOBALS.php <wwwroot>/theme/default/GLOBALS.php
Can I ignore the mysql_fetch_object warning?
Is making the softlink the right solution?
|
The fact that version # did not change is a known bug, and will be fixed in next release. You can also ignore the mysql_fetch_object warning.
I am not sure why it was unable to find GLOBALS.php though, which PHP version are you using?
FUDforum Core Developer
|
|
|
|
Re: Upgrade from 2.0.2 to 2.1.2 [message #3549 is a reply to message #3542] |
Sun, 30 June 2002 14:09 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Okie can you please create another theme using the theme manager, then switch to that theme via your user profile and see if it will complain about a missing GLOBALS.php file again?
FUDforum Core Developer
|
|
|
Re: Upgrade from 2.0.2 to 2.1.2 [message #3793 is a reply to message #3542] |
Fri, 05 July 2002 21:58 |
Retzgesick
Messages: 16 Registered: May 2002 Location: Düsseldorf, Germany
Karma: 0
|
Junior Member |
|
|
prottoss, sorry for answering so late, but I was away this week.
After creating another theme, all php scripts in
<wwwroot>/adm were deleted except GLOBALS.php!
What can I do now?
I am not able to restore a backup at the moment. I have to wait for that until monday.
Rainer Vietz
[Updated on: Fri, 05 July 2002 21:59] Report message to a moderator
|
|
|
Re: Upgrade from 2.0.2 to 2.1.2 [message #3794 is a reply to message #3793] |
Fri, 05 July 2002 22:16 |
Retzgesick
Messages: 16 Registered: May 2002 Location: Düsseldorf, Germany
Karma: 0
|
Junior Member |
|
|
Ok, I had another forum, which I upgraded from 1.9.9RC1 Beta to 2.0.2 and after that to to 2.1.2
I created another theme with the theme manager and applied that theme in the profile. Following messages were written:
Quote: |
Warning: Failed opening 'GLOBALS.php' for inclusion (include_path='/opt/adpagde/include:/usr/local/lib/php:/opt/adpagde/phpOpen Tracker:/opt/adpagde/test:/opt/adpagdetest/admin') in /opt/software-forum/theme/RainersTheme/index.php on line 20
|
Rainer Vietz
|
|
|
Re: Upgrade from 2.0.2 to 2.1.2 [message #3796 is a reply to message #3793] |
Fri, 05 July 2002 23:21 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Those files are not needed in version 2.2
The index.php will be generated by the compiler.
FUDforum Core Developer
|
|
|