Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-15-2013, 04:49 PM
CharlesEdwards CharlesEdwards is offline
 
Join Date: Mar 2013
Location: Canada
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default New cms article content disappears when save/apply

I am a new vB4 user so my knowledge about the software is limited.

My problem is as follows;

I uploaded my first article in the CMS. It was smooth and uneventful.

The second article I tried to create was text copied from Microsoft Word. Whether I click Save or Apply the copied text is removed and only 1 - 3 words of the copied text are left in the article. The article title remains unchanged.

I have tried different browsers, Chrome, IE, FF. I have tried typing in content. I have tried creating an article with just the title saving successfully then adding the content unsuccessfully.

I would appreciate any help on this issue.

My apologies if a forum thread exists for this problem. I have searched "CMS not saving new articles" and a variety of other queries here and in Google with unhelpful results.

Regards,
Charles
Reply With Quote
  #2  
Old 03-15-2013, 05:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

In the text editor, try clicking to enter it in Source Mode instead of WYSIWYG Mode. You may be adding a bunch of junk that the editor doesn't know what to do with.
Reply With Quote
  #3  
Old 03-15-2013, 05:23 PM
CharlesEdwards CharlesEdwards is offline
 
Join Date: Mar 2013
Location: Canada
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Lynne

Thanks for the response. I have tried switching between Source Mode and WYSIWYG Mode. Neither provide any html code at all.
Reply With Quote
  #4  
Old 03-15-2013, 06:17 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What version of PCRE is on your server (Maintenance > View PHP Info > PCRE).
Reply With Quote
  #5  
Old 03-15-2013, 08:05 PM
dizzynation's Avatar
dizzynation dizzynation is offline
 
Join Date: Jun 2011
Posts: 279
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same issue after talking on the phone with Wayne, for some reason you need to clear your system Cache. Then the edits will work.

Still not a fix though, and it is very annoying
Reply With Quote
  #6  
Old 03-19-2013, 08:10 PM
CharlesEdwards CharlesEdwards is offline
 
Join Date: Mar 2013
Location: Canada
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Lynne,

The information you asked for; PCRE Library Version 8.30 2012-02-04

A quick update, I have cleared the cache which did not solve anything.

After a chat with Mark it would appear that copying text from a Word document causes issues.

What I tried was copying the information from Word into Notepad++, however when I copy the information from Notepad++ into the CMS Article creator the content is still shortened. This happens even if I copy one paragraph, save, copy the second paragraph. It feels as if there is a character limitation but I know this is not the case.
Reply With Quote
  #7  
Old 03-20-2013, 12:20 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it shortening at a particular type of character? Is there anything in your error_logs (if you don't know where they are, ask your host)?
Reply With Quote
  #8  
Old 03-21-2013, 04:49 PM
CharlesEdwards CharlesEdwards is offline
 
Join Date: Mar 2013
Location: Canada
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Lynne,

Do you mean the Apache error.log or is there another error log I should be looking for?

We did an error_log search on the whole machine hosting vbulletin and there were no results.

--------------- Added [DATE]1363886322[/DATE] at [TIME]1363886322[/TIME] ---------------

We identified the problem. When I copy and paste information that contains ASCII characters and UTF-16 characters for example Words long dash and smart quotes, which are recognized by Notepad and Notepad ++, the article is cut off at that point.

From the View Source Code of the Editor Creator.

meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"

a) How do I change this to UTF-8?

b) How can the editor handle non ASCII characters?

--------------- Added [DATE]1363887206[/DATE] at [TIME]1363887206[/TIME] ---------------

I have found a solution that has worked so far;

Check the page source of the article creation to see what character set is selected.

Mine was located on line 4:
meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"

1. Use the username/password as administrator to access inside the admincp system(vBulletin Admin Control Panel)

2. After logged, on the left column you will see the option Languages & Phrases.

3. Next select Language Manager.

4. Click Edit Settings.

5. Find to HTML Character Set field.

6. Change from iso-8859-1 to UTF-8.

Check your page source again:
meta http-equiv="Content-Type" content="text/html; charset=UTF-8"

I can copy Word documents no problem now.

I am confused as to why the default setting is ISO. Would it not be beneficial to vbulletin users if the default was UTF-8?
Reply With Quote
  #9  
Old 03-21-2013, 06:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The default setting is ISO for all versions prior to vB5. In vB5, they finally have the default as UTF-8 (I'm pretty sure - I'm away from my vB5 site at the moment.)
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:45 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03946 seconds
  • Memory Usage 2,240KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete