• When saving SQL commands in reporting, but probably also with other changes, such as in config.php, a backslash is set.
    For example:
    select * from tng_people where deathdate=‘Y’
    becomes
    select * from tng_people where deathdate=\’Y\’
    The error only occurs when the change is made via the WordPress URL (https://<domain>/genealogy/admin), not with https://<domain>/tng-original-path/admin.
    As a workaround, one can use the original path, but since it is unclear with which actions the error has an effect, a solution would be preferable.

Viewing 1 replies (of 1 total)
  • Plugin Author theKiwi

    (@thekiwi)

    Hi

    I have this in my site’s .htaccess file – it forces any request for an Admin page to open outside of the WordPress environment

    # To get TNG Admin pages to open in /tng/ not in /Genealogy/
    RewriteEngine On
    ReWriteRule ^genealogy/admin(.*)$ tng/admin$1 [R,L]

    I was never able to figure out how to stop the errors like you’re reporting and others that I encountered, and so forcing the Admin to open outside of WordPress seemed like the easiest fix.

    Hope this helps

    Roger

Viewing 1 replies (of 1 total)
  • The topic ‘Adding escapes when saving’ is closed to new replies.