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

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
mikemee
Forum Members
Forum Members
Posts: 20
Joined: Sun May 21, 2006 11:31 am

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

Post 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
Last edited by mikemee on Sat Sep 11, 2010 10:55 pm, edited 1 time in total.
mikemee
Forum Members
Forum Members
Posts: 20
Joined: Sun May 21, 2006 11:31 am

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

Post 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.
Locked

Return to “[locked] Installation, Setup and Upgrade”