Files-Problem

Tagged:  

Hello everybody, i love project pier and i have tested the activecollab to version 0.7.1. so far so good. yesterday i've installed project pier. everything works fine. but in the projects, when i go to the files i get a blank page without css-styles an just the code of

<div id="files">
<div class="filesOrderAndPagination">
  <div class="filesOrder">
    <span>Sortieren nach:</span>
    <a href=".../index.php?c=files&amp;a=index&amp;active_project=1&amp;order=name&amp;page=1">Dateiname (A-Z)</a> | <a href=".../index.php?c=files&amp;a=index&amp;active_project=1&amp;order=created_on&amp;page=1" class="selected">Datum und Uhrzeit</a>
  </div>
  <div class="filesPagination">
<div class="advancedPagination">

<span>Seite:</span>
<span>(1)</span>
</div>
  </div>
</div><h2>Wednesday, 21 November</h2>
<div class="filesList">
  <div class="listedFile even">
    <div class="fileIcon"><b><img src="</b>

Everytime it breaks down by the img-tag.
Someone an idea?
Sorry about my bad english.

Maybe somethings wrong with the:
<?php echo $file->getTypeIconUrl() ?>
in the file_detailles.php

The function getTypeIconUrl is listed in the
ProjectFile.class.php in Line 172

Or could it be, that some directory did'nt have the permission-rights to write the icon?

This is not an error I have seen come up before, and the files sections works fine when I am using it. Perhaps there was an error in your installation or you got a corrupt copy of the files. Can you try getting a fresh copy of the files and doing a fresh install? If that doesn't work, please post more details about your setup environment.

Okay, it works. Maybe an error when i updatet from activecollab to project pier. Thank you very much.

My page source is identical to the original problem report.

I have a very fresh copy of ProjectPier 0.8.0.3 which is fully working except for this FILES display problem. (The only previous problems were the "unable to create folders" problem and wanting to upload files up to 20MB, not just 2MB. I found other solutions for those two problems in this forum and solved them.)

I know that I can upload files because I have successfully uploaded a 3.5Mb PDF file in one project. But in a second project, I uploaded a 2.8Mb JPG file and although it seems to be uploaded correctly (the proof being it shows up in the Important Files list), when I try to display the FILES list in the project with the JPG, I get a partial page displayed, broken right at the IMG tag.

So, in one project clicking on the FILES tab works great, and in another project in the same installation, clicking on the FILES tab displays the broken page.

Suggestions?

Thanks for any help you can give,
Mark Batten-Carew

Hi Mark,

I would have to look into it more but the first thing that comes to mind since you mentioned a problem with a JPG was that maybe there was a problem during the creation of the thumbnail of the image, then when the page is displayed, the thumbnail can't be found and it dies improperly.

Are you able to reproduce systematically with the image? only this specific image? Is it an image that you would be able to share here?

Tim

There are several reasons why something fails. Its hard to say why or what without digging into your server.
Please send personal note for additional support.

Hi Mark,

I dug up these three topics:
http://projectpier.org/node/863
http://projectpier.org/node/1256
http://projectpier.org/node/1093

A 2.8MB JPEG file is actually pretty big so I wouldn't be surprised if it was related to the same issue.

Tim