Unable to find javascript file: C:\php5\pear\data\HTML_AJAX\js\HTML_AJAX.js

View: New views
2 Messages — Rating Filter:   Alert me  

Unable to find javascript file: C:\php5\pear\data\HTML_AJAX\js\HTML_AJAX.js

by spr12ian :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Error message is

Unable to find javascript file: C:\php5\pear\data\HTML_AJAX\js\HTML_AJAX.js

 

Any ideas?

 

server.php

<?php

//a session is required(you can also set session.auto_start=1 in php.ini)

session_start();

 

include 'HTML/AJAX/Server.php';

 

$server = new HTML_AJAX_Server();

$server->ajax->php4CompatCase = true;

$server->handleRequest();

?>

 

test.htm

<html>

 

<script type="text/javascript" src="server.php?client=all"></script>

<div id="target">I'm the target</div>

<script type="text/javascript">

HTML_AJAX.replace('target','output.php');

</script>

   <form>

      <input type="button" onclick="HTML_AJAX.replace('target','output.php');" value="Update target">

   </form>

</html>


_______________________________________________
Html_ajax-devel mailing list
Html_ajax-devel@...
http://lists.bluga.net/mailman/listinfo/html_ajax-devel

Re: Unable to find javascript file: C:\php5\pear\data\HTML_AJAX\js\HTML_AJAX.js

by JoshuaEichorn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Do you have a pear data dir.  The JavaScript files get installed to that by the installer.

If you moved things around after install time then things will get broken.

There is a property you can set to update the location, jsClientLocation i think (though that could be wrong)

-josh
Ian Sweeney wrote:

Error message is

Unable to find javascript file: C:\php5\pear\data\HTML_AJAX\js\HTML_AJAX.js

 

Any ideas?

 

server.php

<?php

//a session is required(you can also set session.auto_start=1 in php.ini)

session_start();

 

include 'HTML/AJAX/Server.php';

 

$server = new HTML_AJAX_Server();

$server->ajax->php4CompatCase = true;

$server->handleRequest();

?>

 

test.htm

<html>

 

<script type="text/javascript" src="server.php?client=all"></script>

<div id="target">I'm the target</div>

<script type="text/javascript">

HTML_AJAX.replace('target','output.php');

</script>

   <form>

      <input type="button" onclick="HTML_AJAX.replace('target','output.php');" value="Update target">

   </form>

</html>


_______________________________________________ Html_ajax-devel mailing list Html_ajax-devel@... http://lists.bluga.net/mailman/listinfo/html_ajax-devel


_______________________________________________
Html_ajax-devel mailing list
Html_ajax-devel@...
http://lists.bluga.net/mailman/listinfo/html_ajax-devel