Loading...
 
Skip to main content

Architecture / Installation


Missing Attach link

This should be easy, but I have spent hours on this w/o finding the problem.

We have a recent tikiwiki installation. Our tiki has the following links on the bottom:
edit
remove
rename
lock
perms
history
similar
But it is missing the all-important 'attach file' link.
I've set up group permissions to view and admin attached files and to attach files. I've set the users to be members of this group.
I've inspected the .tpl file to see if there is some other property or preference that I need to set in order to make this link appear, but I see nothing there that gives me a clue to what is wrong.

Where should I look ofr this problem?

thanks in advance,

Fran

Did you activate wiki page attachments on Administration: Wiki Attachments (tiki-admin.php?page=wikiatt)?

-- Gary - zukakakina.comQuestion

Hi Chibaguy,

Thanks, very much - that solved my problem. Can you tell me where this is documented? It doesn't show up in any of my wiki admin menus:
Admin home
Admin mods
Backups
Cache
Content templates
Cookies
DSN
Edit templates
External wikis
Groups
Hotwords
Links
Mail notifications
Menus
Modules
QuickTags
RSS modules
Search stats
Security Admin
System Admin
Theme control
Tiki Logs
Users
phpinfo
And I didn't turn it up anywhere else I had looked. Maybe I just need to pointed to the right place(s) to look.

Now I'm having an additional problem. 😑 Files uploaded are not properly recognized and handled when downloaded. I've experimented with .pdf's, .gif's and .xls's. The first to were considered corrupted by viewing applications. Excel tried to interpret the .xls document as a CSV file.
I tried the upload/download process from within IE in Windows and from within Safari on the Mac.

Thanks in advance,


Frank

> Thanks, very much - that solved my problem. Can you tell me where this is documented? It doesn't show up in any of my wiki admin menus:
...

I guess its location is not so obvious because it's not a separate menu item; it's part of the Administration: Wiki page (tiki-admin.php?page=wiki), under the "Wiki Administration" heading ("Manage attachment preferences").

This is documented hereQuestion.


> Now I'm having an additional problem. 😑 Files uploaded are not properly recognized and handled when downloaded. I've experimented with .pdf's, .gif's and .xls's. The first to were considered corrupted by viewing applications. Excel tried to interpret the .xls document as a CSV file.
> I tried the upload/download process from within IE in Windows and from within Safari on the Mac.

Sorry, I can't help you there. I haven't had this trouble myself and am not aware of any general problems in this area. Maybe someone else can help.

-- GaryQuestion

Thanks.

Research continues on my other problem.

Frank

> > Thanks, very much - that solved my problem. Can you tell me where this is documented? It doesn't show up in any of my wiki admin menus:
> ...
>
> I guess its location is not so obvious because it's not a separate menu item; it's part of the Administration: Wiki page (tiki-admin.php?page=wiki), under the "Wiki Administration" heading ("Manage attachment preferences").
>
> This is documented hereQuestion.
>
>
> > Now I'm having an additional problem. 😑 Files uploaded are not properly recognized and handled when downloaded. I've experimented with .pdf's, .gif's and .xls's. The first to were considered corrupted by viewing applications. Excel tried to interpret the .xls document as a CSV file.
> > I tried the upload/download process from within IE in Windows and from within Safari on the Mac.
>
> Sorry, I can't help you there. I haven't had this trouble myself and am not aware of any general problems in this area. Maybe someone else can help.
>
> — GaryQuestion

> > Now I'm having an additional problem. 😑 Files uploaded are not properly recognized and handled when downloaded. I've experimented with .pdf's, .gif's and .xls's. The first to were considered corrupted by viewing applications. Excel tried to interpret the .xls document as a CSV file.
> > I tried the upload/download process from within IE in Windows and from within Safari on the Mac.

I am also having file corruption in files attached to wiki pages. I am using Firefox on Linux, Firefox on Windows2000, and Internet Explorer on Windows2000. All see corruption in the downloaded file. It seems to be related to the file's extension, because for me .pdf-s are all OK, some .txt-s are OK and some not, and no .tgz is OK. I have checked the file on disk (attached files are configured to be stored in a directory), and the file on disk is OK. So it is definitely the download operation. I get identical results using the attached-files list at the bottom or a wikisyntax reference to the file.

This makes attached files essentially useless becuase they cannot be dependent on.

This must be a configuration issue of some sort. If everyone were having this problem it would be widely reported. Unlike yourself, the pdf's are unreadable as well.
I will do some experiments with .txt files and see if I can spot the nature of the corruption. (The file size is correct)

Frank

>
> I am also having file corruption in files attached to wiki pages. I am using Firefox on Linux, Firefox on Windows2000, and Internet Explorer on Windows2000. All see corruption in the downloaded file. It seems to be related to the file's extension, because for me .pdf-s are all OK, some .txt-s are OK and some not, and no .tgz is OK. I have checked the file on disk (attached files are configured to be stored in a directory), and the file on disk is OK. So it is definitely the download operation. I get identical results using the attached-files list at the bottom or a wikisyntax reference to the file.
>
> This makes attached files essentially useless becuase they cannot be dependent on.

Upon looking at uploaded/downloaded text files, this appears to be a carriage/return linefeed issue. I suspect that if I uploaded to tikiwiki from a linux desktop that it would download fine.
Unfortumately, I have not yet found any admin settings for handling CR/LF in attachments.

Frankk

> This must be a configuration issue of some sort. If everyone were having this problem it would be widely reported. Unlike yourself, the pdf's are unreadable as well.
> I will do some experiments with .txt files and see if I can spot the nature of the corruption. (The file size is correct)
>
> Frank
>
> >
> > I am also having file corruption in files attached to wiki pages. I am using Firefox on Linux, Firefox on Windows2000, and Internet Explorer on Windows2000. All see corruption in the downloaded file. It seems to be related to the file's extension, because for me .pdf-s are all OK, some .txt-s are OK and some not, and no .tgz is OK. I have checked the file on disk (attached files are configured to be stored in a directory), and the file on disk is OK. So it is definitely the download operation. I get identical results using the attached-files list at the bottom or a wikisyntax reference to the file.
> >
> > This makes attached files essentially useless becuase they cannot be dependent on.