Re: [Php-calendar-discussion] 'Options' problems in 0.8
Brought to you by:
sproctor
From: Mark B. <php...@em...> - 2003-03-10 23:45:18
|
Sean, > > It seems that Option settings aren't being retrieved. I see them stored > > in the MySQL database, but when I go to edit them, they are all at their > > defaults. > > This is very bothersome... I'm guessing it's caused by the new version of > php, or by windows. check lines 35 - 45 of includes/setup.php ... I looked, and I found. It had to do with the absence of the translation library and the corresponding gettext() / _() function, which many ISPs seem to suffer. You had code from lines 30 to 34 in "include/setup.php" that simulated that a do-nothing version of that function if it didn't already exist. Unfortunately, it erroneously terminated the include of the entire setup.php file by issuing a "return;" outside of a function declaration if no _() function was detected. It's all better now. Thanks for the good work! Mark |