Alpha Video Training
Results 1 to 7 of 7

Thread: 500 Internal Server Error

  1. #1
    Member
    Real Name
    Tim Ward
    Join Date
    Feb 2005
    Posts
    50

    Default 500 Internal Server Error

    Hi
    i have been trying to use the Web interface for Alpha Five, i have created a project and a grid component tests fine, i then save the component and save the page. when i test in my web browser all fine, i then go in to the A5W page and add some text etc and get the following message when i preview in the web browser.

    500 Internal Server Error
    "Script Error
    Error:line:8 Missing right parenthesis"

    If i delete the page and re-create it with text, component etc all works ok until i edit the page again then it does the same.

    i may be doing something wrong does anyone have any ideas.
    Thanks

    Tim
    :)

  2. #2
    Volunteer Moderator Steve Wood's Avatar
    Real Name
    Steve Wood
    Join Date
    Nov 2003
    Location
    Bay Area, California
    Posts
    8,842

    Default Re: 500 Internal Server Error

    What do you mean by Edit the Page? Adding xbasic or just typing in the wysiwyg page? Easiest if you just go to the A5W page (the one that causes the error), go to Source and copy-paste the first 20 lines here on the forum.
    Steve Wood
    Join the ALPHA DEVELOPERS NETWORK
    There is no Cloud. It's just someone else's computer.
    Web - Mobile - Hosting - Products - Frameworks - Developer Resources
    AlphaToGo | IADN (100% Alpha Anywhere Websites)

  3. #3
    Former Alpha Employee JerryBrightbill's Avatar
    Real Name
    Jerry Brightbill
    Join Date
    Apr 2000
    Posts
    5,172

    Default Re: 500 Internal Server Error

    Tim

    Be sure you have updated to the latest build. There was a problem in very early Alpha Five V8 builds where making certain changes on the WYSIWYG view could result in a corrupted page and give that specific error. That was fixed some time ago. A simple solution for any build is make your edits and then switch to the Source view and save from there.

  4. #4
    Member
    Real Name
    Tim Ward
    Join Date
    Feb 2005
    Posts
    50

    Default Re: 500 Internal Server Error

    Hi here's the code from the page
    <html>
    <head>
    <!-- must use in order to make XP Themes render -->
    <meta HTTP-EQUIV="MSThemeCompatible" content="Yes" />

    <%A5
    Delete Tmpl
    DIM Tmpl as P
    tmpl = a5w_load_component("stock")
    'Following code allows you to override settings in the saved component, and specify the component alias (componentName property).
    'Tip: Keep the componentName property short because this name is used in page URLs, and it will help keep the URLs short.
    'Each component on a page must have a unique alias (componentName property).
    with tmpl
    componentName = "stock"
    end with
    '=======================================compute the HTML for the Component=======================================
    delete x_out
    dim x_out as p
    x_out = a5w_run_Component(tmpl)
    '=============================================================================================================
    if x_out.RedirectURL <> "" then
    response.redirect(x_out.redirectURL)
    end
    end if
    ?x_out.Output.Head.JavaScript
    ?x_out.Output.Head.CSS_Link
    %>
    <!--Alpha Five Temporary Code Start - Will be automatically removed when page is published -->
    <!--CSS for tmpl -->
    <link rel="stylesheet" type="text/css" href="file:///C:/Program Files/A5V8/css/BusinessSchool/style.css">
    <!--Alpha Five Temporary Code End -->
    <title>stock</title>
    </head>

    <img class="Body_Tag__x_out" src="C:\Program Files\A5V8\A5CSS\html_editor\a5w_code.gif" vspace="2" hspace="2">
    <!--Alpha Five Temporary Code Start - Will be automatically removed when page is published -->
    <!--Body Tag for tmpl -->
    <body class="BusinessSchoolPageBODY">
    <!--Alpha Five Temporary Code End -->

    and the message

    500 Internal Server Error
    "Script Error
    Error:line:8 Missing right parenthesis"

    Tim
    Thanks

    Tim
    :)

  5. #5
    Volunteer Moderator Steve Wood's Avatar
    Real Name
    Steve Wood
    Join Date
    Nov 2003
    Location
    Bay Area, California
    Posts
    8,842

    Default Re: 500 Internal Server Error

    The syntax on your page seems a little off. Normally, like on that first line, it would be "delete tmpl_stock, and then later on delete x_stock. I would create a brand new A5W page, save it, then insert your component and try. Leave out the XP Themes stuff until you test without.
    Steve Wood
    Join the ALPHA DEVELOPERS NETWORK
    There is no Cloud. It's just someone else's computer.
    Web - Mobile - Hosting - Products - Frameworks - Developer Resources
    AlphaToGo | IADN (100% Alpha Anywhere Websites)

  6. #6
    Member
    Real Name
    Tim Ward
    Join Date
    Feb 2005
    Posts
    50

    Default Re: 500 Internal Server Error

    Hi all

    I seem to have the problem under control, firstly i checked the version i was running and it was the most upto date, i still received the same error message, i then tried switching to the code view instead of the WYSIWYG view before saving and the error is fixed.

    thanks for your help.
    Thanks

    Tim
    :)

  7. #7
    Volunteer Moderator Steve Wood's Avatar
    Real Name
    Steve Wood
    Join Date
    Nov 2003
    Location
    Bay Area, California
    Posts
    8,842

    Default Re: 500 Internal Server Error

    do you have something hand coded in the source area?just curious because it should not be a factor.
    Steve Wood
    Join the ALPHA DEVELOPERS NETWORK
    There is no Cloud. It's just someone else's computer.
    Web - Mobile - Hosting - Products - Frameworks - Developer Resources
    AlphaToGo | IADN (100% Alpha Anywhere Websites)

Similar Threads

  1. 500 Internal Server Error
    By Venture Administrator in forum Web Application Server v7
    Replies: 5
    Last Post: 02-04-2007, 11:46 PM
  2. 500 Internal Server Error
    By BryanS in forum Web Application Server v7
    Replies: 3
    Last Post: 01-15-2007, 03:51 PM
  3. 500 internal server error
    By rching in forum Web Application Server v7
    Replies: 2
    Last Post: 06-30-2006, 04:53 PM
  4. 500 Internal Server error
    By René Stout in forum Web Application Server v6
    Replies: 2
    Last Post: 08-29-2005, 08:06 AM
  5. 500 internal server error
    By Chanimal in forum Web Application Server v6
    Replies: 0
    Last Post: 08-24-2005, 08:48 AM

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
  •