Unable to update settings w/ gdsr1.9.1 + wp3.0

5 views
Skip to first unread message

spiff

unread,
Jun 24, 2010, 4:09:23 PM6/24/10
to gd-star-rating
For some reason I am unable to update GDSR setting through the admin
panel. I can use phpMyAdmin to modify the settings directly and they
do take effect. Is anyone else having this problem? I'm using WP 3.0

Thanks,
Stacy

MillaN

unread,
Jun 24, 2010, 4:24:35 PM6/24/10
to gd-star-rating
The only reason for this problem is use of PHP4. Be sure that you use
PHP5. Check the requirements for the plugin and FAQ.

Milan

spiff

unread,
Jun 25, 2010, 12:55:57 PM6/25/10
to gd-star-rating
I'm using php version 5.2.13. So that does not seem to be the problem.
<shrug>

Stacy

MillaN

unread,
Jun 25, 2010, 1:04:39 PM6/25/10
to gd-star-rating
Than, most likely you have some of the security extensions in PHP that
is not properly configured, and it is destroying parts of the POST
requests when you try and save the settings. I am 100% sure that
everything is fine with the plugin and any version of PHP (I use 5.2.9
and 5.2.11, but testet with many, many version of PHP5), and I use
plugin on all my websites, and countless other users use it also
without any problem. Check PHP settings and extensions like suhosin
and other similar ones, they are most likely to blame.

Milan

spiff

unread,
Jun 26, 2010, 3:38:29 PM6/26/10
to gd-star-rating
New info:

It seems like some options are being updated properly and others are
not. For example, the number of stars on article post (in a dropdown)
are being updated properly, however, the I haven't found a checkbox
that updates properly yet (Auto insert rating code for articles, for
example). Initially I thought it might just be a problem with
checkboxes, however, I tried other dropdowns and text fields (Vote
rule and Rating header) and these did not update as well.

I've been using the latest version of Firefox, but tried IE to
eliminate browser problems. There is no difference between the two. I
also (through the FF developer toolbar) converted the POST to a GET to
see what was actually being passed. The SQL gdsr_options entry and the
GET url are listed below. I've noticed that not all of the GET fields
have a one-to-one correspondence with the SQL fields (though I may
just be missing something).

Stacy

SQL-----------------------

