PDA

View Full Version : Attachment problem...


ishare
01-26-2009, 06:20 PM
Hi,

I have a serious problem right now and i do need your help.

All user groups except Administrator (6) and Super Moderators (5) get an error message when they try to upload an attachment through newthread page even they have the permission at forum and attachment permissions page.

Error message i get :
Invalid Thread specified. If you followed a valid link, please notify the administrator.

But they can uplaod attachments to the same thread through ediptpost page.

I will appreciate it a lot if someone help me with solving this problem.

Thanks in advance...

Lynne
01-26-2009, 07:47 PM
Grab the source code of the page as an admin. Then grab the source code of the page as a regular user. Compare the two source codes and see what is different/missing.

ishare
01-26-2009, 08:17 PM
I've compared both page sources in details but couldnt find any difference...

Lynne
01-26-2009, 08:34 PM
It sounds to me like there is perhaps a form not closed properly or something along those lines. There must be some difference otherwise you wouldn't be getting there error.

Try this - Create a new style with no parent - Styles & Templates > Style Manager > Add New Style > no parent - then browse the site using that totally default vbulletin style - do you still have the same problem?

ishare
01-26-2009, 08:46 PM
Thanks for your kind relation Lynne...

I've already tried all of them.

I've created a new style with no parent and tried to upload an attachment as an user but got same problem again. But i do not have the attachment upload problem when i do it under Administrator user group.

I've checked all the forum and attachment permissions too.

Its really quite strange problem. Because after posting the new thread, if you edit the thread then you can upload an attachment without any problem. But not on new thread page...

Lynne
01-26-2009, 08:49 PM
Did you also try this after disabling your plugins?

Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

ishare
01-26-2009, 09:00 PM
Disabling the plugins solved the problem. Now i can upload attachments. But is it possible to find out which plugin cause this problem ?

Lynne
01-26-2009, 10:57 PM
Sure. Disable them all from the Products Page, remove that line from the config.php file and then Enable a Plugin, Test, Enable another, Test, etc until it breaks again.