Page 1 of 1

FIXED: Fresh install of 1.8.2, getting backslashes added to tags when saving?

Posted: Sat Sep 11, 2010 10:24 pm
by mikemee
Never seen this before with cmsms, but I tend to jump in every 6 months ago as someone convinces me to build a site.

The problem I'm seeing is if I copy paste some existing html into a page (with wysiwyg off - or even disabled), when I save it and then come back to edit it, the result is something like:



Needless to say, it doesn't preview properly either.

I did install a template (opposed) and I have .htaccess mods for pretty urls, but apart from that the install is very vanilla.  Here is the install info, in case that helps.  

Many thanks in advance!

----------------------------------------------

Cms Version: 1.8.2

Installed Modules:

   * CMSMailer: 2.0
   * FileManager: 1.0.2
   * MenuManager: 1.6.5
   * ModuleManager: 1.4
   * News: 2.10.6
   * nuSOAP: 1.0.2
   * Printing: 1.1.0
   * Search: 1.6.5
   * ThemeManager: 1.1.1
   * TinyMCE: 2.7.2


Config Information:

   * php_memory_limit:
   * process_whole_template: false
   * output_compression: false
   * max_upload_size: 32000000
   * default_upload_permission: 664
   * url_rewriting: mod_rewrite
   * page_extension:
   * query_var: page
   * use_hierarchy: true
   * image_manipulation_prog: GD
   * auto_alias_content: true
   * locale:
   * default_encoding: utf-8
   * admin_encoding: utf-8
   * set_names: true


Php Information:

   * phpversion: 5.2.9
   * md5_function: On (True)
   * gd_version: 2
   * tempnam_function: On (True)
   * magic_quotes_runtime: Off (False)
   * E_STRICT: 0
   * memory_limit: 64M
   * max_execution_time: 30
   * output_buffering: On
   * safe_mode: Off (False)
   * file_uploads: On (True)
   * post_max_size: 8M
   * upload_max_filesize: 32M
   * session_save_path: /tmp (1777)
   * session_use_cookies: On (True)
   * xml_function: On (True)


Server Information:

   * Server Api: cgi-fcgi
   * Server Db Type: MySQL (mysql)
   * Server Db Version: 5.0.67

Re: FIXED: Fresh install of 1.8.2, getting backslashes added to tags when saving?

Posted: Sat Sep 11, 2010 10:57 pm
by mikemee
I worked it out.  I got over-eager uncommenting lines in the provided .htaccess file.

For my .htaccess file, it was wrong to uncomment this:

Code: Select all

php_flag magic_quotes_gpc Off
putting the comment back fixed it.