Please try installing php5-json [1]: sudo apt-get install php5-json
[1] http://stackoverflow.com/questions/18239405/php-fatal-error-call-to-undefined-function-json-decode On Thu, Jan 16, 2014 at 4:57 PM, Chamara Ariyarathne <[email protected]>wrote: > Finally found out what's going on.. When accessing the url > http://localhost/simplesaml > > Apache2 access.log: > 127.0.0.1 - - [16/Jan/2014:16:55:06 +0530] "GET > /simplesaml/module.php/core/frontpage_welcome.php HTTP/1.1" 500 342 "-" > "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) > Chrome/32.0.1700.77 Safari/537.36" > > Apache2 error.log: > [Thu Jan 16 16:55:07.015299 2014] [:error] [pid 12261] [client > 127.0.0.1:46482] PHP Fatal error: Call to undefined function > json_decode() in > /var/simplesamlphp/simplesamlphp/lib/SimpleSAML/XHTML/Template.php on line > 499 > > > On Thu, Jan 16, 2014 at 3:09 PM, Chamara Ariyarathne <[email protected]>wrote: > >> Also note that >> >> # apache2 -version >> Server version: Apache/2.4.6 (Ubuntu) >> Server built: Dec 5 2013 18:32:22 >> >> # php5 --version >> PHP 5.5.3-1ubuntu2.1 (cli) (built: Dec 12 2013 04:24:35) >> Copyright (c) 1997-2013 The PHP Group >> Zend Engine v2.5.0, Copyright (c) 1998-2013 Zend Technologies >> with Zend OPcache v7.0.3-dev, Copyright (c) 1999-2013, by Zend >> Technologies >> >> Ubuntu 13.10 >> >> >> On Thu, Jan 16, 2014 at 2:38 PM, Chamara Ariyarathne >> <[email protected]>wrote: >> >>> This now gives me another issue. the >>> file /var/simplesamlphp/simplesamlphp/modules/core/www/frontpage_welcome.php >>> exists and attached here. >>> It gives a blank screen, as in the attached screenshot. >>> >>> Also tried with the app rc1 hosted here >>> https://code.google.com/p/simplesamlphp/downloads/list >>> and that too gave the same. >>> >>> (refering the blog post >>> http://blog.facilelogin.com/2013/06/wso2-identity-server-saml2-idp-with.html >>> ) >>> >>> >>> On Tue, Jan 14, 2014 at 9:42 AM, Dulanja Liyanage <[email protected]>wrote: >>> >>>> Hi Chamara, >>>> >>>> I have tested this using simplesamlphp-1.11.0. There should be >>>> configuration or some other issue in your setup. >>>> >>>> Could you please confirm whether this php file exists: >>>> /var/simplesamlphp/simplesamlphp/modules/core/www/frontpage_welcome.php >>>> >>>> Thanks >>>> Dulanja >>>> >>>> >>>> On Mon, Jan 13, 2014 at 5:00 PM, Chamara Ariyarathne <[email protected] >>>> > wrote: >>>> >>>>> I have tried doing the $subject referring the doc link >>>>> >>>>> http://docs.wso2.org/display/IS460/SAML2+IdP+with+SimpleSAMLphp+Service+Provider >>>>> >>>>> It seems the php app does not contain any pages. >>>>> As described, I have tried accessing the url >>>>> http://localhost/simplesaml >>>>> >>>>> and it redirected me to >>>>> http://localhost/simplesaml/module.php/core/frontpage_welcome.php >>>>> which is nothing but a blank page. >>>>> >>>>> Pleasse have a look. >>>>> >>>>> -- >>>>> *Chamara Ariyarathne* >>>>> Senior Software Engineer - QA; >>>>> WSO2 Inc; http://www.wso2.com/. >>>>> Mobile; *+94772786766 <%2B94772786766>* >>>>> >>>>> _______________________________________________ >>>>> Dev mailing list >>>>> [email protected] >>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>>> >>>>> >>>> >>>> >>>> -- >>>> Dulanja Liyanage >>>> Senior Software Engineer - WSO2 Inc. >>>> M: +94776764717 >>>> >>> >>> >>> >>> -- >>> *Chamara Ariyarathne* >>> Senior Software Engineer - QA; >>> WSO2 Inc; http://www.wso2.com/. >>> Mobile; *+94772786766 <%2B94772786766>* >>> >> >> >> >> -- >> *Chamara Ariyarathne* >> Senior Software Engineer - QA; >> WSO2 Inc; http://www.wso2.com/. >> Mobile; *+94772786766 <%2B94772786766>* >> > > > > -- > *Chamara Ariyarathne* > Senior Software Engineer - QA; > WSO2 Inc; http://www.wso2.com/. > Mobile; *+94772786766 <%2B94772786766>* > -- Dulanja Liyanage Senior Software Engineer - WSO2 Inc. M: +94776764717
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
