Not Solved "Invalid forum" when trying to submit answer in polls
#11
Not Solved
Hi

It is a converted PHPBB3
Reply
#12
Not Solved
I think it's a problem after merge then - moving to merge support forum.

You can also try disabling all plugins in ACP -> Configuration -> General Configuration, but none of the plugins you listed should affect polls in such a way.
Reply
#13
Not Solved
(2015-05-15, 05:36 PM)Destroy666 Wrote: I think it's a problem after merge then - moving to merge support forum.

You can also try disabling all plugins in ACP -> Configuration -> General Configuration, but none of the plugins you listed should affect polls in such a way.
I've tried that, but with no succes. 
Reply
#14
Not Solved
Have you run all of the Recount & Rebuild Tools and cleared all Caches? The merge system has nothing to do with this (at least I highly doubt it) as it only inserts data to the database.
Support PMs will be ignored!
Reply
#15
Not Solved
Yes several times

Also replaced polls.php and added a empty forum with none of the data from the merge.
As I read the code the error apears here in polls.php Get forum info
	// Get forum info
	$forum = get_forum($fid);
	if(!$forum)
	{
		error($lang->error_invalidforum);
	}
	else
	{
		// Is our forum closed?
		if($forum['open'] == 0 && !is_moderator($fid, "canmanagepolls"))
		{
			// Doesn't look like it is
			error($lang->error_closedinvalidforum);
		}
Martin
Reply
#16
Not Solved
Please use the php tags when posting code Wink

The "get_forum" function uses the cache to get the forum. Can you create an account with access to the ACP and send me its details via pm? Also it seems that your website isn't available atm so I can't test anything correctly.
Support PMs will be ignored!
Reply
#17
Not Solved
U got mail:-)
Reply
#18
Not Solved
Apparently the "poll" column in the "threads" table is incorrect (can't confirm it without SQL access but from the errors thrown this seems to be the only explanation). I've attached a Script which tries to update that column again. Upload that file to your forum root (where the "global.php" is) and access it once. Note that it may take some time considering that you've around 260 polls. You shouldn't see a timeout, otherwise I need to implement some sort of pagination later.

Just for the record: The same query is already executed during the merge so I don't know why it isn't updated (worked locally for me).


Attached Files
.php   polls_update.php (Size: 376 bytes / Downloads: 144)
Support PMs will be ignored!
Reply
#19
Not Solved
(2015-05-18, 10:50 AM)Jones H Wrote: Apparently the "poll" column in the "threads" table is incorrect (can't confirm it without SQL access but from the errors thrown this seems to be the only explanation). I've attached a Script which tries to update that column again. Upload that file to your forum root (where the "global.php" is) and access it once. Note that it may take some time considering that you've around 260 polls. You shouldn't see a timeout, otherwise I need to implement some sort of pagination later.

Just for the record: The same query is already executed during the merge so I don't know why it isn't updated (worked locally for me).

Hi sorry still have the same problem

I've attached a dump of the poll table. Will that help?:-)

Take care

Martin


Attached Files
.gz   backup_a8ad704a32xPOsUDnntyWF1tAtlFWpNZahPNM7BuGtYQTSGJKCYbw1cJKcy3J6vz.sql.gz (Size: 71.44 KB / Downloads: 140)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)