Page 1 of 1

Filemanager creates extra php line

Posted: Sat Mar 21, 2015 2:41 am
by stfn
After several uploads the filemanager creates spontaneous an extra <?php } ?> on line 77. With this extra line of PHP you can't upload any image anymore.

This happens in:
/system/modification/admin/view/template/common/filemanager.tpl

Delete the line of code and it will work fine again. The problem is, this seems to happen random (after x amount of uploads, I don't know how many). Seems like a bug.

Anyone else got this issue?

Re: Filemanager creates extra php line

Posted: Sat Mar 21, 2015 3:34 pm
by fido-x
You have an OCMOD .xml file that is modifying the filemanager's template file. That is where your problem is. It's the modification to the filemanager that is causing the problem. This is evidenced by the path to the file that you gave "system/modification/admin/view/template/common/filemanager.tpl".

Simple solution: clear your modification cache and track down which OCMOD .xml file is modifying the filemanager's template file.

Re: Filemanager creates extra php line

Posted: Mon Feb 15, 2016 5:16 pm
by stfn
A bit late, but thanks for your feedback ;)