Page 1 of 1

Orphaned Attachments will not delete

Posted: Mon Oct 28, 2013 7:36 am
by skybound
phpBB version 3.0.12
MySQL 5.1.72-2-log

I have slipped a little and ended up with just short of 1200 orphaned attachments. When I select the mark all to delete and submit - the page just refreshes and does not delete any of the orphans.

Thinking that it may have been the volume I tried to do 1 single file in the list - and it too will not delete.

Tried attaching 1 file to a post to see if that would help - also no luck.

Have tried via two separate machines, on two different ISPs and that too did not help.

Any ideas as to what I can look at to delete my orphans?

Re: Orphaned Attachments will not delete

Posted: Tue Nov 05, 2013 9:55 am
by skybound
Any ideas on how I can manually sort this issue out?

Re: Orphaned Attachments will not delete

Posted: Tue Nov 05, 2013 10:21 am
by Oyabun1
Please fill out the Support Request Template and post it back here to enable us to assist you better.

Also, how did you end up with 1200 orphaned attachments?

Re: Orphaned Attachments will not delete

Posted: Tue Nov 05, 2013 10:55 am
by skybound
We have a busy board - we do just on 15million pages/month (AWStats). One of our sections is a photography section and many posts are orphaned there. Also a busy classifieds section. Normally do the clearing weekly - but been a little busy, so slipped by.

Support Request Template
What version of phpBB are you using? phpBB 3.0.12
What is your board's URL? http://avcom.co.za
Who do you host your board with? Hetzner Germany - Dedicated server
How did you install your board? I used the download package from phpBB.com
What is the most recent action performed on your board? Update from a previous version of phpBB3
Is registration required to reproduce this issue? Yes
Do you have any MODs installed? Yes
What version of phpBB3 did you update from? phpBB 3.0.11
What MODs do you have installed? Advertisment Management
FAQ Manager
Pages
Anti-Spam by EXreaction
Email on Birthday
Forum Runner
Global Announcements on Index
Posting template
What styles do you currently have installed? prosilver
What language(s) is your board currently using? English
Which database type/version are you using? MySQL 5
What is your level of experience? Comfortable with PHP and phpBB
What username can be used to view this issue? No answer given
What password can be used to view this issue? No answer given
When did your problem begin? Just before upgrade to .12
Please describe your problem. I have slipped a little and ended up with just short of 1200 orphaned attachments. When I select the mark all to delete and submit - the page just refreshes and does not delete any of the orphans.

Thinking that it may have been the volume I tried to do 1 single file in the list - and it too will not delete.

Tried attaching 1 file to a post to see if that would help - also no luck.

Have tried via two separate machines, on two different ISPs and that too did not help.

Any ideas as to what I can look at to delete my orphans?
Generated by SRT Generator

Re: Orphaned Attachments will not delete

Posted: Tue Nov 12, 2013 9:00 am
by skybound
Now up to 1305 orphans :oops:

Assume to try problem solve - code is in acp_attachments and specifically following the
case 'orphan':
if ($submit)

Will start reading through to see if I can problem solve.

Re: Orphaned Attachments will not delete

Posted: Thu Apr 10, 2014 1:53 am
by mentaldev
Hi,

I know this is an old thread but I have the exact same issue and wondering if you found a solution?

Cheers, Jason

Re: Orphaned Attachments will not delete

Posted: Thu Apr 10, 2014 2:02 am
by Marshalrusty
If you haven't modified the attachment functionality in any way and don't mind giving me access to your server, I wouldn't mind taking a look to see what's going on. Could be a bug related to some specific server configuration.

Re: Orphaned Attachments will not delete

Posted: Fri Dec 30, 2016 10:07 am
by Zunflappie
I know its an old topic, but I have the same.
No changes made in de attachment-code-stuff.
Version of phpBB 3.1.10

Cant remove them... I can select them all, and chose to delete, but only thing happend is page-refresh without action.

Re: Orphaned Attachments will not delete

Posted: Fri Dec 30, 2016 3:31 pm
by stevemaury
Please start your own topic in the proper forum - 3.1.x Support.