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

Home » FUDforum » FUDforum Announcements » FUDforum 2.6.2 Released
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon4.gif  FUDforum 2.6.2 Released [message #17729] Wed, 14 April 2004 14:34 Go to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Moving at a slightly faster pace (yey!) here is 2.6.2.

Not too many changes since RC1, mostly cleanup of both the internal code and the output generation.

Changes:
  1. Removed a bunch of unused code.
  2. Better (native) whois for IP information page.
  3. Fixed typo in russian translation.
  4. Only show theme selector on profile/register page if there is >1 theme.
  5. Fixed hardcoded "Theme:" text on profile/register page.
  6. Removed no longer used translation entries.
  7. Added missing function to rdf_parser that is needed for PHP versions < 4.3.0.
  8. Fixed e-mail notification to ensure all subscribed members are notified.
  9. Changed group_cache index to UNIQUE INDEX to optimize certain queries.
  10. Enable cookies by default on quicklogin.
  11. Possible fix for a bug that prevent display of inline images (from file uploads) inside messages.
  12. Fixed pager on pmsg page when PATH_INFO theme is being used.
  13. Fixed window_open() calls that would sometimes fail with broken browsers.
  14. Various output optimizations via the use of CSS, this should make generated forum pages 2-3kb smaller.
Re: FUDforum 2.6.2 Released [message #17841 is a reply to message #17729] Wed, 21 April 2004 18:30 Go to previous messageGo to next message
sandrobilbeisi is currently offline  sandrobilbeisi   Italy
Messages: 6
Registered: April 2004
Location: Rome, Italy
Karma: 0
Junior Member
2.6.2 Upgrade script gives following error:

Failed to parse GLOBALS.php at "/usr2/home/c.... htdocs/fudforum/GLOBALS.php" correctly - looks perfect to me

(I omitted part of the path for security purposes)

moreover, there is a JavaScript erroron Mac OS Classic with Microsoft Internet Explorer 5.x coming from 'lib.js' at line 218: Object doesn't support this property or method
(this error also existed in previous versions)

privet,
Sandro
Re: FUDforum 2.6.2 Released [message #17842 is a reply to message #17841] Wed, 21 April 2004 18:38 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
Could you please send me your GLOBALS.php file.
Re: FUDforum 2.6.2 Released [message #17843 is a reply to message #17842] Wed, 21 April 2004 18:53 Go to previous messageGo to next message
sandrobilbeisi is currently offline  sandrobilbeisi   Italy
Messages: 6
Registered: April 2004
Location: Rome, Italy
Karma: 0
Junior Member
Here's my GLOBALS.php file, as requested

(I've replaced my db passwords with 'xxx' for this forum post because of security concerns)
  • Attachment: GLOBALS.php
    (Size: 3.64KB, Downloaded 1324 times)
Re: FUDforum 2.6.2 Released [message #17844 is a reply to message #17843] Wed, 21 April 2004 19:12 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
Your GLOBALS.php appears to be correct from what I can tell. The problem seems to be that after loading the file, $GLOBALS['COOKIE_NAME'] is not avaliable, as it should be since that variable is being created by GLOBALS.php.

You can try the following fix, online 993 of upgrade script change !isset($GLOBALS['COOKIE_NAME']) to !isset($COOKIE_NAME)
Re: FUDforum 2.6.2 Released [message #17845 is a reply to message #17844] Wed, 21 April 2004 20:07 Go to previous messageGo to next message
sandrobilbeisi is currently offline  sandrobilbeisi   Italy
Messages: 6
Registered: April 2004
Location: Rome, Italy
Karma: 0
Junior Member
hmmm...
I've noticed that the file GLOBALS.php
does NOT explicitly declare any globals, this is a problem on my setup

I've modified GLOBALS.php to declare all globals as:
global $INCLUDE,$WWW_ROOT,$WWW_ROOT_DISK,$DATA_DIR,$ERROR_PATH,$MSG_STORE_DIR,$TMP ,$FILE_STORE,$FORUM_SETTINGS_PATH;

etcetera etcetera

seems to work halfway now
Re: FUDforum 2.6.2 Released [message #17846 is a reply to message #17845] Wed, 21 April 2004 21:08 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
By declaring them as GLOBALS you will cause problem with the option changing in the admin control panel. Have you tried applying the patch I've mentioned to upgrade.php and if so did it work?

Also what version of PHP are you using?
Re: FUDforum 2.6.2 Released [message #17850 is a reply to message #17846] Thu, 22 April 2004 14:42 Go to previous messageGo to next message
sandrobilbeisi is currently offline  sandrobilbeisi   Italy
Messages: 6
Registered: April 2004
Location: Rome, Italy
Karma: 0
Junior Member
I tried it, but the error was exactly the same
Re: FUDforum 2.6.2 Released [message #17851 is a reply to message #17850] Thu, 22 April 2004 14:47 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
What version of PHP are you using?
Re: FUDforum 2.6.2 Released [message #17852 is a reply to message #17850] Thu, 22 April 2004 14:54 Go to previous messageGo to next message
sandrobilbeisi is currently offline  sandrobilbeisi   Italy
Messages: 6
Registered: April 2004
Location: Rome, Italy
Karma: 0
Junior Member
PHP version 4.3.4
-running on FreeBSD 4.9R-p4 i386
-safe mode off
-sql.safe_mode off
-thread safety disabled
-shell disbled
-register_globals and register argc_argv are ON
-zend optimizer installed
-tokenizer enabled
-Zlib enabled, version 1.1.4
-curl version 7.10.8 OpenSSL/0.9.7c ipv6 zlib/1.1.4
-ftp enabled
-domxml enabled , libxml 20511
-gettext, iconv and mbstring enabled
-gd(bundled 2.015) and ming 0.2a
-sendmail, imap and SMTP funcrtional

MySQL version 4.017-log
myslq client API 3.23.49
Re: FUDforum 2.6.2 Released [message #17853 is a reply to message #17852] Thu, 22 April 2004 15:04 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
Sounds like a problem with your version of PHP. Please try the following script and let me know what output you get. The "correct" output should be "bool(true) bool(true)".

<?php eval(' $FOO = 1; '); var_dump(isset($FOO), isset($GLOBALS['FOO'])); ?>
Re: FUDforum 2.6.2 Released [message #17893 is a reply to message #17853] Fri, 23 April 2004 19:35 Go to previous messageGo to next message
sandrobilbeisi is currently offline  sandrobilbeisi   Italy
Messages: 6
Registered: April 2004
Location: Rome, Italy
Karma: 0
Junior Member
yes, it outputs:
bool(true) bool(true)

now what ?
Re: FUDforum 2.6.2 Released [message #17898 is a reply to message #17893] Fri, 23 April 2004 20:28 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Given that it output true in both instance the GLOBALS.php parsing should be fine, since the logic is the same.

I've also tried your GLOBALS.php with the parsing code from upgrade.php and it appears to work correctly on my system.


FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: FUDforum 2.6.2RC1 Released
Next Topic: FUDforum 2.6.3RC1 Released
Goto Forum:
  

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

Current Time: Wed Nov 27 07:32:05 GMT 2024

Total time taken to generate the page: 0.02821 seconds