a:223:{s:16:"database_upgrade";s:31:"Sat, 26 Jun 2010 11:15:13
-0600";s:7:"version";s:5:"1.9.1";s:8:"revision";i:1;s:9:"code_name";s:
7:"Prelude";s:4:"date";s:11:"2010.05.20.";s:6:"status";s:6:"Stable";s:
10:"product_id";s:14:"gd-star-rating";s:5:"build";i:1087;s:
11:"admin_views";i:0;s:11:"bot_message";s:6:"normal";s:
27:"google_rich_snippets_format";s:11:"microformat";s:
27:"google_rich_snippets_active";i:1;s:
31:"google_rich_snippets_datasource";s:15:"standard_rating";s:
27:"google_rich_snippets_hidden";i:1;s:
29:"google_rich_snippets_location";s:6:"bottom";s:
19:"no_votes_percentage";i:100;s:19:"update_report_usage";i:1;s:
10:"ajax_jsonp";i:0;s:16:"wp_query_handler";i:1;s:
14:"cached_loading";i:1;s:13:"prefetch_data";i:1;s:
19:"external_rating_css";i:1;s:12:"external_css";i:1;s:
16:"css_last_changed";i:1277572513;s:16:"css_cache_active";i:1;s:
34:"cmm_integration_replay_hide_review";i:0;s:
34:"cmm_integration_prevent_duplicates";i:1;s:17:"disable_ie6_check";i:
0;s:16:"widgets_hidempty";i:0;s:8:"encoding";s:5:"UTF-8";s:
16:"news_feed_active";i:1;s:18:"gfx_generator_auto";i:0;s:
20:"gfx_prevent_leeching";i:1;s:12:"cache_active";i:1;s:
12:"cache_forced";i:0;s:18:"cache_cleanup_auto";i:0;s:
18:"cache_cleanup_days";i:7;s:21:"cache_cleanup_counter";i:0;s:
18:"cache_cleanup_last";i:0;s:12:"debug_active";i:0;s:
12:"debug_inline";i:1;s:13:"debug_wpquery";i:0;s:
16:"database_cleanup";s:0:"";s:20:"database_cleanup_msg";s:0:"";s:
9:"mass_lock";s:0:"";s:13:"thumbs_active";i:1;s:15:"include_opacity";i:
0;s:14:"ie_opacity_fix";i:1;s:12:"ip_filtering";i:1;s:
24:"ip_filtering_restrictive";i:0;s:15:"save_user_agent";i:0;s:
12:"save_cookies";i:1;s:15:"widget_articles";i:1;s:10:"widget_top";i:
1;s:15:"widget_comments";i:1;s:26:"security_showip_user_level";i:9;s:
33:"security_showdashboard_user_level";i:9;s:
19:"integrate_post_edit";i:1;s:23:"integrate_post_edit_mur";i:1;s:
17:"integrate_tinymce";i:1;s:19:"integrate_dashboard";i:1;s:
26:"integrate_dashboard_latest";i:1;s:
32:"integrate_dashboard_latest_count";i:10;s:
43:"integrate_dashboard_latest_filter_thumb_std";i:1;s:
43:"integrate_dashboard_latest_filter_thumb_cmm";i:1;s:
43:"integrate_dashboard_latest_filter_stars_std";i:1;s:
43:"integrate_dashboard_latest_filter_stars_cmm";i:1;s:
43:"integrate_dashboard_latest_filter_stars_mur";i:1;s:
21:"integrate_rss_powered";i:0;s:17:"moderation_active";i:0;s:
13:"multis_active";i:1;s:10:"rss_active";i:0;s:13:"review_active";i:
1;s:12:"timer_active";i:0;s:
36:"comments_integration_articles_active";i:1;s:15:"comments_active";i:
1;s:22:"comments_review_active";i:1;s:15:"thumb_rss_style";s:
10:"starrating";s:14:"thumb_rss_size";i:20;s:9:"rss_style";s:
6:"oxygen";s:8:"rss_size";i:20;s:15:"rss_header_text";s:0:"";s:
14:"rss_datasource";s:8:"standard";s:5:"style";s:6:"oxygen";s:
9:"style_ie6";s:10:"oxygen_gif";s:4:"size";i:24;s:5:"stars";s:1:"5";s:
4:"text";s:6:"bottom";s:5:"align";s:4:"none";s:11:"header_text";s:
0:"";s:15:"srb_class_block";s:0:"";s:14:"srb_class_text";s:0:"";s:
16:"srb_class_header";s:0:"";s:15:"srb_class_stars";s:0:"";s:
15:"cmm_class_block";s:0:"";s:14:"cmm_class_text";s:0:"";s:
16:"cmm_class_header";s:0:"";s:15:"cmm_class_stars";s:0:"";s:
20:"default_srb_template";i:0;s:20:"default_crb_template";i:0;s:
20:"default_ssb_template";i:0;s:20:"default_mrb_template";i:0;s:
20:"default_tab_template";i:0;s:20:"default_tcb_template";i:0;s:
9:"mur_style";s:6:"oxygen";s:13:"mur_style_ie6";s:10:"oxygen_gif";s:
8:"mur_size";i:20;s:10:"mur_header";i:0;s:15:"mur_header_text";s:
0:"";s:15:"mur_class_stars";s:0:"";s:15:"mur_class_block";s:0:"";s:
14:"mur_class_text";s:0:"";s:16:"mur_class_header";s:0:"";s:
16:"mur_class_button";s:0:"";s:15:"mur_button_text";s:6:"Submit";s:
17:"mur_button_active";i:1;s:14:"mur_review_set";i:0;s:9:"cmm_style";s:
6:"oxygen";s:13:"cmm_style_ie6";s:10:"oxygen_gif";s:8:"cmm_size";i:
16;s:9:"cmm_stars";s:1:"5";s:8:"cmm_text";s:6:"bottom";s:
9:"cmm_align";s:4:"none";s:15:"cmm_header_text";s:0:"";s:
16:"cmm_review_style";s:6:"oxygen";s:20:"cmm_review_style_ie6";s:
10:"oxygen_gif";s:15:"cmm_review_size";i:20;s:16:"cmm_review_stars";s:
1:"5";s:14:"cmm_aggr_style";s:6:"oxygen";s:18:"cmm_aggr_style_ie6";s:
10:"oxygen_gif";s:13:"cmm_aggr_size";i:16;s:12:"review_style";s:
6:"oxygen";s:16:"review_style_ie6";s:10:"oxygen_gif";s:
11:"review_size";i:20;s:12:"review_stars";s:1:"5";s:
18:"review_header_text";s:0:"";s:18:"review_class_block";s:0:"";s:
15:"display_comment";i:1;s:20:"display_comment_page";i:0;s:
13:"display_posts";i:1;s:13:"display_pages";i:1;s:12:"display_home";i:
1;s:15:"display_archive";i:1;s:14:"display_search";i:1;s:
24:"override_display_comment";i:0;s:
30:"override_thumb_display_comment";i:0;s:21:"auto_display_position";s:
6:"bottom";s:29:"auto_display_comment_position";s:6:"bottom";s:
11:"thumb_style";s:10:"starrating";s:15:"thumb_style_ie6";s:
14:"starrating_gif";s:10:"thumb_size";i:20;s:17:"thumb_header_text";s:
0:"";s:21:"thumb_display_comment";i:1;s:
26:"thumb_display_comment_page";i:0;s:19:"thumb_display_posts";i:1;s:
19:"thumb_display_pages";i:1;s:18:"thumb_display_home";i:1;s:
21:"thumb_display_archive";i:1;s:20:"thumb_display_search";i:1;s:
27:"thumb_auto_display_position";s:6:"bottom";s:
35:"thumb_auto_display_comment_position";s:6:"bottom";s:
15:"thumb_cmm_style";s:10:"starrating";s:19:"thumb_cmm_style_ie6";s:
14:"starrating_gif";s:14:"thumb_cmm_size";i:20;s:
21:"thumb_cmm_header_text";s:0:"";s:7:"cookies";i:1;s:6:"logged";i:1;s:
11:"cmm_cookies";i:1;s:10:"cmm_logged";i:1;s:10:"admin_rows";i:10;s:
14:"admin_advanced";i:1;s:15:"admin_placement";i:1;s:
14:"admin_defaults";i:1;s:12:"admin_import";i:1;s:12:"admin_export";i:
1;s:11:"admin_setup";i:1;s:9:"admin_ips";i:1;s:11:"author_vote";i:0;s:
15:"cmm_author_vote";i:0;s:20:"allow_mixed_ip_votes";i:0;s:
24:"cmm_allow_mixed_ip_votes";i:0;s:24:"mur_allow_mixed_ip_votes";i:
0;s:25:"default_moderation_multis";s:1:"N";s:
27:"default_moderation_articles";s:1:"N";s:
27:"default_moderation_comments";s:1:"N";s:
24:"default_voterules_multis";s:1:"A";s:
26:"default_voterules_articles";s:1:"A";s:
26:"default_voterules_comments";s:1:"A";s:
32:"recc_default_moderation_articles";s:1:"N";s:
32:"recc_default_moderation_comments";s:1:"N";s:
31:"recc_default_voterules_articles";s:1:"A";s:
31:"recc_default_voterules_comments";s:1:"A";s:
18:"default_timer_type";s:1:"N";s:29:"default_timer_countdown_value";i:
30;s:28:"default_timer_countdown_type";s:1:"D";s:
19:"default_timer_value";s:3:"D30";s:22:"default_mur_timer_type";s:
1:"N";s:33:"default_mur_timer_countdown_value";i:30;s:
32:"default_mur_timer_countdown_type";s:1:"D";s:
23:"default_mur_timer_value";s:3:"D30";s:19:"stats_trend_history";i:
30;s:19:"stats_trend_current";i:3;s:10:"trend_last";i:1;s:
10:"trend_over";i:30;s:16:"bayesian_minimal";i:10;s:
13:"bayesian_mean";i:70;s:9:"use_nonce";i:1;s:
20:"int_comment_std_zero";i:0;s:20:"int_comment_mur_zero";i:0;s:
20:"wait_loader_artthumb";s:6:"flower";s:20:"wait_loader_cmmthumb";s:
6:"flower";s:19:"wait_loader_article";s:6:"flower";s:
19:"wait_loader_comment";s:6:"flower";s:18:"wait_loader_multis";s:
6:"flower";s:17:"wait_text_article";s:14:"please wait...";s:
17:"wait_show_article";i:0;s:18:"wait_class_article";s:0:"";s:
17:"wait_text_comment";s:14:"please wait...";s:
17:"wait_show_comment";i:0;s:18:"wait_class_comment";s:0:"";s:
16:"wait_text_multis";s:14:"please wait...";s:16:"wait_show_multis";i:
0;s:17:"wait_class_multis";s:0:"";}


