Piwik not working due to disable-spl

Discussion about the open-source Phalanger [?] project.

Piwik not working due to disable-spl

Postby mcintyre321@codeplex » November 11th, 2011, 12:17 am

The compatibility page said to let you know if things work or not... Piwik won't start due to spl (whatever that is :) Quote: 

"Piwik and Zend Framework require the SPL extension

It appears your PHP was compiled with

--disable-spl"
mcintyre321@codeplex
 
Posts: 9
Joined: January 7th, 2012, 8:37 pm

RE: Piwik not working due to disable-spl

Postby Jakub Misek » November 11th, 2011, 12:35 am

Thanks! There are some missing functions in Phalanger that are on plan currently. Piwik will be fully running when these functions will be implemented.

Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: Piwik not working due to disable-spl

Postby nuFaqtz » June 16th, 2012, 3:56 pm

Hi,

According to the release notes on the wiki a SPL extension should be available.
However I still get the same error message.

Do you have any info on how to run PIWIK on phalanger?

regards,
JamBo
nuFaqtz
 
Posts: 3
Joined: June 16th, 2012, 3:53 pm

Re: Piwik not working due to disable-spl

Postby Jakub Misek » June 18th, 2012, 2:04 pm

Hi,
When I try
Code: Select all
extension_loaded('spl')
I'm getting TRUE. I didn't try Piwik yet; do you have any other info how they check for SPL extension?

Regards,
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: Piwik not working due to disable-spl

Postby nuFaqtz » June 18th, 2012, 4:29 pm

Jakub,

It tests for:

if(!class_exists('ArrayObject'))
{
...display error


I can circumvent this - just commenting this out will work. Have to solve other errors now.

Thnx for the reply,
JamBo
nuFaqtz
 
Posts: 3
Joined: June 16th, 2012, 3:53 pm

Re: Piwik not working due to disable-spl

Postby Jakub Misek » June 18th, 2012, 4:54 pm

Thanks!

SPL is almost implemented, only ArrayObject and few other classes are missing.

Once ArrayObject will be implemented, Piwik should work out-of-box.. maybe with few additional fixes.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague

Re: Piwik not working due to disable-spl

Postby nuFaqtz » June 18th, 2012, 5:36 pm

jakub,

I would really appreciate if you could validate PIWIK working with phalanger.
I can't get it to work.

- checkdnsrr method not supported (and some 'Mandatory parameter '' declared behind optional parameter' errors which are easy to fix)

commenting checkdnsrr references compiles, but it won't work.
The reason for using phalanger is my limited knowledge of PHP.
But getting PIWIK to work would be a great solution to the dependency on google for web analytics.

Keep up the great work,
JamBo
nuFaqtz
 
Posts: 3
Joined: June 16th, 2012, 3:53 pm

Re: Piwik not working due to disable-spl

Postby Jakub Misek » June 18th, 2012, 5:41 pm

using unsupported checkdnsrr() and 'Mandatory parameter' only causes compile-time warnings.
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to Phalanger project

Who is online

Users browsing this forum: No registered users and 25 guests

cron

User Control Panel

Login

Who is online

In total there are 25 users online :: 0 registered, 0 hidden and 25 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 25 guests