vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Attachment problem... (https://vborg.vbsupport.ru/showthread.php?t=203177)

ishare 01-26-2009 06:20 PM

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

PHP Code:

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.


All times are GMT. The time now is 07:03 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01993 seconds
  • Memory Usage 1,722KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete