PDA

View Full Version : Problem with inline moderation...


kud0gfx
09-14-2008, 07:02 PM
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 (https://vborg.vbsupport.ru/showthread.php?p=1615181)' 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:
<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 ;)

Opserty
09-14-2008, 07:13 PM
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.

kud0gfx
09-14-2008, 07:20 PM
I just tried it now, i've waited about 30 seconds, and have the same problem... :(

Opserty
09-14-2008, 07:35 PM
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

define('DISABLE_HOOKS', true);

kud0gfx
09-15-2008, 06:52 AM
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?
I have tried with the default theme, and neither is this the problem.



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.
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...



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
define('DISABLE_HOOKS', true);
I forget to mention it, but i've tried it too...

:(:(:(:(:(

--------------- Added 1221525873 at 1221525873 ---------------

i've a real problem here... nobody can help? :(

kud0gfx
09-16-2008, 10:08 PM
bump, pleaaase some help will be really apreciated...

Lynne
09-16-2008, 10:14 PM
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?

kud0gfx
09-16-2008, 10:25 PM
where can i find the errors log?

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

thx for the help

Lynne
09-16-2008, 11:14 PM
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.

kud0gfx
09-19-2008, 03:14 AM
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?