NO_ACCESS_ATTACHMENT Error when admin wants to edit post with attachment

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Post Reply
skygate
Registered User
Posts: 2
Joined: Thu Jan 10, 2013 12:53 pm

NO_ACCESS_ATTACHMENT Error when admin wants to edit post with attachment

Post by skygate » Thu Jan 10, 2013 1:02 pm

Hi all,

in a customers phpBB installation 3.0.10 the admin is not able to edit a post of another user when this has attachments. These do not belong to the admin user. So they are treated as not_orphan and a NO_ACCESS_ATTACHMENT error is triggerd in 'includes/message_parser.php' line 1603:

1603 if (sizeof($not_orphan))
1604 {
1605 trigger_error('NO_ACCESS_ATTACHMENT', E_USER_ERROR);
1606 }

Is it possible to disable this 'not_orphan' check for an admin user? Shouldn`t the admin able to edit a post like this?

Maybe this is related to this bug: http://tracker.phpbb.com/browse/PHPBB3-9789 ?

Would be great to get a solution for this :-)

TIA

Best regards!

skygate

User avatar
brunoais
Registered User
Posts: 958
Joined: Fri Dec 18, 2009 3:55 pm

Re: NO_ACCESS_ATTACHMENT Error when admin wants to edit post with attachment

Post by brunoais » Thu Jan 10, 2013 4:57 pm

If you are using 3.0.11, then you should ask for support at phpbb.com.
This forum is for development from version 3.1 onwards

skygate
Registered User
Posts: 2
Joined: Thu Jan 10, 2013 12:53 pm

Re: NO_ACCESS_ATTACHMENT Error when admin wants to edit post with attachment

Post by skygate » Mon Jan 14, 2013 9:36 am

oha...thanks....

User avatar
RMcGirr83
Registered User
Posts: 356
Joined: Fri Mar 09, 2007 1:51 am
Contact:

Re: NO_ACCESS_ATTACHMENT Error when admin wants to edit post with attachment

Post by RMcGirr83 » Mon Jan 14, 2013 5:56 pm

It is probably due to the update attachment mod. https://www.phpbb.com/customise/db/mod/ ... ttachment/ as that is a known issue with that mod.
Do not hire Christian Bullock he won't finish the job and will keep your money

Post Reply