Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: Document Upload problem

  1. #1
    guptajee is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    18

    Exclamation Document Upload problem

    OK Guys, What am I missing here.


    I login to Sugar, and I upload a document. And then no Document shows up? I click on view document and there is no document. What to do?


    Thank you in advance

  2. #2
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Question Re: Document Upload problem

    Does the listing show up but you can't see view the document or does nothing show up?

    What kind of document?

    What versions (SugarCRM and Browser)?
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  3. #3
    guptajee is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    18

    Default Re: Document Upload problem

    The listing shows up, it says downlload file and there is no file listed

    Infact there is a view icon in the listing but it gives error 404 when i try to open it


    BTW thanx a lot for your help in the earlier matter!

    ===


    As matter of fact,it is the sugar user admin pdf guide , if you wanna try it out
    Last edited by guptajee; 2006-01-12 at 02:45 PM. Reason: Forgot to mention what kind of document

  4. #4
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Wink Re: Document Upload problem

    1. What is in your cache/upload directory and what are it's permissions?
    2. no prob on the earlier thing whatever it was
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  5. #5
    guptajee is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    18

    Default Re: Document Upload problem

    The upload directory contains index.html which says this directory must be writable by the webserver user.


    Attached is the jpeg of my permissions window for the upload dir
    Attached Images Attached Images  

  6. #6
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Talking Re: Document Upload problem

    Wow, someday I gotta learn windows. No idea if those permissions are OK. The fact that there is not a file in the upload directory leads me to believe that you have a permission problem somewhere.

    Do you have logging set up? If so look there for an error message about the upload. If not edit your log4php.properties file in the root SugarCRM directory and change it to this

    Code:
    log4php.appender.A2=LoggerAppenderRollingFile
    log4php.appender.A2.MaxFileSize=10MB
    log4php.appender.A2.MaxBackupIndex=5
    log4php.appender.A2.layout=LoggerLayoutTTCC
    log4php.appender.A2.layout.ContextPrinting="true"
    log4php.appender.A2.layout.DateFormat="%c"
    log4php.appender.A2.File=./sugarcrm.log
    
    //log4php.rootLogger=fatal, A2
    //log4php.rootLogger=error, A2
    //log4php.rootLogger=info, A2
    log4php.rootLogger=debug, A2
    REMEMBER to change it back later or your log will be HUGE
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  7. #7
    guptajee is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    18

    Default Re: Document Upload problem

    Well, I will need to read more or get further explanation on how to do that from you . I m not a programmer OK another interesting thing is that when i upload a smaller file,say 200 kb,I can see it just fine, and it shows up in the upload directory. Could it be that there is some kinda file size limit going on?

  8. #8
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Document Upload problem

    Quote Originally Posted by guptajee
    Well, I will need to read more or get further explanation on how to do that from you . I m not a programmer OK another interesting thing is that when i upload a smaller file,say 200 kb,I can see it just fine, and it shows up in the upload directory. Could it be that there is some kinda file size limit going on?
    just edit it, it's just a text file.

    OK yes, in the php.ini file there is a upload size setting, How big is the PDF file?
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

  9. #9
    guptajee is offline Sugar Community Member
    Join Date
    Jan 2006
    Posts
    18

    Default Re: Document Upload problem

    I changed the upload file limit in the php file to 10mb and now this is what I get


    Fatal error: Maximum execution time of 30 seconds exceeded in C:\Program Files\SugarCRM\oss\httpd\htdocs\SugarCRM\index.php on line 30


    Now i searched this file and i could not figure out what option to change


    Thanks

  10. #10
    kbrill's Avatar
    kbrill is offline SugarCRM PS Engineer
    Join Date
    Jul 2004
    Location
    St Louis, MO
    Posts
    3,183

    Default Re: Document Upload problem

    did you reboot?

    you can also change the timeout in php.ini

    how big is the PDF?
    Kenneth Brill - Help Forum Moderator

    I do not respond to 'Private Messages'. Please email me directly instead

    When asking for help, PLEASE give us your Server Information and Version Numbers as asked for on the 'Post New Message' screen as well as any JavaScript errors shown at the bottom of the browser window.
    Help us Help You

Page 1 of 3 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •