Skip to main content
Document upload issues
Admin
Issue title: Unable to upload document from admin info tab
replicate issue steps
- Navigate to admin info tab
- click on any of the upload buttons at the bottom
- try to attach existing or upload new file
- page might throw error or just reload without attaching the file
The problem is also described as:
- upload issue
- can't upload file
- upload pages is breaking
- document upload bug
- document upload issue
- document upload showing error
- document upload not working
Reports and pages commonly impacted:
- upl2.php
- uplins.pl
- TBRAdmin
- ProjAdmin
- configuration files for upload buttons
The desired customer outcome (what and why):
- remove the error message
- uploaded file should be showing normally
Clarification / information needed to diagnose the problem:
- make sure both attach and upload are working not just one of them

- make sure issue doesn't exist for different services
Potential causes and troubleshooting
- in case of error showing up
Mostly its either database error or query didn't return data - for example this error "Notice: Undefined offset: 1 in C:\CDS\cities\svale\upl2.php on line 469"
- this is happening because its trying to fetch property from progs table while it should be in projs table
- in this case it was this condition if ($svc == "MFR") its missing ( || $svc == "TBR" ) once added code works fine
- case document not being uploaded
- check uplins.pl or upld.pl
- sometime the request is sent without enctype='multipart/form-data'
- which causes the document to be sent empty hence no file uploaded
- check f1 value
- this is mainly in url notice &f1=71

- a rule of thumbs f1 should be less than f3
- this can be found inside configuration files for example for this TBRA property

- configuration file is rptname in url find the document that is failing to upload and make sure its f1 is less than f3
Comments
0 comments
Please sign in to leave a comment.