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 11-24-2014, 01:16 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default vBCMS Problem with editing a Section

I'm getting this error every time I try to edit a CMS section on a client's site. Please read my entire post, I have tried pretty much everything that is already listed on the site here, so please do not assume my situation is just like the others listed. I have already followed everything that I can in THIS thread.

Quote:
Your submission could not be processed because a security token was missing.

If this occurred unexpectedly, please inform the administrator and describe the action you performed before you received this error.
The Problem:

When I go to edit a section in the CMS I get the above error message. This seems to only happen in a section and not when I try and edit an article. I cannot change things by clicking the little edit pencil in the CMS, but I can change things in the admincp like published, not published etc of the sections. All the permissions are set on the sections so I should be able to edit them within the CMS.

Also this site's forum/cms is in a subdomain. I'm not sure if that will make a difference or not. We are going to be moving it into the main domain once this issue is resolved.

vBulletin & Server Info:

vBulletin Suite 4.2.2 P2
MySQL 5.5.40-cll
PHP 5.4.29
Apache 2.2.27
Perl 5.10.1

There are only 6 hacks installed on the site, if you need a list for what ever reason please let me know.

Things I Have Already Done (in Some Cases More Than Once):

1. Upgraded to the latest version of vBulletin 4.2.2 P2
2. Re-uploaded files overwriting the upgraded files (did this 3 times)
3. Checked files for suspect file versions (Deleted all old vB files, but kept the hacks that are installed)
4. Cleared browser cache 3 times.
5. Checked the site in Firefox, Chrome & IE got the same result in all of them.
6. Created a new skin and tried to make the edits in the new skin after clearing the cache, did not work.
7. Disabled all plugins except the CMS and checked in all 3 browsers after clearing the cache
8. Flushed my Windows 7 DNS cache on my Laptop
9. All add-ons are up to date as I just installed them about 2 weeks ago.

Please help me get this resolved. Thanks.
Reply With Quote
  #2  
Old 11-24-2014, 01:20 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a silly question, is there anything in the server error logs?
Reply With Quote
  #3  
Old 11-24-2014, 01:21 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I almost posted an answer over at vbulletin.com, but decided it wasn't much help. But since you're still looking: when a page POSTs a form, it has to contain a hidden field named securitytoken with a valid value. That message happens when the securitytoken field is missing or blank. But I don't know why it would be blank so this is probably not much help.
Reply With Quote
  #4  
Old 11-24-2014, 01:28 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Just a silly question, is there anything in the server error logs?
Nope have not looked at them yet. i have a couple of ideas I'm gonna try myself first before I delve into those.

Quote:
Originally Posted by kh99 View Post
I almost posted an answer over at vbulletin.com, but decided it wasn't much help. But since you're still looking: when a page POSTs a form, it has to contain a hidden field named securitytoken with a valid value. That message happens when the securitytoken field is missing or blank. But I don't know why it would be blank so this is probably not much help.
Yeah I realize the security token has somehow gotten misplaced. i have not edited the skin on a major level and I never remove security tokens within the templates, so I have no idea where its doing this. The one thing i can think of is some of the section within the main sections are not published so I'm gonna go through and publish them all and see if that makes a difference or not.
Reply With Quote
  #5  
Old 11-24-2014, 01:30 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here is a list of the vBCMS templates that should have the securitytoken in them.

Code:
vbcms_article_editor
vbcms_comments_editor
vbcms_comments_page
vbcms_content_article_inline
vbcms_content_article_page
vbcms_content_phpeval_inline
vbcms_content_phpeval_page
vbcms_content_section_inline
vbcms_content_staticpage_inline
vbcms_content_staticpage_page
vbcms_delete_form
vbcms_node_options_form
vbcms_toolbar
vbcms_widgetcontent_editor
vbcms_widget_activitystream_config
vbcms_widget_calendar_config
vbcms_widget_categorynavall_config
vbcms_widget_categorynavbu_config
vbcms_widget_categorynavcurrent_config
vbcms_widget_categorynav_config
vbcms_widget_comments_config
vbcms_widget_execphp_config
vbcms_widget_myfriends_config
vbcms_widget_nav_config
vbcms_widget_poll_config
vbcms_widget_poll_page
vbcms_widget_recentarticle_config
vbcms_widget_recentblogcomments_config
vbcms_widget_recentblog_config
vbcms_widget_recentcmscomments_config
vbcms_widget_recentcontent_config
vbcms_widget_recentposts_config
vbcms_widget_recentthreads_config
vbcms_widget_recent_config
vbcms_widget_rss_config
vbcms_widget_searchwidget_config
vbcms_widget_sectionnavext_config
vbcms_widget_sitecalendar_config
vbcms_widget_static_config
vbcms_widget_tagcloud_config
Reply With Quote
  #6  
