+ Reply to Thread
Results 1 to 8 of 8

Thread: Internal Server Error.. Plz Help Me..

  1. #1
    LayPyae is offline x10Hosting Member LayPyae is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    3

    Unhappy Internal Server Error.. Plz Help Me..

    Message Like That....



    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@laypyae.x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.39 Server at laypyae.x10hosting.com Port 80

  2. #2
    lionheart8 is offline x10 Sophmore lionheart8 is an unknown quantity at this point
    Join Date
    Sep 2006
    Posts
    177

    Re: Internal Server Error.. Plz Help Me..

    No idea what may be up there, or what u have in your public_html ...
    Had u uploaded files of a complete site there & it still shows u that or where starting from scratch?
    In the latter case try to delete all files in public_html and replace them with a simple html file u call index.html & see if u can view it.
    If u can, then the deleted files where faulty.
    If u have previously functioning site files there, download a back-up first b4 doing what I suggest above to establish if the fault was coming from something faulty in your uploaded files ...
    Last edited by lionheart8; 10-10-2007 at 10:29 AM.

  3. #3
    eminemix's Avatar
    eminemix is offline x10 Lieutenant eminemix is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    EU
    Posts
    349

    Re: Internal Server Error.. Plz Help Me..

    I think that was a temporary error.
    It should be working now.


  4. #4
    welchybo is offline x10Hosting Member welchybo is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    4

    Internal error while submitting php form

    Does anyone know why i am getting an internal error while submitting a feedback php form. The error is
    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@wpcconsulting.pcriot.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.

    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    Apache/1.3.39 Server at wpcconsulting.pcriot.com Port 80

    Please help...It is probably a simple error i am just very new at php and actually i didnt create this i used a php form generator. Thanks

  5. #5
    supajason's Avatar
    supajason is offline x10 Lieutenant supajason is an unknown quantity at this point
    Join Date
    Oct 2007
    Location
    England........:-)
    Posts
    288

    Re: Internal Server Error.. Plz Help Me..

    Please upload the source code so i can have a look and what you are trying to do?

    jason

  6. #6
    welchybo is offline x10Hosting Member welchybo is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    4

    Re: Internal Server Error.. Plz Help Me..

    Thanks for your fast reply. The page the error keeps referring too is processor.php the source code of that is
    <?php

    $where_form_is="http://".$_SERVER['SERVER_NAME'].strrev(strstr(strrev($_SERVER['PHP_SELF']),"/"));

    mail("jesse@wpcconsulting.pcriot.com","phpFormGene rator - Form submission","Form data:

    Name: " . $_POST['field_1'] . "
    E-Mail: " . $_POST['field_2'] . "
    Date: " . $_POST['field_3'] . "
    Website: " . $_POST['field_4'] . "
    State: " . $_POST['field_5'] . "
    Feedback/Comments: " . $_POST['field_6'] . "


    powered by phpFormGenerator.
    ");

    include("confirm.html");

    ?>






    HOWEVER this is another thing that came along with that file. It is the install.php



    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <title>Feedback - created by phpFormGenerator</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link href="style.css" rel="stylesheet" type="text/css">
    <!-- calendar stuff -->
    <link rel="stylesheet" type="text/css" href="calendar/calendar-blue2.css" />
    <script type="text/javascript" src="calendar/calendar.js"></script>
    <script type="text/javascript" src="calendar/calendar-en.js"></script>
    <script type="text/javascript" src="calendar/calendar-setup.js"></script>
    <!-- END calendar stuff -->

    <!-- expand/collapse function -->
    <SCRIPT type=text/javascript>
    <!--
    function collapseElem(obj)
    {
    var el = document.getElementById(obj);
    el.style.display = 'none';
    }


    function expandElem(obj)
    {
    var el = document.getElementById(obj);
    el.style.display = '';
    }


    //-->
    </SCRIPT>
    <!-- expand/collapse function -->


    <!-- expand/collapse function -->
    <SCRIPT type=text/javascript>
    <!--

    // collapse all elements, except the first one
    function collapseAll()
    {
    var numFormPages = 1;

    for(i=2; i <= numFormPages; i++)
    {
    currPageId = ('mainForm_' + i);
    collapseElem(currPageId);
    }
    }


    //-->
    </SCRIPT>
    <!-- expand/collapse function -->


    <!-- validate -->
    <SCRIPT type=text/javascript>
    <!--
    function validateField(fieldId, fieldBoxId, fieldType, required)
    {
    fieldBox = document.getElementById(fieldBoxId);
    fieldObj = document.getElementById(fieldId);

    if(fieldType == 'text' || fieldType == 'textarea' || fieldType == 'password' || fieldType == 'file' || fieldType == 'phone' || fieldType == 'website')
    {
    if(required == 1 && fieldObj.value == '')
    {
    fieldObj.setAttribute("class","mainFormError");
    fieldObj.setAttribute("className","mainFormError") ;
    fieldObj.focus();
    return false;
    }

    }


    else if(fieldType == 'menu' || fieldType == 'country' || fieldType == 'state')
    {
    if(required == 1 && fieldObj.selectedIndex == 0)
    {
    fieldObj.setAttribute("class","mainFormError");
    fieldObj.setAttribute("className","mainFormError") ;
    fieldObj.focus();
    return false;
    }

    }


    else if(fieldType == 'email')
    {
    if((required == 1 && fieldObj.value=='') || (fieldObj.value!='' && !validate_email(fieldObj.value)))
    {
    fieldObj.setAttribute("class","mainFormError");
    fieldObj.setAttribute("className","mainFormError") ;
    fieldObj.focus();
    return false;
    }

    }



    }

    function validate_email(emailStr)
    {
    apos=emailStr.indexOf("@");
    dotpos=emailStr.lastIndexOf(".");

    if (apos<1||dotpos-apos<2)
    {
    return false;
    }
    else
    {
    return true;
    }
    }


    function validateDate(fieldId, fieldBoxId, fieldType, required, minDateStr, maxDateStr)
    {
    retValue = true;

    fieldBox = document.getElementById(fieldBoxId);
    fieldObj = document.getElementById(fieldId);
    dateStr = fieldObj.value;


    if(required == 0 && dateStr == '')
    {
    return true;
    }


    if(dateStr.charAt(2) != '/' || dateStr.charAt(5) != '/' || dateStr.length != 10)
    {
    retValue = false;
    }

    else // format's okay; check max, min
    {
    currDays = parseInt(dateStr.substr(0,2),10) + parseInt(dateStr.substr(3,2),10)*30 + parseInt(dateStr.substr(6,4),10)*365;
    //alert(currDays);

    if(maxDateStr != '')
    {
    maxDays = parseInt(maxDateStr.substr(0,2),10) + parseInt(maxDateStr.substr(3,2),10)*30 + parseInt(maxDateStr.substr(6,4),10)*365;
    //alert(maxDays);
    if(currDays > maxDays)
    retValue = false;
    }

    if(minDateStr != '')
    {
    minDays = parseInt(minDateStr.substr(0,2),10) + parseInt(minDateStr.substr(3,2),10)*30 + parseInt(minDateStr.substr(6,4),10)*365;
    //alert(minDays);
    if(currDays < minDays)
    retValue = false;
    }
    }

    if(retValue == false)
    {
    fieldObj.setAttribute("class","mainFormError");
    fieldObj.setAttribute("className","mainFormError") ;
    fieldObj.focus();
    return false;
    }
    }
    //-->
    </SCRIPT>
    <!-- end validate -->




    </head>

    <body onLoad="collapseAll()">

    <div id="mainForm">




    <div id="formHeader">
    <h2 class="formInfo">Feedback</h2>
    <p class="formInfo"></p>
    </div>


    <BR/><div id="footer"><p class="footer"><a class=footer href=http://phpformgen.sourceforge.net>Generated by phpFormGenerator</a></p></div>

    </body>
    </html>


    hopefully this is what you wanted me to upload.





    Thanks again

  7. #7
    welchybo is offline x10Hosting Member welchybo is an unknown quantity at this point
    Join Date
    Oct 2007
    Posts
    4

    Re: Internal Server Error.. Plz Help Me..

    form.html

    Here is my form.html upload. Sorry i copied the others i didnt know there was an attachment tool

  8. #8
    Sohail's Avatar
    Sohail is offline x10 Spammer Sohail is an unknown quantity at this point
    Join Date
    Sep 2007
    Location
    London, UK
    Posts
    3,052

    Re: Internal Server Error.. Plz Help Me..

    I have been having the same problem lately. I can't install modules in Joomla because an internal server error had occured. I believe it's because PHP safe mode has been enabled on the server. I still don't know how to solve this problem but maybe if you were to PM Corey then he might disable it for you.

+ Reply to Thread

Similar Threads

  1. 500 Internal Server Error
    By Makubex in forum Free Hosting
    Replies: 5
    Last Post: 03-19-2007, 11:34 AM
  2. Internal Server Error
    By thecarver in forum Free Hosting
    Replies: 3
    Last Post: 11-22-2006, 01:04 AM
  3. Internal Server Error
    By repusmod in forum Free Hosting
    Replies: 16
    Last Post: 06-19-2006, 01:53 PM
  4. 500 Internal Server Error
    By snakebiter in forum Free Hosting
    Replies: 2
    Last Post: 09-02-2005, 03:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers