Re: HTML tags show after upgrade to 1.3.9g
Quote:
Originally Posted by
DrByte
This is a brand new install. I installed it less than an hour ago, and the first change I'm trying to make to the store is the Main Page text. If I delete the extra_white_list.php file, the site works again (albeit the HTML tags are not rendered). If I upload it again, the site breaks.
I've even tried uploaded this new file to /includes/extra_configures and /admin/includes/extra_configures... and whenever I upload it either, that section of the site breaks... if its in the admin/includes/extra_configures folder, the admin sections breaks... if its in the /includes/extra_configures folder
The ONLY change I'm making is uploading this new whitelists file... if it's there, the site doesn't render and that FAQ didn't help because the site doesn't even generate any errors.
Re: HTML tags show after upgrade to 1.3.9g
The correct location is under /admin/includes/extra_configures/
And if that's causing the admin to break, then you've got bad content in the file. Again, see the link I posted to you previously.
Maybe your copy+paste isn't reliable on your PC?
Re: HTML tags show after upgrade to 1.3.9g
Quote:
Originally Posted by
DrByte
The correct location is under /admin/includes/extra_configures/
And if that's causing the admin to break, then you've got bad content in the file. Again, see the link I posted to you previously.
Maybe your copy+paste isn't reliable on your PC?
Thank you -- for some inexplicable reason, my copy and paste was adding \ at the end of every line, but it wasn't showing in Notepad. I opened the file up in Dreamweaver to look at the code and saw the extra \'s... I rebooted the computer and it stopped doing that.
Thanks!
Re: HTML tags show after upgrade to 1.3.9g
Most "editor" software written by microsoft is going to do that to you.
Better to use Notepad++ as a solid free replacement for MS Notepad.
http://notepad-plus.sf.net
Re: HTML tags show after upgrade to 1.3.9g
after being kindly guided to this thread i added the file and the define page issue was resolved.
It hasn't resolved the same problem in the news and article mod manager.
Articles created there are showing as source HTML on the store side.
Any ideas?
Re: HTML tags show after upgrade to 1.3.9g
Quote:
Originally Posted by DVDTitan
It hasn't resolved the same problem in the news and article mod manager.
Article manager is not in the white list...
NOTE: THE FOLLOWING CODE HAS/MAY HAVE BEEN SUPERCEDED BY THIS POST: http://www.zen-cart.com/forum/showth...839#post941839
Not familiar with that 3rd party mod, I do not know the variable to add to
Code:
$my_whitelist = array('file_contents', 'banners_html_text', 'pages_title', 'message_html');
Re: HTML tags show after upgrade to 1.3.9g
Great fix.. It was weird. My site was displaying the html just fine up until today... I upgraded a few days ago and now it works again! Thanks for the info!
Re: HTML tags show after upgrade to 1.3.9g
Quote:
Originally Posted by
kobra
Article manager is not in the white list...
NOTE: THE FOLLOWING CODE HAS/MAY HAVE BEEN SUPERCEDED BY THIS POST: http://www.zen-cart.com/forum/showth...839#post941839
Not familiar with that 3rd party mod, I do not know the variable to add to
Code:
$my_whitelist = array('file_contents', 'banners_html_text', 'pages_title', 'message_html');
Thanks for this, what info am i looking for in the news and article mod files to add to the white list file?
Re: HTML tags show after upgrade to 1.3.9g
The <input> field name of the content that you're saying is mangled.
Re: HTML tags show after upgrade to 1.3.9g
Quote:
Originally Posted by
DrByte
The <input> field name of the content that you're saying is mangled.
Looking at the news.php file could it be this?
$news_article_text = zen_db_prepare_input($_POST['news_article_text'][$lang['id']]);