PHP autocomplete not working? (komodo ide 8.5)

Hi,

I’m using komodo ide 8.5, and the autocomplete is not working for PHP.

What can I do to make it work?

Hopefully Logs might help.

[2014-05-30 14:06:58,371] [DEBUG] places_js: waiting for document complete
[2014-05-30 14:06:58,388] [WARNING] root: ko.findresults was already loaded, re-creating it.

[2014-05-30 14:06:59,250] [ERROR] process: process.py: can’t execute None (c:\wamp\bin\php\php5.5.12\php.ini -q c:\users\benh\appdata\local\temp\tmplvbxbm.php)
[2014-05-30 14:06:59,250] [ERROR] koAppInfo: Caught PHP execution exception: %1 is not a valid Win32 application
[2014-05-30 14:06:59,250] [ERROR] koAppInfo: could not determine PHP version number for ‘c:\wamp\bin\php\php5.5.12\php.ini’:

%1 is not a valid Win32 application

[2014-05-30 14:06:59,250] [ERROR] koPHPLinter: koPHPLinter.py: checkValidVersion: Could not find a suitable PHP interpreter for linting, need 4.0

Try to reinstall PHP interpreter and select reinstalled interpreter in Preferences -> Languages -> PHP

No didn’t work any other ideas?

Do you have a license IDE?

No it’s just edit. It was working fine yesterday had new computer today windows 8 and it’s now decided to stop working.

Sorted deleted Komodo.

C:\Users<user>\AppData\Local\ActiveState**\Komodo**[IDE|Edit]<version>

You don’t solve your problem?

No I sorted the problem by deleting Local data, then this forcing Komodo to rebuild its database.

For future reference just deleting the “codeintel” folder will force a DB refresh as well, you don’t need to delete your entire profile folder (and thus your settings).

1 Like

I think you selected the wrong PHP interpreter (or your Windows PATHEXT is borked and contains “.ini” in it)? As the Komodo log showed this as the selected PHP interpreter:

[2014-05-30 14:06:59,250] [ERROR] koAppInfo: could not determine PHP version number for 'c:\wamp\bin\php\php5.5.12\php.ini':