SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Enthusiast
    Join Date
    Jun 2008
    Location
    St. Francisville, LA USA
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Local host working but published site not

    I have a form that gathers info, the user then can upload an attachment at submit it emails it to me. The script works fine locally but not after I upload it to Host Gator. I will send more info if this goes through. I have been getting Internal Server errors when I try to post a long message. Thanks

  2. #2
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,129
    Mentioned
    152 Post(s)
    Tagged
    0 Thread(s)
    Couple of questions,
    Are you referring to posting your code here? If so, I ran into that same problem and have reported it to the higher ups.
    Can you post it to PasteBin and post a link here to your code?
    Have you enabled the displaying of errors on your published site to see what errors (if any) you may be getting?

  3. #3
    SitePoint Member
    Join Date
    Oct 2012
    Posts
    1
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by bmorgan1959 View Post
    I have a form that gathers info, the user then can upload an attachment at submit it emails it to me. The script works fine locally but not after I upload it to Host Gator. I will send more info if this goes through. I have been getting Internal Server errors when I try to post a long message. Thanks
    Have you checked file upload limits granted by your web host providers? You have not provided bug-centered code, please check your data server facilities provided by your hosting provider, check php version on localhost and on your site service provider. Internal server error may occur when system related activities fails e.g., if you are using one data type and you data server supports other and so on. If possible please provide code snippet here to look through.

  4. #4
    SitePoint Wizard silver trophybronze trophy Cups's Avatar
    Join Date
    Oct 2006
    Location
    France, deep rural.
    Posts
    6,869
    Mentioned
    17 Post(s)
    Tagged
    1 Thread(s)
    It usually goes without saying, and @iamvshlbndr ; has alluded to it, but specifically your first port of call should be to very carefully compare the output of :
    PHP Code:
    phpinfo(); 
    .. on both servers.

    It might seem unlikely in your case, but all the same look specifically for anything which might affect mail or upload limits as @iamvshlbndr ; said.


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
  •