1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Import from uploaded XML file stuck

Discussion in 'Troubleshooting and Problems' started by Kcirtap, Oct 11, 2014.

  1. Kcirtap

    Kcirtap New Member

    I've recently (as in less than an hour ago) installed xF on my new webhost. For some reason when I try to upload the XML via the ACP option shown in the title, it gets stuck at 76% and just stalls then after a couple of seconds, I get this
    [​IMG]
    I've tried re-downloading the theme several times. I can't figure out what the problem is. Any help would be appreciated. Thanks

    EDIT: I figured I should add that the style I'm attempting to import is UI.X -> https://xenforo.com/community/resources/ui-x.2239/updates
     
  2. Amaury

    Amaury Well-Known Member

    You'll need to post in the style thread if you want support.
     
  3. Tracy Perry

    Tracy Perry Well-Known Member

    Actually, that's probably more a server related issue with PHP timing out.

    To the OP, is this on a shared hosting environment or a VPS/Dedicated server?
     
    Glockie and Kcirtap like this.
  4. Kcirtap

    Kcirtap New Member

    It's shared hosting with Network solutions. I think I can change whatever setting is necessary, but I haven't the foggiest idea of what could be causing it to stop uploading at 76%..
     
  5. Tracy Perry

    Tracy Perry Well-Known Member

    Some of the php.ini settings that might be involved will probably not be able to be changed by you.
    One of which will probably need to be modified is the
    max_execution_time =
    which defaults to 60.

    There are a few other settings that could be involved also. It depends on what is set as default on your shared host.
     
  6. Kcirtap

    Kcirtap New Member

    Well I've got full access to my particular php.ini. Is that the correct file where I'd replace/check those values?
     
  7. Tracy Perry

    Tracy Perry Well-Known Member

    If you have full access to the php.ini (which would be a tad unusual on a shared hosting environment as there are aspects of that which could cause problems (performance and security vulnerabilities) then you just find the current one and change to something like 180-300 temporarily to see if it resolves the issue.
     
  8. Kcirtap

    Kcirtap New Member

    [​IMG]

    ^That is what you're talking about right?
     
  9. Tracy Perry

    Tracy Perry Well-Known Member

    Tthat's a typical one on cPanel setup.. the actual one on my server(s) is around 2100 lines of data in them and 72.7k in size... so much larger. You can see if putting max_execution_time = 180 in that file will work... there may also be a cPanel setting that will allow you to adjust that within reason (depends on how the host has it set up).
     
    Kcirtap likes this.
  10. Kcirtap

    Kcirtap New Member

    I haven't been using cPanel, I've been using Filezilla for just about everything I need. I'm not even sure if this hosting plan offers cPanel, but I'll try looking around. Thanks a lot I really appreciate all your help!
     
  11. Mike

    Mike XenForo Developer Staff Member

    If the browser is showing 76%, that would usually indicate that the upload is still happening. Depending on setup, PHP may have started or it may not have yet (though XF wouldn't have been invoked at all).

    The simplest workaround would be to import the XML from a file on the server (so upload via FTP first).
     
  12. Kcirtap

    Kcirtap New Member

    I've already done that but I can't seem to find the option to import from the server?
     
  13. Mike

    Mike XenForo Developer Staff Member

    Yeah I missed that it's not actually there for styles. :)

    It sounds likely that the server is actually just closing the connection. There may be some PHP configurations that could apply, but I would suggest it's unlikely and I haven't really seen issues like this before. Your host may need to help.
     
  14. Kcirtap

    Kcirtap New Member

    Thanks for the help. I switched my hosting service and the issue hasn't followed me thankfully! :)
     
    Mike likes this.

Share This Page