Attachments are Uploading but Not Appearing
I was running 6.3, but had problems since attachments were appearing to upload to pages (I could see the upload progressing) but then did not actually appear on the page itself. Once the file is "uploaded", the message "No such attachment on this page" appears in place of the link once the page is saved or previewed. I have upgraded to 8.3 to see if this caused an issue, but noticed PHP errors on upgrading the database. I re-ran the upgrade after doing a CHMOD to the /tmp directory that appeared to have caused some problem, and am still getting PHP errors:
PHP (5.2.9) ERROR (E_WARNING):
File: lib/init/tra.php
Line: 57
Type: Invalid argument supplied for foreach()
PHP (5.2.9) ERROR (E_WARNING):
File: installer/tiki-installer.php
Line: 215
Type: posix_getpwuid() has been disabled for security reasons
PHP (5.2.9) ERROR (E_WARNING):
File: installer/tiki-installer.php
Line: 217
Type: posix_getpwuid() has been disabled for security reasons
The files still do not appear. I am storing them in the database rather than in a separate directory. I have also spoken to the host company about their PHP restriction on posix_getpwuid to see if re-upgrading the database will fix this. Could this be a different issue, though? I have checked the settings under admin, and under older versions of the wiki, the uploads worked without a problem, and I hadn't changed the permissions since then.
Thanks for any suggestions. If you want to try the wiki, it is the Secondary Mathematics Teaching Wiki![]()