Jump to content

robertd

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

robertd's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. First of all I am not a programmer, just a technical professional, i.e. network admin. I run a large vBuletin board on a dedicated Linux server (7 years old) and I am capable of editing PHP code, but not writing anything from scratch...here is my issue: I have a problem with some missing attachments...Is there a way to put a if/then or else in the PHP code so that when the attachment is missing I can return something other than this error: Warning: fopen(/home/admin/attachments/2/5283.attach) [function.fopen]: failed to open stream: No such file or directory in /attachment.php on line 203 That is what you get when you click the attachment link in a post where the actual file is missing. I would just like to have it give a message like: this attachment is no long available, or something like that on a standard vB page so it does not look like the board is messed up. Thank for anyone that can/will help me!
  2. First of all I am not a programmer, just a technical professional, i.e. network admin. I run a large vBuletin board on a dedicated Linux server (7 years old) and I am capable of editing PHP code, but not writing anything from scratch...here is my issue: I have a problem with some missing attachments...Is there a way to put a if/then or else in the PHP code so that when the attachment is missing I can return something other than this error: Warning: fopen(/home/admin/attachments/2/5283.attach) [function.fopen]: failed to open stream: No such file or directory in /attachment.php on line 203 That is what you get when you click the attachment link in a post where the actual file is missing. I would just like to have it give a message like: this attachment is no long available, or something like that on a standard vB page so it does not look like the board is messed up. Thank for anyone that can/will help me!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.