Old 11-24-2014, 01:45 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Here is a list of the vBCMS templates that should have the securitytoken in them.

Code:
vbcms_article_editor
vbcms_comments_editor
vbcms_comments_page
vbcms_content_article_inline
vbcms_content_article_page
vbcms_content_phpeval_inline
vbcms_content_phpeval_page
vbcms_content_section_inline
vbcms_content_staticpage_inline
vbcms_content_staticpage_page
vbcms_delete_form
vbcms_node_options_form
vbcms_toolbar
vbcms_widgetcontent_editor
vbcms_widget_activitystream_config
vbcms_widget_calendar_config
vbcms_widget_categorynavall_config
vbcms_widget_categorynavbu_config
vbcms_widget_categorynavcurrent_config
vbcms_widget_categorynav_config
vbcms_widget_comments_config
vbcms_widget_execphp_config
vbcms_widget_myfriends_config
vbcms_widget_nav_config
vbcms_widget_poll_config
vbcms_widget_poll_page
vbcms_widget_recentarticle_config
vbcms_widget_recentblogcomments_config
vbcms_widget_recentblog_config
vbcms_widget_recentcmscomments_config
vbcms_widget_recentcontent_config
vbcms_widget_recentposts_config
vbcms_widget_recentthreads_config
vbcms_widget_recent_config
vbcms_widget_rss_config
vbcms_widget_searchwidget_config
vbcms_widget_sectionnavext_config
vbcms_widget_sitecalendar_config
vbcms_widget_static_config
vbcms_widget_tagcloud_config
ok I'll take a look but I have not changed any of those templates so they should still have it in there. Just plain weird.
Reply With Quote
  #7  
Old 11-24-2014, 01:47 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well is it possible the site owner may have changed the master style at some point?
Reply With Quote
  #8  
Old 11-24-2014, 02:02 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HM666 View Post
Yeah I realize the security token has somehow gotten misplaced. i have not edited the skin on a major level and I never remove security tokens within the templates, so I have no idea where its doing this. The one thing i can think of is some of the section within the main sections are not published so I'm gonna go through and publish them all and see if that makes a difference or not.
When you view the html source, do you see hidden field with a blank value, or is it missing completely? You could also temporarily turn on he option to put the template name in html comments and find out which template you should be looking at.

But if you say you haven't edited them then I suppose you'll have the field there with a blank value, which doesn't tell us much about the cause.
Reply With Quote
  #9  
Old 11-24-2014, 02:08 PM
HM666's Avatar
HM666 HM666 is offline
 
Join Date: Jan 2014
Location: Little Rock, AR
Posts: 1,060
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ozzy47 View Post
Well is it possible the site owner may have changed the master style at some point?
The skin is not a child skin of the master style so it should not have made any difference if they had something changed in it.

Quote:
Originally Posted by kh99 View Post
When you view the html source, do you see hidden field with a blank value, or is it missing completely? You could also temporarily turn on he option to put the template name in html comments and find out which template you should be looking at.

But if you say you haven't edited them then I suppose you'll have the field there with a blank value, which doesn't tell us much about the cause.
I'll have to look and see.

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

Checked those templates to no avail. All of them have the security token in them.
Reply With Quote
  #10  
Old 11-24-2014, 05:43 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is your userid? Go to your database and look at the usertextfield table for the row with your userid. Then change the field usertextfield.searchprefs to:
Code:
a:1:{s:20:"cmsadmin_showperpage";i:20;}
Then Maintenance > Clear System Cache. You should then be able to edit the section. You set the number of articles (at the bottom of the section page) to a number your server cannot handle. You may be able to increase it from 20 to 50.
Reply With Quote
Благодарность от:
ozzy47
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 07:59 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.04225 seconds
  • Memory Usage 2,276KB
  • Queries Executed 13 (?)
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
  • (3)bbcode_code
  • (7)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete