Script section down

i just noticed that the script section to this site isnt working.
www.devdreams.com/scripts.php

Comments

  • PythonPython Forum Leader The Royal RAM
    ahhh so it is.

    errrrm, ok thats another thing to add to the to do list

    The Royal Ram

  • kinkkink serious member VPS - Virtual Prince of the Server
    python if you view your source code for that page their is a rectangle with some written material in it , just above that box is an open tag looks like this <? remove those two symbols and put in your script remark (<script> and see what happens ie


    <table class=leftmenu cellspacing=1 cellpadding=1 width=100% border=0>
    <tbody>
    <tr>
    <th width="100%" bgcolor="#CCCCCC" height="25"> Scripts</th>
    </tr>
    <tr>
    <td valign=top width="100%" bgcolor=#efefef height="253"> <font size="-2">
    <? <
    RIGHT THERE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    /******************************************************************************/
    /* (c) CN-Software CNCat */
    /* */
    /* Do not change this file, if you want to easily upgrade */
    /* to newer versions of CNCat. To change appearance set up files: _top.php, */
    /* _bottom.php and config.php */
    /* */
    /******************************************************************************/
    error_reporting(E_ALL & ~E_NOTICE);
    ini_set("session.use_trans_sid",false);
  • PythonPython Forum Leader The Royal RAM
    that '<?' bit is what tells it that its php. that needs to be there

    The Royal Ram

  • kinkkink serious member VPS - Virtual Prince of the Server
    thats telling every browser that what comes next is ?trust me i already tried it in my editor
  • PythonPython Forum Leader The Royal RAM
    hmm well i changed it and nothing happened - i the checked my config file and it was a problem in there

    The Royal Ram

  • PythonPython Forum Leader The Royal RAM
    but now everything says 'e'


    ive checked the language file and thats fine

    The Royal Ram

  • kinkkink serious member VPS - Virtual Prince of the Server
    all i did to fix it in my editor was to delete the question mark and add <script> and it ran right you sure you closed that open comment?
  • PythonPython Forum Leader The Royal RAM
    yes i sorted that problem fine. the script now works but it just says e instead of proper words. ill probably delete it and reinstall

    The Royal Ram

  • kinkkink serious member VPS - Virtual Prince of the Server
    ive done some research it might work if you write it like this <? php and then include a ?> to close the statement
  • PythonPython Forum Leader The Royal RAM
    ok i found out why the script doesnt work properly...

    on my server the <? tag was being used for xml so it was changed to <?php

    the script which controls the script page uses tags such as <? which were fine until the alteration was made.

    the script cannot be fixed without quite a bit of work because the writer used the following format:

    <? =$variable; ?>

    which apparently is a shortcut - therefore it has to all be modified

    The Royal Ram

Sign In or Register to comment.