Must Disable Sybase Style Quotes with 2.0 Alpha

Tumble

Joined: 2005-01-09
Posts: 6
Posted: Sun, 2005-01-09 20:32


Gallery URL (optional):http://photos.nsunderground.com
Gallery version:2.0 Alpha
Webserver (with version):IIS
Datatabase (with version):MySQL
PHP version (eg 4.2.1):4.3.8
Operating system:Win2k

For most applications, I run SQL2k as the default database. This requires that I setup php to run with Sybase Quotes. I appear to be getting some random errors with the Smarty template system popping up. I have had to turn off sybase style quotes to ensure that gallery 2 works correctly.

To remedy the situation, I added the following code to init.php. It may be worth setting some ini options to ensure the environment for Gallery.

ini_set('magic_quotes_sybase','Off');
 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2005-01-10 05:06

Good idea. I just committed this to init.php. Thanks!