Home »
FUDforum Development »
Bug Reports »
Fud 2.6.8 RC1 issues
Fud 2.6.8 RC1 issues [message #20700] |
Tue, 26 October 2004 09:37  |
Olliver
 Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
I upgraded from 2.6.7 RC1 to 2.8.7 RC1 and had quite a few problems while upgrading:
- Sql error in one category with two forums which didn't contain any posts. Removing it got me one step further
- Compile error with Lithuanian language: Error message states that it seems to miss the help files. Well, removing Lithuanian got me finally completing the upgrade.
As a permanent error I get this here:
Quote: | Warning: glob() expects parameter 2 to be long, string given in /xxx/xxx/xxx/forum/adm/admthemes.php on line 231
Warning: Invalid argument supplied for foreach() in /xxx/xxx/xxx/forum/adm/admthemes.php on line 232
Warning: Invalid argument supplied for foreach() in /xxx/xxx/xxx/forum/adm/admthemes.php on line 244
|
Olliver
[Updated on: Tue, 26 October 2004 09:38] Report message to a moderator
|
|
|
Re: Fud 2.6.8 RC1 issues [message #20702 is a reply to message #20700] |
Tue, 26 October 2004 10:08   |
Olliver
 Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
Since the latest cvs file is also broken I hacked into the file myself in order to get my forum back to operation. The following change fixes the problem.
admthemes.php, line 231
$files = glob($DATA_DIR.'/thm/default/i18n/*', intval(GLOB_ONLYDIR));
Works for me, but I dunno whether it may break something elsewhere.
Olliver
[Updated on: Tue, 26 October 2004 10:10] Report message to a moderator
|
|
|
|
|
Re: Fud 2.6.8 RC1 issues [message #20724 is a reply to message #20705] |
Tue, 26 October 2004 14:58   |
Olliver
 Messages: 443 Registered: March 2002
Karma: 0
|
Senior Member |
|
|
Regarding the PHP binary:
It's PHP 4.3.1 as Apache 1.3.x module on FreeBSD 4.8. It has almost nothing else but the standard functions built in. I can provide phpinfo() if necessary.
Regarding the SQL error:
I got it when I ran the upgrade script for 2.6.8 RC1. It was the originally released version, not the latest snap from CVS, hence I assume I experienced the problem you fixed right afterwards.
Unfortunately I didn't save the excact message, but it was complaining about some forum names, which used to work in all previous releases. Since the category with the two forums were empty I deleted them which seemed to cure the problem.
So the remaining problem is the defunct glob constant
Olliver
[Updated on: Tue, 26 October 2004 14:59] Report message to a moderator
|
|
|
|
|
|
Goto Forum:
Current Time: Wed Feb 19 14:12:11 GMT 2025
Total time taken to generate the page: 0.03806 seconds