Orphaned Attachments will not delete

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Suggested Hosts
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
skybound
Registered User
Posts: 200
Joined: Wed Nov 12, 2003 7:11 am
Location: Port Elizabeth - South Africa
Contact:

Orphaned Attachments will not delete

Post 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?
skybound
Registered User
Posts: 200
Joined: Wed Nov 12, 2003 7:11 am
Location: Port Elizabeth - South Africa
Contact:

Re: Orphaned Attachments will not delete

Post by skybound »

Any ideas on how I can manually sort this issue out?
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill

Re: Orphaned Attachments will not delete

Post 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?
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
skybound
Registered User
Posts: 200
Joined: Wed Nov 12, 2003 7:11 am
Location: Port Elizabeth - South Africa
Contact:

Re: Orphaned Attachments will not delete

Post 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
skybound
Registered User
Posts: 200
Joined: Wed Nov 12, 2003 7:11 am
Location: Port Elizabeth - South Africa
Contact:

Re: Orphaned Attachments will not delete

Post 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.
mentaldev
Registered User
Posts: 4
Joined: Mon Apr 14, 2008 9:01 pm

Re: Orphaned Attachments will not delete

Post 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
User avatar
Marshalrusty
Project Manager
Project Manager
Posts: 29334
Joined: Mon Nov 22, 2004 10:45 pm
Location: New York City
Name: Yuriy Rusko
Contact:

Re: Orphaned Attachments will not delete

Post 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.
🇺🇦 Made in Ukraine, exported to the USA 🇺🇸

Have comments/praise/complaints/suggestions? Please feel free to PM me.

Need private help? Hire me for all your phpBB and web development needs
Zunflappie
Registered User
Posts: 10
Joined: Sat Nov 27, 2010 10:59 am

Re: Orphaned Attachments will not delete

Post 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.
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52767
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: Orphaned Attachments will not delete

Post by stevemaury »

Please start your own topic in the proper forum - 3.1.x Support.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
Locked

Return to “[3.0.x] Support Forum”