I am trying to implement a class inside of a computed field. Understanding that I might be stretching beyond what can be done with a computed field, I am really pretty close and can use some help. I will be happy to post the code involved if anyone wants to look at it.
I edit the CCK node, hit submit and get a white page. Viewing page source reveals a fully built page. The submit has taken because the view source displays The <em>Donation</em> has been updated.</div> yet the following error messages are embedded within:
<li>warning: init_theme(./themes/engines/phptemplate/phptemplate.engine): failed to open stream: No such file or directory in /home/virtual/site610/fst/var/www/html/sfn/includes/theme.inc on line 78.</li>
<li>warning: init_theme(): Failed opening './themes/engines/phptemplate/phptemplate.engine' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site610/fst/var/www/html/sfn/includes/theme.inc on line 78.</li>
<li>warning: dript_get_lisp_object(./sites/all/modules/dript/lisp/lisp.inc): failed to open stream: No such file or directory in /home/virtual/site610/fst/var/www/html/sfn/sites/all/modules/dript/dript.module on line 120.</li>
<li>warning: dript_get_lisp_object(): Failed opening './sites/all/modules/dript/lisp/lisp.inc' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site610/fst/var/www/html/sfn/sites/all/modules/dript/dript.module on line 120.</li>
<li>warning: dript_get_lisp_object(./sites/all/modules/dript/lisp/dript.inc): failed to open stream: No such file or directory in /home/virtual/site610/fst/var/www/html/sfn/sites/all/modules/dript/dript.module on line 121.</li>
<li>warning: dript_get_lisp_object(): Failed opening './sites/all/modules/dript/lisp/dript.inc' for inclusion (include_path='.:/php/includes:/usr/share/php') in /home/virtual/site610/fst/var/www/html/sfn/sites/all/modules/dript/dript.module on line 121.</li>
</ul>
</div>
phptemplate.engine clearly exists.
When I resubmit the node, it displays perfectly with no error messages at all.
Any helpful ideas would be greatly appreciated.
TIA - jarea
Comments
Comment #1
jarea commentedI tried all sorts of things to make this go away. I also note that this type of error has popped up in a number of instances, but there is little information available about how to resolve it.
Anyway in my situation, the computed field was dynamically creating an encrypted PayPal button so I had no need to save it. Just for the fun of it, I turn on the save to database and magically the problem went away.
Go figure. There is still some strangeness lurking out there but it is no longer stopping my page from loading.
Coding this one closed.