Ticket #945 (closed defect: fixed)

Opened 3 months ago

Last modified 2 months ago

plugins activate but don't actually run on IIS + PHP 4.3

Reported by: _ck_ Assigned to:
Priority: normal Milestone: 1.0-beta & XML-RPC
Component: Back-end Version: 1.0-alpha-1
Severity: normal Keywords:
Cc:

Description

There is some kind of issue with bbPress 1.0 alpha (and perhaps 0.9 too) where plugins will activate but not actually execute on IIS servers running PHP 4.3

WordPress 2.6 runs just fine on the same server with plugins.

I have verified the user does NOT have safe mode enabled.

Could this be a GLOB issue or has that been resolved?

Is there possibly some code in there that relies on a change in PHP after 4.3?

Change History

08/26/08 15:20:25 changed by fel64

Have the same issue running xampp on windows, with PHP 5.x. Plugins activate but do not run. Wordpress and wordpress plugins run ok.

08/26/08 15:54:12 changed by _ck_

fel64 thanks for that report - do you get any special warnings if you turn on all error reporting ie. in bb-config.php put error_reporting(E_ALL);

08/26/08 16:00:23 changed by _ck_

Ah I bet this has to do with Windows and it's silly paths that use "\" instead of "/" and how dirname is used to try to calculate the web path based on the physical file path. I had the same problem in a number of my plugins and had to come up with this contortion to make it work:

$web_path_to_plugin=bb_get_option('uri').trim(str_replace(array(trim(BBPATH,"/\\"),"\\"),array("","/"),dirname(__FILE__)),' /\\').'/';

08/26/08 16:40:05 changed by fel64

No, I don't get anything from E_ALL. The windows problem existed in the .8 days I think for themes, it seems similar but I'd be surprised if it's the same problem again.

08/26/08 23:00:07 changed by mdawaffe

[1659]

Try it now.

09/09/08 04:29:20 changed by sambauers

  • milestone set to 1.0-beta & XML-RPC.

09/22/08 12:41:49 changed by sambauers

  • status changed from new to closed.
  • resolution set to fixed.

mdawaffe's fix should have sorted this out. Please reopen if it didn't.