No announcement yet.

attachment issues

  • Filter
  • Time
  • Show
Clear All
new posts

  • attachment issues

    It has come to my attention that some of the attachments on the forum are broken after multiple server migrations.

    This is the error msg we get while trying to open some of the older attachments:
    Warning: fopen(/home/acbs/public_html/attachments/1/9/8/1049.attach) [function.fopen]: failed to open stream: No such file or directory in [path]/attachment.php on line 283
    Is there anything I could do ? And how to fix it if possible

  • #2
    It seems your attachments were stored in the file system, did you make sure you copied them over when you changed servers? Just copying the database wouldn't have brought the attachments.


    • #3
      yes I had zipped/rar the attachments folder and untarred on my new servers.
      But yeah, I had made the change of storing attachments from db into file to decrease loads on the server. But that was long ago, I don't know how long we are having this error but only for certain files we have this error, rest of them dating more than 3yrs old are also opening up fine.


      • #4
        Verify via FTP if the file /home/acbs/public_html/attachments/1/9/8/1049.attach actually exists.


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