I have a freshly installed OpenPublish 2 which seems to work so far. But when I want to preview an article I get the following error:
warning: include(./sites/all/modules/openpublish_core/op-related-terms.tpl.php) [function.include]: failed to open stream: No such file or directory in /[path_to_openpublish_root]/httpdocs/includes/theme.inc on line 1066.
Obviously the file op-related-terms.tpl.php ist not in the modules/openpublish_core, but in the themes/openpublish_theme/components directory, but there seems to be something wrong.. where does this not working path comes from and how should I fix that?
Thanks for your feedback!
Martin.
Comments
Comment #1
boonen commentedWhen you're on Linux, you can quick fix this issue with the following command:
ln -s ../../themes/openpublish_theme/components/op-related-terms.tpl.php op-related-terms.tpl.php
Comment #2
vbplusme commentedThis seem like its a path or missing file issue. Is a permanent fix available for the bug? I don't have linux root access so submitting a link command for me isn't an option. Thanks anyway.
Comment #3
mthart commentedI'm getting the same error.
Anyone?
Comment #4
tirdadc commentedComment #5
punjabi commentedMartin, mthart
Go to theme settings and select openpublish_theme and set it to default.
For some reason drupal does not set the default theme to open publish hence the confusion to the script.
Comment #6
tirdadc commentedI'm pretty sure 2.2 has OpenPublish as the selected default theme and the warning is still there. Please do not change the status as I'm looking into this.
Comment #7
tirdadc commentedThere will be a much improved version of the preview functionality in 2.3, and this is also taken care of as part of it.
http://drupal.org/cvs?commit=459052
Comment #8
tirdadc commentededit: double post