I am running iTOP 2.0.2 on WAMP (Windows) and using PHP 5.3.9 as it was suggested in the sourceforge tickets to use a newer version of PHP but I was still getting this with version 5.3.1.
Any help would be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Tried an installation under PHp 5.2.17 and still go the error.
Installing Itop with no customization modules works just fine. But no matter what I try, when I try to add an extension and follow the steps in the documentation I get the error.
This is so frustrating!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OKay...I am happy to inform that I have somehow overcome the problem.
Looking through thr forums I found a custom module for adding currencies that DFLAVEN posted and tried importing that and it worked perfectly.
I notice that the only thing that was really different was that his module name started with itop-xxxxx-xxxxx so I figured, what the hell I got nothing to lose here.
And voilá, it worked!
THank you dflaven for helping me somewhat indirectly sir!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Okay this is annoying. After getting two modules installed correctly (dFlaven's currency example and the one I made), I went to install another one right off the module generator, following the naming scheme that worked before and now it's throwing the same error again.
Anyone out there have any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, we are also having exactly the same error with a WAMP based configuration. We are trying to create a new module and depending of the name of the module, the error
"2014-06-12 11:37:40 - Error - An exception occurred: Wrong filename in configuration file: file = , module = business, filename = C:\wamp\www\iTop//env-production/itop-profiles-itil/model.itop-profiles-itil.php at line 4806 in file C:\wamp\www\iTop\core\metamodel.class.php" is raised at compilation time.
For example:
toto is working
test is working
tinv is working
tinventory is working
Sample Module is working
inventory is not working
HPCMS_inventory is not working
stock is not working
Inventory Module is not working ..
etc ..
PHP is 5.5.12 / iTop is 2.0.2
Each time the problem happen because model.itop-profiles-itil.php is not generated ..
Any help would be greatly appreciated ! Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Stephan,
To Create and install a new extension, I have followed the steps which was described on the web,but when I reinstall iTop,iTop could not show the new extension. I have checked the location of generated files( is in the correct place:C:\Program Files\wamp\www\itop\web\extensions\monitor),but I could not find the reason why the iTOP did not show my new extension .
Could you help me please ?
Thanks a lot for your help !
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am running iTOP 2.0.2 on WAMP (Windows) and using PHP 5.3.9 as it was suggested in the sourceforge tickets to use a newer version of PHP but I was still getting this with version 5.3.1.
Any help would be appreciated.
This is what the log throws:
2014-02-19 21:58:22 - Info - operation 'async_action', peak memory usage. 3784240
2014-02-19 21:58:22 - Info - operation 'async_action', peak memory usage. 3771056
2014-02-19 21:58:22 - Info - Compiling data model.
2014-02-19 21:58:31 - Info - Data model successfully compiled to 'C:\wamp\www\pgt-itop2\web/env-production'.
2014-02-19 21:58:31 - Info - operation 'async_action', peak memory usage. 8302272
2014-02-19 21:58:31 - Info - Update Database Schema for environment 'production'.
2014-02-19 21:58:32 - Info - MetaModel::Startup (ModelOnly = 1)
2014-02-19 21:58:32 - Error - An exception occurred: Wrong filename in configuration file: file = , module = business, filename = C:\wamp\www\pgt-itop2\web//env-production/itop-profiles-itil/model.itop-profiles-itil.php at line 4812 in file C:\wamp\www\pgt-itop2\web\core\metamodel.class.php
2014-02-19 21:58:32 - Call stack:
2014-02-19 21:58:32 - #0 C:\wamp\www\pgt-itop2\web\core\metamodel.class.php(4661): MetaModel::IncludeModule(...)
2014-02-19 21:58:32 - #1 C:\wamp\www\pgt-itop2\web\core\metamodel.class.php(4553): MetaModel::LoadConfig(...)
2014-02-19 21:58:32 - #2 C:\wamp\www\pgt-itop2\web\setup\runtimeenv.class.inc.php(92): MetaModel::Startup(...)
2014-02-19 21:58:32 - #3 C:\wamp\www\pgt-itop2\web\setup\applicationinstaller.class.inc.php(542): RunTimeEnvironment->InitDataModel(...)
2014-02-19 21:58:32 - #4 C:\wamp\www\pgt-itop2\web\setup\applicationinstaller.class.inc.php(245): ApplicationInstaller::DoUpdateDBSchema(...)
2014-02-19 21:58:32 - #5 C:\wamp\www\pgt-itop2\web\setup\wizardsteps.class.inc.php(2029): ApplicationInstaller->ExecuteStep(...)
2014-02-19 21:58:32 - #6 C:\wamp\www\pgt-itop2\web\setup\ajax.dataloader.php(150): WizStepSummary->AsyncAction(...)
2014-02-19 21:58:32 - Info - operation 'async_action', peak memory usage. 23585232
Last edit: Marco Lima 2014-02-19
Just to elaborate a bit more:
I'm following the online documentaion on creating a new module so the Extension files are what I extracted from the ZIP files with no changes.
I've tried some debugging, forceably removing the extra "slash", inverting the slashes around, etc. and it still throws the same exception.
I'm literally unable to move forward with this as we've already populated iTOP with everything we need and I need to add some custom classes to it.
I don't want to go back to coding the PHP classes like in iTOP1.0 cos I'll lose flexibility.
Anyone have any ideas on a solution?
Tried an installation under PHp 5.2.17 and still go the error.
Installing Itop with no customization modules works just fine. But no matter what I try, when I try to add an extension and follow the steps in the documentation I get the error.
This is so frustrating!
OKay...I am happy to inform that I have somehow overcome the problem.
Looking through thr forums I found a custom module for adding currencies that DFLAVEN posted and tried importing that and it worked perfectly.
I notice that the only thing that was really different was that his module name started with itop-xxxxx-xxxxx so I figured, what the hell I got nothing to lose here.
And voilá, it worked!
THank you dflaven for helping me somewhat indirectly sir!
Okay this is annoying. After getting two modules installed correctly (dFlaven's currency example and the one I made), I went to install another one right off the module generator, following the naming scheme that worked before and now it's throwing the same error again.
Anyone out there have any ideas?
Okay this morning I went to install the Monitor Class from the example as a test and it worked. Seriously...what the heck? LOL
Could this be come kind of Cache issue or something?
Hello, we are also having exactly the same error with a WAMP based configuration. We are trying to create a new module and depending of the name of the module, the error
"2014-06-12 11:37:40 - Error - An exception occurred: Wrong filename in configuration file: file = , module = business, filename = C:\wamp\www\iTop//env-production/itop-profiles-itil/model.itop-profiles-itil.php at line 4806 in file C:\wamp\www\iTop\core\metamodel.class.php" is raised at compilation time.
All the void modules with different names we are trying to install are generated via the web page at https://wiki.openitop.org/doku.php?id=2_0_2:customization:start
For example:
toto is working
test is working
tinv is working
tinventory is working
Sample Module is working
inventory is not working
HPCMS_inventory is not working
stock is not working
Inventory Module is not working ..
etc ..
PHP is 5.5.12 / iTop is 2.0.2
Each time the problem happen because model.itop-profiles-itil.php is not generated ..
Any help would be greatly appreciated ! Thanks.
Hi Stephan,
To Create and install a new extension, I have followed the steps which was described on the web,but when I reinstall iTop,iTop could not show the new extension. I have checked the location of generated files( is in the correct place:C:\Program Files\wamp\www\itop\web\extensions\monitor),but I could not find the reason why the iTOP did not show my new extension .
Could you help me please ?
Thanks a lot for your help !
I have not encountered this issue again thankfully so I honestly have no clue as to what is causing this problem.
Perhaps rebooting the machine you have installed in might help? Only other possibility I can think of is some kind of temporary cache issue.
Thanks Marco for your answer. OK. Perhaps a cache issue as you said. We will live with the issue for the moment :-)