Forums / Developer / Blank page with ez 3.2-2 approve workflow and apache 2.0
Luca Corbo
Friday 24 October 2003 2:36:16 am
Hi, allI've use ez 3.2-2 with apache 2.0.47 and php 4.3.3.
If I use it without workflow, works normally. But if I use approve workflow and send to publishan object I see a blank page.
I've configured apache with AcceptPathInfo.
I've make the same step with apache 1.3 and it works.
May you help me?
Thanks in advance,
Luca
Stuart Fenton
Friday 24 October 2003 4:54:41 am
I think this is a bug as I have been trying to track it down myself. I have sent a support question into ez so I should get an answer shortly.
In the meantime here is a temporary fix:
If you set DebugRedirection=enabled it works correctly but you have have to manually click the redirect button.
(in /settings/site.ini ) [DebugSettings]DebugRedirection=enabled
Hope this helps. I will update this message if I get a fix for it.
ThanksFats.
-- Stuart stuart@grandmore.com http://www.grandmore.com
Paul Forsyth
Friday 24 October 2003 5:17:25 am
We have a different bug but it sounds similar:
http://ez.no/developer/ez_publish_3/bug_reports/fatal_error_cannot_redeclare_class_when_using_workflow
Paul
Friday 24 October 2003 8:50:22 am
Hi, I've enabled the DebugRedirection and it works.
If you don't want the manually redirection, you can add this javascript code after the tag </form> in /design/standard/templates/redirect.tpl
<script type="text/javascript"> document.Redirect.submit();</script>
Hope this helps.
ThanksLuca
Tony Wood
Friday 24 October 2003 9:42:08 am
If it helps; Approve workflow does work, its just a problem when you are set as a user who does not need to approve the workflow. Then it crashes.
Tony
Tony Wood : twitter.com/tonywood Vision with Technology Experts in eZ Publish consulting & development Power to the Editor! Free eZ Training : http://www.VisionWT.com/training eZ Future Podcast : http://www.VisionWT.com/eZ-Future
Monday 27 October 2003 2:18:57 am
I've this problem only with apache 2.0. With apache 1.3 approve workflow works without problem.I've used the same configuration with apache 2.0 but doesn't work.
It crashes after publishing on the page:http://xxx/content/edit/xx/x/
If I set in the site.ini:
DebugRedirection=enabled
and add the javascript code in redirect.tpl:
it works.
Wednesday 29 October 2003 6:05:31 am
This is the reply from Bjørn in Ez. This means I am about to uninstall all the apache and php files and move backwards to an older version.
I'm sure it will work but I see a day or two changing all my preferences to work.
Quote>Hi Fats,
Tested this locally with apache 1.3, and here it worked well with the method you described below.
I would not recommend you to run eZ publish with apache 2.0 yet, since eZ publish are not tested enough with this version, and the combination with apache 2.0 and php are not stable enough yet. Apache 1.3.28 is the version I would recommend you to run on eZ publish.
Regards, Bjørn<Quote
I'll let you know how I get on.
Fats.