Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Apostrophe or single quote converted to double quote
  • Posted: 24.03.2008, 02:47
     
    tcochran
    rank:
    Softmore Softmore
    registered:
     July 2003
    Status:
    offline
    last visit:
    31.03.08
    Posts:
    89
    Server upgrade from PHP4 to PHP5 has caused client site running PN 0.764 to change all ' usage to '' -- e.g., the word ( can't ) becomes ( can''t ). Further, trying to input any new material with an apostrophe leads to an SQL syntax error.

    I've tried magic quotes both off and on, along with changing the "Translate embedded HTML entities into real characters" choice on the settings page, but still no joy.

    Where can I find a setting that controls this behavior?

    --
    Terry Cochran

    Boomernet - WashtenawWeb
  • Posted: 01.04.2008, 00:06
     
    tcochran
    rank:
    Softmore Softmore
    registered:
     July 2003
    Status:
    offline
    last visit:
    31.03.08
    Posts:
    89
    RESOLVED -- this was a conflict with magic_quotes_sybase

    If this happens to anyone else, change your .htaccess settings to:

    Code

    php_flag magic_quotes_gpc off
    php_flag magic_quotes_runtime off



    --
    Terry Cochran

    Boomernet - WashtenawWeb

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula