Problem with workflow_ng

Posts: 8
Joined: 02/10/2008

Hello, I'm new to ubercart so i apoligise if this question has already been asked

I recently installed ubercart and when ever I click the workflow_ng menu item at adminsiter > site builder > workflow_ng I get a blank page with the following error.

Fatal error: Call to undefined function workflow_ng_default_configuration() in /home/photonli/public_html/sites/all/modules/workflow_ng/workflow_ng/workflow_ng.module on line 744

Have I set up the site wrong somehow?

Great software guys, thanks for any help you can give.

Adam

Posts: 68
Joined: 01/19/2008
Uber Donor

Maybe check out the modules page and make sure all modules
it depends on and required by are working.

Depends on: Token (enabled)
Required by: Configurable Content Links (enabled), Cart (enabled), Order (enabled), Payment (enabled), Shipping Quotes (disabled), Recurring Payments (disabled), Taxes (disabled), Workflow-ng UI (enabled)

Posts: 4747
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

I imagine this has something to do w/ the way Workflow-ng includes files. Are you using caching on your site?

Posts: 8
Joined: 02/10/2008

The site currently has no caching if I'm right in thinking you mean this page:

badminister > site configuration > performance
caching mode: disabled
minimal cache lifetime: none
aggregate and compress css files: disabled

This is the module report:

Depends on: Token (enabled)
Required by: Configurable Content Links (disabled), Cart (enabled), Order (enabled), Payment (enabled), Shipping Quotes (enabled), Recurring Payments (disabled), Taxes (disabled), Workflow-ng UI (enabled)

Any other ideas? Thanks for your help thus far.

Posts: 4747
Joined: 08/07/2007
AdministratorHead Code Monkey - I eat bugs.

Honestly, I don't know why this would keep failing. A simple fix would be to move the code from workflow_ng_defaults.inc into workflow_ng.module and remove the .inc file. You may have more luck at the Workflow-ng issue tracker.

Posts: 8
Joined: 02/10/2008

Sorry Ryan to of wasted your time but I copied the a new copy of the module across and it seems to be working fine now. Must of been a partial or corrupt upload before.

Thanks again.

Posts: 10
Joined: 03/12/2008

hi ryan...i have the sme problem..im now using ur advice to move the code from workflow_ng_defaults.inc into workflow_ng.module and remove the .inc file, but there is no workflow_ng_defaults.inc file in the module files folder. i do see the workflow_ng.module file though.

any suggestions as to wat i should do

thx in advance

Posts: 64
Joined: 02/13/2008

Dirtyharry have you tryed doing what eyesnight did by reuploading the module?

Posts: 10
Joined: 03/12/2008

thx alot...yes and it works now...