Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem v3 #54

Closed
patrickf0 opened this issue Jan 17, 2014 · 6 comments
Closed

Problem v3 #54

patrickf0 opened this issue Jan 17, 2014 · 6 comments

Comments

@patrickf0
Copy link

Hi there,

I just wanted to test your 3.0.0b branch. I uploaded it in my fresh wordpress installation, but when I want to activate it, browser says: no data received?

What´s wrong?

@michaeluno
Copy link
Owner

I don't know.

I could install it on a local test server without any problem. However, I tried it with a remote server and when I activated it, indeed it gave the 500 Internal Server Error page. The server log says

[error] [client ...] Premature end of script headers: /home/.../www/wptest/wordpress/wp-admin/plugins.php

@michaeluno
Copy link
Owner

Okay, maybe it could be a PHP version compatibility issue. When I changed the PHP version to 5.4.3 from 5.2.4 on the local environment, the following error started occurring.

Fatal error: Maximum function nesting level of '100' reached, aborting! in ...\wp_test\wp-includes\plugin.php on line 85

I'll see if I can fix this. Thanks for the report.

@patrickf0
Copy link
Author

Well when I change the PHP Version to 5.2.17. instead of 5.5.3 I get a blank page.

@michaeluno
Copy link
Owner

It should be working by now.

I was using the following method to call the parent class constructor.

$aArgs = func_get_args();
call_user_func_array( array( $this, "parent::__construct" ), $aArgs );

It was working in PHP v5.2.4 but not in v5.4.3.

As for your version v5.2.17, I'm not sure. Please try the updated one. It should work now.

@patrickf0
Copy link
Author

Its working even in 5.5.3 as far as I can tell ;)

@michaeluno
Copy link
Owner

Phew, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants