File links broken after upgrade

Helpdesk for my helpdesk software

Moderator: mkoch227

Post Reply
ckempter
Posts: 6
Joined: Tue Feb 25, 2014 5:14 pm

File links broken after upgrade

Post by ckempter »

I recently upgraded to the latest version of Hesk and have found that any file link in my knowledgebase has been broken and I get the message:
This file has been deleted from the server and is no longer available for download

What has happened? Where do I find those files?

Thanks for any and all help
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: File links broken after upgrade

Post by Klemen »

Upgrades never delete any files.

What exact version did you upgrade from and what version to?
Did you make any manual changes/maintenance in your "attachments" folder?
Can we see your help desk?
Can we see your phpinfo?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ckempter
Posts: 6
Joined: Tue Feb 25, 2014 5:14 pm

Re: File links broken after upgrade

Post by ckempter »

Thanks for the quick reply:
Upgraded from 2.6.8 to 3.10
Didn't touch attachments folder
********************
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: File links broken after upgrade

Post by Klemen »

I'll look at it later, but please don't post your passwords publicly!!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: File links broken after upgrade

Post by Klemen »

I added a test (private) article and attachments work fine.

This means the old attachments are missing (or unreadable). Are there any files visible in your "attachments" folder?

Did you upgrade 2.6.8 over existing files, or did you make copies?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ckempter
Posts: 6
Joined: Tue Feb 25, 2014 5:14 pm

Re: File links broken after upgrade

Post by ckempter »

I have a copy of the old version which has many files in the attachments folder
The upgrade version has no files in the attachments folder. Is it a simple copy?
Klemen
Site Admin
Posts: 10142
Joined: Fri Feb 11, 2005 4:04 pm

Re: File links broken after upgrade

Post by Klemen »

Yes, copy. Depending on your server set up, you may need to additionally change CHMOD and/or owner/group permissions of the files if you have trouble reading or deleting old files from within Hesk.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
ckempter
Posts: 6
Joined: Tue Feb 25, 2014 5:14 pm

Re: File links broken after upgrade

Post by ckempter »

Thanks. Solved.
Post Reply