HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Problem with clean up tools

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#74624 (In Topic #15531)
Avatar

Well-settled

I ran the clean up tools and I got lots of errors:

with files (attachments)

but also failed to complete the cleanup.


An error has occurred

The website software cannot access the file from the given URL (http://www.dailychat.co.uk/uploads/attachments/4e190bb27fae7.png). If this file was just uploaded, then there may be an issue with a .htaccess file or the temporary directory file permissions. (version: 7.1.4, PHP version: 5.2.17, URL: /adminzone/index.php?page=admin_cleanup&type=rebuild&keep_fatalistic=1)

You have turned on stack traces for all errors, via having keep_fatalistic=1 in the URL. This means that this may not actually be a fatal error, you have just asked for it to be presented as such (perhaps to help you find where it came from).

Here is the stack trace:

Below is a stack trace revealing the state the software was in when the error occurred. If this represents a bug in the unmodified software, you may want to check ocPortal website for a fix, and if there isn't one, report this as a bug. Please note that merely posting a stack trace is not sufficient for us to solve your problem; the stack trace is just an aid that presents us with additional information. We still need to know the error message, what you tried to do, how you tried to do it, version numbers, and any other appropriate information.
We apologise for this problem and if it's a bug we hope you will work with us so that we can fix it for you promptly.

File'/home/dailycha/public_html/sources/failure.php'
Line'674'
Function'get_html_trace'
Args 

File'/home/dailycha/public_html/sources/global2.php'
Line'965'
Function'_fatal_exit'
Argsobject


File'/home/dailycha/public_html/sources/site.php'
Line'228'
Function'fatal_exit'
Argsobject


File'/home/dailycha/public_html/sources/images.php'
Line'535'
Function'attach_message'
Argsobject

'warn'


File'/home/dailycha/public_html/sources/images.php'
Line'374'
Function'convert_image'
Args'http://www.dailychat.co.uk/uploads/attachments/4e190bb27fae7.png'

'/home/dailycha/public_html/uploads/attachments_thumbs/4e190bb27fae7.png'

200

-1

-1

false


File'/home/dailycha/public_html/sources/attachments.php'
Line'392'
Function'ensure_thumbnail'
Args'uploads/attachments/4e190bb27fae7.png'

'uploads/attachments_thumbs/4e190bb27fae7.png'

'attachments'

'attachments'

30

'a_thumb_url'


File'/home/dailycha/public_html/sources/comcode_renderer.php'
Line'1,284'
Function'render_attachment'
Args...NULL

2

false


File'/home/dailycha/public_html/sources/comcode_text.php'
Line'1,306'
Function'_do_tags_comcode'
Args...'
Attachment
» Download: find_info.php (33 Bytes)
;)'

false

false

false

NULL

NULL

false

false


File'/home/dailycha/public_html/sources/comcode_renderer.php'
Line'202'
Function'comcode_text_to_tempcode'
Args...false

false

false

false

false

NULL

NULL


File'/home/dailycha/public_html/sources/comcode.php'
Line'189'
Function'_comcode_to_tempcode'
Args'
Attachment
» Download: find_info.php (33 Bytes)
;)'

2

false

60

NULL

NULL

false

false

false

false

false

NULL

NULL


File'/home/dailycha/public_html/sources/hooks/modules/admin_cleanup/broken_urls.php'
Line'106'
Function'comcode_to_tempcode'
Args'
Attachment
» Download: find_info.php (33 Bytes)
;)'

2


File'/home/dailycha/public_html/sources/view_modes.php'
Line'512'
Function'run'
Class'Hook_broken_urls'
ObjectHook_broken_urls::__set_state(array( ))
Type'->'
Args 

File'/home/dailycha/public_html/adminzone/pages/modules/admin_cleanup.php'
Line'185'
Function'ocportal_cleanup'
Args...

File'/home/dailycha/public_html/adminzone/pages/modules/admin_cleanup.php'
Line'103'
Function'do_rebuild'
Class'Module_admin_cleanup'
ObjectModule_admin_cleanup::__set_state(array( ))
Type'->'
Args 

File'/home/dailycha/public_html/sources/zones.php'
Line'386'
Function'run'
Class'Module_admin_cleanup'
ObjectModule_admin_cleanup::__set_state(array( ))
Type'->'
Args 

File'/home/dailycha/public_html/sources/site.php'
Line'967'
Function'load_module_page'
Args'adminzone/pages/modules/admin_cleanup.php'

'admin_cleanup'


File'/home/dailycha/public_html/sources/site.php'
Line'750'
Function'request_page'
Args'admin_cleanup'

true


File'/home/dailycha/public_html/adminzone/index.php'
Line'51'
Function'do_site'
Args 

Parameters

label_for__criticise_mysql_fields
Correct MySQL schema issues
criticise_mysql_fields
1
tick_on_form__criticise_mysql_fields
0
require__criticise_mysql_fields
0
label_for__page_stats
Delete page access statistics
tick_on_form__page_stats
0
require__page_stats
0
label_for__mysql
Optimise/fix database tables
mysql
1
tick_on_form__mysql
0
require__mysql
0
label_for__broken_urls
Broken URLs
broken_urls
1
tick_on_form__broken_urls
0
require__broken_urls
0
label_for__image_thumbs
Image thumbnails
image_thumbs
1
tick_on_form__image_thumbs
0
require__image_thumbs
0
label_for__ocf_topics
Topics
ocf_topics
1
tick_on_form__ocf_topics
0
require__ocf_topics
0
label_for__blocks
Block cache
blocks
1
tick_on_form__blocks
0
require__blocks
0
label_for__stats
Statistics cache
stats
1
tick_on_form__stats
0
require__stats
0
label_for__templates
Template cache
templates
1
tick_on_form__templates
0
require__templates
0
label_for__language
Language cache
language
1
tick_on_form__language
0
require__language
0
label_for__ocf_members
Members
ocf_members
1
tick_on_form__ocf_members
0
require__ocf_members
0
label_for__comcode_pages
Comcode pages
comcode_pages
1
tick_on_form__comcode_pages
0
require__comcode_pages
0
label_for__ocf
Forums
ocf
1
tick_on_form__ocf
0
require__ocf
0
label_for__admin_theme_images
Theme images
admin_theme_images
1
tick_on_form__admin_theme_images
0
require__admin_theme_images
0
label_for__comcode
Comcode field pre-calculations
comcode
1
tick_on_form__comcode
0
require__comcode
0
Back to the top
 
Posted
Rating:
#74684
Avatar

If the file really has gone missing...


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#74700
Avatar

Well-settled

I'm sorry???

What can be done..?
Back to the top
 
Posted
Rating:
#74702
Avatar

I can see the code is just attaching a warning about the file to the output, but you've opted to show a stack trace from that. It's not actually a critical error.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#74703
Avatar

Well-settled

Ooh, thanks, but it didn't complete the clean up….
Back to the top
 
Posted
Rating:
#74704
Avatar

It's best not to tick all the options at once. Particularly 'broken link' checking could be too slow to complete on servers/sites. But it's not all that useful so I'd ignore that.


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#74705
Avatar

Well-settled

Ok, thanks =)
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: