Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Changing attachment size: XML Parsing Error:

Support
Nadeesha
2008-02-07
2013-06-05
  • Nadeesha
    Nadeesha
    2008-02-07

    Hi,

    Hi,

    I tried changing the maximum attachment and photo size by editing the code in the following files;

    Code:
    <input type="hidden" name="MAX_FILE_SIZE" value="1048576" /> changed to <input type="hidden" name="MAX_FILE_SIZE" value="2048576" />

    File Attachments - /OrangeHRM/templates/hrfunct/hrempattachment.php
    Photo Attachment - /OrangeHRM/templates/hrfunct/photohandler.php

    I got the following error when I tried uploading a 1.7MB attachment in the PIM;

    XML Parsing Error: not well-formed
    Location:http://localhost/orangehrm-2.2.2.2/lib/controllers/CentralController.php?id=001&reqcode=EMP&capturemode=updatemode
    Line Number 11, Column 7:

    It uploads files under 1MB fine, even after the change. Has anyone had this error?

    Regards,
    Majdi

     
    • teresa
      teresa
      2009-06-24

      over a year later .... any update on this?

       
  • Hello Majdi,

    Thank you for your interest in OrangeHRM. You will be answered shortly by one of our support engineers.

    Regards,
    Nadeesha Dharmasiri
    Community Representative
    OrangeHRM Inc.
    Telephone:
    +1-914-458-4254 (USA)
    +94-722-451-553 (Asia)
    Web: www.orangehrm.com

    538 Teal Plaza
    Secaucus NJ 07094
    Open Source HR Management

     
  • Hi Team,

    Even i am experience the same problem, Any update on the above mentioned issue.

    Please suggest me.

    Regards,
    Narendran Srinivasan
    9941964931