GET-------------------------------

http://www.3monkeyweb.com/mylocaleats/wp-admin/admin.php?gdsr_action=save&gdsr_cached_loading=on&gdsr_multis=on&gdsr_thumbs_act=on&gdsr_reviewactive=on&gdsr_commentsactive=on&gdsr_cmmreviewactive=on&gdsr_cmmintartactive=on&gdsr_wp_query_handler=on&gdsr_gfx_prevent_leeching=on&gdsr_external_rating_css=on&gdsr_external_css=on&gdsr_css_cache_active=on&gdsr_no_votes_percentage=100&gdsr_encoding=UTF-8&gdsr_bot_message=normal&gdsr_ieopacityfix=on&gdsr_use_nonce=on&gdsr_ip_filtering=on&gdsr_security_showdashboard_user_level=9&gdsr_security_showip_user_level=9&gdsr_save_cookies=on&gdsr_bots=FAST%0D%0AWebBug%0D%0ASpade%0D%0AZyBorg%0D%0Arabaz%0D%0ABaiduspider%0D%0ATechnoratiSnoop%0D%0ARankivabot%0D%0ASogou+web+spider%0D%0AWebAlta+Crawler%0D%0Awww.galaxy.com%0D%0ASlurp%0D%0Amsnbot%0D%0Aappie%0D%0ATECNOSEEK%0D%0AInfoSeek%0D%0AWebFindBot%0D%0Agirafabot%0D%0Acrawler%0D%0Ainktomi%0D%0Alooksmart%0D%0AURL_Spider_SQL%0D%0AFirefly%0D%0ANationalDirectory%0D%0ATeoma%0D%0Aalexa%0D%0Afroogle%0D%0AAdsBot-Google%0D%0Aia_archiver%0D%0AScooter%0D%0AAsk+Jeeves%0D%0ABaiduspider%0D%0AExabot%0D%0AFAST+Enterprise+Crawler%0D%0AFAST-WebCrawler%0D%0AGigabot%0D%0AMediapartners-Google%0D%0AGoogle+Desktop%0D%0AFeedfetcher-Google%0D%0AGooglebot%0D%0Aheise-IT-Markt-Crawler%0D%0Aheritrix%0D%0Aichiro%0D%0AMJ12bot%0D%0AMetagerBot%0D%0AOmniExplorer_Bot%0D%0Amsnbot-NewsBlogs%0D%0Amsnbot%0D%0Amsnbot-media%0D%0ANG-Search%0D%0ANutchCVS%0D%0ASeekbot%0D%0ASynooBot%0D%0ASensis+Web+Crawler%0D%0ASEO+search+Crawler%0D%0ASeoma%0D%0ASEOsearch%0D%0Avoyager%0D%0AW3+SiteSearch+Crawler%0D%0Acrawleradmin.t-info%40telekom.de%0D%0ATurnitinBot%0D%0AW3C-checklink%0D%0Ayacybot%0D%0AYahoo-MMCrawler%0D%0AYahoo!+DE+Slurp%0D%0AYahoo!+Slurp%0D%0AYahooSeeker%0D%0APingdom.com&gdsr_update_report_usage=on&gdsr_cache_active=on&gdsr_cache_cleanup_days=7&gdsr_debug_inline=on&gdsr_trend_last=1&gdsr_trend_over=30&gdsr_bayesian_minimal=10&gdsr_bayesian_mean=70&gdsr_admin_import=on&gdsr_admin_setup=on&gdsr_admin_export=on&gdsr_admin_ips=on&gdsr_admin_rows=10&gdsr_news_feed_active=on&gdsr_cmm_integration_prevent_duplicates=on&gdsr_integrate_dashboard=on&gdsr_integrate_dashboard_latest=on&gdsr_integrate_dashboard_latest_count=10&gdsr_integrate_dashboard_latest_filter_thumb_std=on&gdsr_integrate_dashboard_latest_filter_stars_std=on&gdsr_integrate_dashboard_latest_filter_stars_mur=on&gdsr_integrate_dashboard_latest_filter_thumb_cmm=on&gdsr_integrate_dashboard_latest_filter_stars_cmm=on&gdsr_widget_articles=on&gdsr_widget_top=on&gdsr_widget_comments=on&gdsr_integrate_post_edit=on&gdsr_integrate_post_edit_mur=on&gdsr_integrate_tinymce=on&gdsr_grs=on&gdsr_grs_hidden=on&gdsr_grs_datasource=standard_rating&gdsr_grs_format=microformat&gdsr_grs_location=bottom&gdsr_rss_datasource=standard&gdsr_rss_style=oxygen&gdsr_rss_size=20&gdsr_thumb_rss_style=starrating&gdsr_thumb_rss_size=20&gdsr_rss_header_text=&gdsr_default_ssb_template=6&gdsr_style=oxygen&gdsr_size=24&gdsr_stars=5&gdsr_style_ie6=oxygen_gif&gdsr_header_text=&gdsr_posts=on&gdsr_archive=on&gdsr_search=on&gdsr_auto_display_position=bottom&gdsr_default_vote_articles=U&gdsr_classblock=&gdsr_classtext=&gdsr_classheader=&gdsr_classstars=&gdsr_default_srb_template=10&gdsr_logged=on&gdsr_cookies=on&gdsr_wait_loader_article=flower&gdsr_wait_text_article=please+wait...&gdsr_wait_class_article=&gdsr_review_style=oxygen&gdsr_review_size=20&gdsr_review_stars=5&gdsr_review_style_ie6=oxygen_gif&gdsr_review_header_text=&gdsr_review_classblock=&gdsr_cmm_style=oxygen&gdsr_cmm_size=16&gdsr_cmm_stars=5&gdsr_cmm_style_ie6=oxygen_gif&gdsr_cmm_header_text=&gdsr_dispcomment=on&gdsr_auto_display_comment_position=bottom&gdsr_cmm_classblock=&gdsr_default_vote_comments=A&gdsr_cmm_classblock=&gdsr_cmm_classtext=&gdsr_cmm_classheader=&gdsr_cmm_classstars=&gdsr_default_crb_template=11&gdsr_cmm_aggr_style=oxygen&gdsr_cmm_aggr_size=16&gdsr_cmm_aggr_style_ie6=oxygen_gif&gdsr_cmm_logged=on&gdsr_cmm_cookies=on&gdsr_wait_loader_comment=flower&gdsr_wait_text_comment=please+wait...&gdsr_wait_class_comment=&gdsr_cmm_review_style=oxygen&gdsr_cmm_review_size=20&gdsr_cmm_review_stars=5&gdsr_cmm_review_style_ie6=oxygen_gif&gdsr_mur_style=oxygen&gdsr_mur_size=20&gdsr_mur_style_ie6=oxygen_gif&gdsr_mur_header_text=&gdsr_default_vote_multis=A&gdsr_mur_classblock=&gdsr_mur_classtext=&gdsr_mur_classheader=&gdsr_mur_classbutton=&gdsr_default_mrb_template=12&gdsr_mur_submittext=Submit&gdsr_mur_submitactive=on&gdsr_wait_loader_multis=flower&gdsr_wait_text_multis=please+wait...&gdsr_wait_class_multis=&gdsr_thumb_style=starrating&gdsr_thumb_size=20&gdsr_thumb_style_ie6=starrating_gif&gdsr_thumb_header_text=&gdsr_thumb_posts=on&gdsr_thumb_pages=on&gdsr_thumb_archive=on&gdsr_thumb_home=on&gdsr_thumb_search=on&gdsr_thumb_auto_display_position=bottom&gdsr_recc_default_vote_articles=A&gdsr_default_tab_template=25&gdsr_wait_loader_artthumb=flower&gdsr_thumb_cmm_style=starrating&gdsr_thumb_cmm_size=20&gdsr_thumb_cmm_style_ie6=starrating_gif&gdsr_thumb_cmm_header_text=&gdsr_thumb_dispcomment=on&gdsr_thumb_auto_display_comment_position=bottom&gdsr_recc_default_vote_comments=A&gdsr_default_tcb_template=26&gdsr_wait_loader_cmmthumb=flower&gdsr_saving=Save+Settings

MillaN

unread,
Jun 26, 2010, 3:42:12 PM6/26/10
to gd-star-rating
I am now almost 100% sure that something on server side is doing this.
Browser is sending full POST as it should be doing. Server side PHP
extension (suhosin or something similar) is mis-configured and is
cutting the POST request eliminating some of the settings from it
before it's past to the PHP script, in our case plugin.

I can't help you further with this, you need to sort this out with
your server settings and configure PHP properly.

Milan
> ...
>
> read more »

spiff

unread,
Jun 26, 2010, 5:05:50 PM6/26/10
to gd-star-rating
That is kinda what I was thinking since the GET was sending additional
info. I will look into the sever side of things more and report my
findings for others.

Stacy
Reply all
Reply to author
Forward
0 new messages