Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-14-2008, 07:02 PM
kud0gfx's Avatar
kud0gfx kud0gfx is offline
 
Join Date: Apr 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Problem with inline moderation...

I have a real problem here...

What happens?
The inline moderation is "not working" in some ways, for example, editing a title in showforum, it edits all ok, but when you reload (f5) this haven't been saved... it happens in some forums, not all of them, i've compared one that works and one that doesn't and there is no difference... so is not a configuration/permission thing...

I have tried with the default theme, and neither is this the problem. too have actualized from 3.7.2 to 3.7.3pl1 (uploading all files except images) so this is not a problem with a .php file...

I've been installing some mods lately, but I think I get the guilty one 'Moderator Checkpoint System' I tried to install it, but I can't finish it (problems with template edits) so I uninstalled it... I've checked the .xml file and those are the actions that do installing that plugin:
Code:
<installcode><![CDATA[$db->hide_errors();

// Alter Post Table
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post ADD ischecked TINYINT( 1 ) NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post ADD checkedby INT( 1 ) UNSIGNED NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post ADD checkedbyu VARCHAR( 100 ) CHARACTER SET latin1 COLLATE latin1_general_ci NOT NULL");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post ADD checkedtime INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'");

// Alter Moderator Table
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator ADD cancheck TINYINT( 1 ) NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator ADD cancheck_whole TINYINT( 1 ) NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator ADD canuncheck TINYINT( 1 ) NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator ADD canuncheck_others TINYINT( 1 ) NOT NULL DEFAULT '0'");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator ADD canuncheck_whole TINYINT( 1 ) NOT NULL DEFAULT '0'");

// Alter Thread Table
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread ADD checkcount INT( 10 ) UNSIGNED NOT NULL DEFAULT '0'");

$db->show_errors();]]></installcode>
			<uninstallcode><![CDATA[$db->hide_errors();

// Drop Post Columns
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP ischecked");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP checkedby");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP checkedbyu");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "post DROP checkedtime");

// Drop Moderator Columns
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP cancheck");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP cancheck_whole");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP canuncheck");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP canuncheck_others");
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "moderator DROP canuncheck_whole");

// Drop Thread Columns
$db->query_write("ALTER TABLE " . TABLE_PREFIX . "thread DROP checkcount");

$db->show_errors();]]></uninstallcode>
Well, that's the only plugin that affects the area where i've problems (moderation actions in showforum)

I don't know what to do, but I own a large forum, and is a problem can edit titles by showforum....

Thanks to everybody who helps people here
Reply With Quote
  #2  
Old 09-14-2008, 07:13 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
The inline moderation is "not working" in some ways, for example, editing a title in showforum, it edits all ok, but when you reload (f5) this haven't been saved...
Sometimes it takes a bit of time to save the edit, just wait for about 10 seconds before you reload and it should save.
Reply With Quote
  #3  
Old 09-14-2008, 07:20 PM
kud0gfx's Avatar
kud0gfx kud0gfx is offline
 
Join Date: Apr 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I just tried it now, i've waited about 30 seconds, and have the same problem...
Reply With Quote
  #4  
Old 09-14-2008, 07:35 PM
Opserty Opserty is offline
 
Join Date: Apr 2007
Posts: 4,103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

To troubleshoot this, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems?

If your problem still exists, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.

If so, disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:
define('DISABLE_HOOKS'true); 
Reply With Quote
  #5  
Old 09-15-2008, 06:52 AM
kud0gfx's Avatar
kud0gfx kud0gfx is offline
 
Join Date: Apr 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Opserty View Post
To troubleshoot this, please create a new Style with no Parent set. Now browse the forum using this new style, do you still have the same problems?
Quote:
Originally Posted by kud0gfx View Post
I have tried with the default theme, and neither is this the problem.

Quote:
Originally Posted by Opserty View Post
If your problem still exists, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.
Quote:
Originally Posted by kud0gfx View Post
too have actualized from 3.7.2 to 3.7.3pl1 (uploading all files except images) so this is not a problem with a .php file...

Quote:
Originally Posted by Opserty View Post
If so, disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under
PHP Code:
define('DISABLE_HOOKS'true); 
I forget to mention it, but i've tried it too...



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

i've a real problem here... nobody can help?
Reply With Quote
  #6  
Old 09-16-2008, 10:08 PM
kud0gfx's Avatar
kud0gfx kud0gfx is offline
 
Join Date: Apr 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump, pleaaase some help will be really apreciated...
Reply With Quote
  #7  
Old 09-16-2008, 10:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have you tried looking in your error_logs to see if there is an error being generated? Is it consistent in which forums it works in and which it does not - ie. it always works in forums 1,2, and 3, but never in forums 4,5, and 6?
Reply With Quote
  #8  
Old 09-16-2008, 10:25 PM
kud0gfx's Avatar
kud0gfx kud0gfx is offline
 
Join Date: Apr 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

where can i find the errors log?

yes, it's always consistent, forum 1 always work, forum 2 always doesnt....

thx for the help
Reply With Quote
  #9  
Old 09-16-2008, 11:14 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

On my site, the error_logs are in /home/mysite/logs

Do you have any modifications that only affect some forums and not others? As for the Moderation Checkpoint System, did this problem with moderation just start when you tried to install it? The table alters would affect all the forums, so I don't think that is it.
Reply With Quote
  #10  
Old 09-19-2008, 03:14 AM
kud0gfx's Avatar
kud0gfx kud0gfx is offline
 
Join Date: Apr 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, finally I discovered where is the problem it's with the titles with an "ñ" a tipycal spanish character, we changed our server for a better one, and I'guess the problem will be in the ymsql configuration or something... do you know what exactly is?
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 09:33 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04446 seconds
  • Memory Usage 2,267KB
  • 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)bbcode_code
  • (2)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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_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