After installing D5 (last version) and several modules, I try to install ERP.
First of all I enable the "main" ERP, and I save and run update script.
When I enable the other ERP modules (excluding: pdf and timesheet, as suggested), the program hangs after "save".
From php log I get the following:
PHP Fatal error:
Call to undefined function theme_add_style()
in /srv/www/htdocs/drupal/modules/erp/erp.inc on line 10
and I cannot use it anymore.
If I repeatedly rename directory /erp in order to enable / disable it (/erpX>/erp...)
I can do something with the other modules. But impossible to disabel it in the module list.
Thank you for help.
pm
Comments
Comment #1
drapulled commentedI get the same error
Fatal error: Call to undefined function: theme_add_style() in /home/mysite/public_html/main/modules/erp/erp.inc on line 10
Comment #2
swe3tdave commentedLine 10:
theme_add_style($erp_base_path .'/erp.css');theme_add_style is deprecated. This Should be:
drupal_add_css($erp_base_path .'/erp.css');Comment #3
qbantec commentedThat fixed it. Very cool project. I wish I knew more PHP and I would help out on it more. I'll provide as much input as possible.
Comment #4
singularoThanks Guys, this should be fixed in CVS now.
Comment #5
(not verified) commented