Fatal error: Class 'view' not found in C:\Inetpub\vhosts\site\httpdocs\includes\common.inc(1641) : eval()'d code on l

jcbrew - January 14, 2009 - 05:30

When trying to post an article I get the following error:

Fatal error: Class 'view' not found in C:\Inetpub\vhosts\...\httpdocs\includes\common.inc(1641) : eval()'d code on line 2

I am using 6.8
Views 6.x.2.2
I have PHP enabled (tested and working)
PHP 5

The error went away after I disable PHP. I would like to enclude some php in a block on my side bar so this solution will not work for me. Anyone know why the PHP filter module is not working?

Can you post the code you

gforce301 - January 14, 2009 - 07:00

Can you post the code you are trying to paste in the node?

It was happening every time

jcbrew - January 15, 2009 - 14:11

It was happening every time I tried posting anything - regular text, html and PHP.

The PHP code that I tried using was code generated from the Views export... I have since removed the view and disabled the PHP filter.

BTW - I meant to type 'include' and not 'enclude' I guess that's what happens when I try to ask a question when I'm dog tired.

Here is the code I am trying

jcbrew - March 30, 2009 - 04:51

...

Nevermind I figured it out...

How did you solve this?

sorabh - May 15, 2009 - 19:12

Would highly appreciate your support!

 
 

Drupal is a registered trademark of Dries Buytaert.