cloudgoon / common-latex-service-interface

Automatically exported from code.google.com/p/common-latex-service-interface
0 stars 0 forks source link

Problem after installation of clsi #2

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install clsi according to 
http://code.google.com/p/common-latex-service-interface/wiki/InstallAndConfig
2. test the installation with the xml file given on this site

What is the expected output? What do you see instead?
The response should be an XML document indicating a status of success. 
The response is:
<?php
    require_once('./clsi/ClsiService.php');
    require_once('./clsi/Configuration.php');

    /**
     * The CLSI service page.
     */

    set_time_limit(constant('maxExecutionSeconds'));
    $request = $HTTP_RAW_POST_DATA;
    $prefix = 'request=';
    if (strpos($request, $prefix) === 0) {
        $request = urldecode(substr($request, strlen($prefix)));
    }
    if ($request) {
        try {
            $clsisvc = new ClsiService();
            $response = $clsisvc->processRequest($request);
            echo $response;
        } catch (Exception $x) {
            file_put_contents(constant('tempPath') . 'error', $x->getMessage());
        }
    }

?>

What version of the product are you using? On what operating system?
SuSe SLES 11

Is there something I've overseen? I followed all steps from the 
"InstallAndConfig" page.

Original issue reported on code.google.com by leu...@googlemail.com on 22 Jul 2010 at 10:47

GoogleCodeExporter commented 8 years ago
It looks like your web server is not properly configured to work with PHP. The 
InstallAndConfig page assumes a working Apache installation with PHP5.

Original comment by bobbysoa...@gmail.com on 22 Jul 2010 at 5:41