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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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...
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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
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
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!