Hey folks,

I'm working on an old script using qooxdoo 0.8. Ther script works on
an lampp server very well but i get in trouble when moving it to an
current apache2 server.
There is a java script file which gets included via html (<script
type="text/javascript" src="script/urls.js"></script>) and has the
following content:

<?php
session_start();
if (isset($_SESSION['cName'])) {
 echo "user = \"".$_SESSION[cName]."\";";
 echo "status = \"".$_SESSION[iStatus]."\";";
} else {
 echo "user = \"".$none."\";";
}
?>

urlString = "../../";

urlSaveString = urlString + "projects/saveProject.php";
urlUpdateString = urlString + "projects/updateProject.php";
....

On the old server the php stuff is executed before the javascript part
and so the variables user and status are set. Works well.
But on the new server the php stuff is not excecuted before the js
part and so the php commands are includes as they are and an error
occoures, when the user variable is used.

I'm not pretty sure if this is the right mailing list for this issue
but do you know why the behaivior is so different?

Best regards,
Gerrit

--
Gerrit Garbereder
Mathematisch-technischer Softwareentwickler

RWTH Aachen University, Center for Computing and Communication
Rechen- und Kommunikationszentrum
Virtual Reality Group
Dienstgebäude Kopernikusstraße 6, 52074 Aachen (Germany)
Raum 108
Tel.: +49 (0) 241 80-29731
mailto:[email protected]
URL: www.vr.rwth-aachen.de

------------------------------------------------------------------------------
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to