Menu

Requirements

Help
rqmedes
2005-07-19
2013-03-22
  • rqmedes

    rqmedes - 2005-07-19

    Hi  All

    I was hoping someone  could give me the base php/apache requirements to get this  working

    I have one linux server I tried on and the examples all  work  fine,  on another  linux server  i get javascript errors all over the place, i can only put it down to the php and configuration settings,
    any one know how the required defaults?

     
    • Quentin Zervaas

      Quentin Zervaas - 2005-08-04

      The application generates URLs like index.php/jsapp where the script is index.php.. i haven't tested this but perhaps older apache versions (e.g. 1.3.x) don't like this format, although apache 2 doesn't mind it

      you can overcome this (if this is in fact the problem) by doing something like...

      $ajaxac->setConfigValue('url.action_parameter', 'action');

      Or you can pass in this option to the constructor. This way it'll be called like.... index.php?action=jsapp and so on

      Cheers

       
    • SaetheR

      SaetheR - 2005-12-06

      dear lord! You just solved the past two hours of pain for me. I'd say you hit the nail on the head with your comment about apache 1.3.x not liking the URL format. You do need to set the option you mentioned:

      setConfigValue('url.action_parameter', 'action');

      in AjaxACApplication.class.php around line 125.
      man.. thanks!

       

Log in to post a comment.