Announcement

Collapse
No announcement yet.

Move attachments out of database

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #61
    I also had the problem while transfering attachments - The process would stop now and then due to the attachments of users that were deleted...

    Here is where the script is choking...

    PHP Code:
     if (!($path verify_attachment_path($attachment['userid'], $attachment['attachmentid']))) 

    print_stop_message('error_writing_x'$path); 
    It only prints that error message in one place. And one of the conditions that will cause it is a bad userid.

    I ran a query:
    PHP Code:
    delete from attachment where userid=0
    It took out 10 bad ones and then it worked. Transfer went on without a glitch.

    Thanks to F5Hosting.com support for fixing this problem.

    Comment

    widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
    Working...
    X