I added a new view to the site and then realized the whole configuration of the required fields and tried to save. But the view is not saved and is displayed the following warning:

"user warning: Unknown column 'view_php' in 'field list' query: INSERT INTO views_view (name, description, tag, view_php, base_table, is_cacheable) VALUES ('escritorio', 'O Escritório', 'O Escritório', '', 'node', 0) in C:\wamp\www\mail\sites\all\modules\views\includes\view.inc on line 1649."

"The page you requested was not found."

I tried several times and the result was always the same.

I need help.

Tks.

Comments

dawehner’s picture

Status: Active » Postponed (maintainer needs more info)

First take sure that you really runned update.php
If you runned update.php from which version to which version did you an update? 6.x-2.dev to 6.x-3.x-alpha3?
That's not supported because alpha3 is older.

In geeneral some informations/context would be cool, but you can probably fix it by update to the latest dev + running update.php.

astutonet’s picture

The update.php had been run several times, including. But I made sure to run it again before answering.

After I ran the update.php, I tried again to create a new view, but unfortunately the previous result was repeated.

This is a new site, it is totally clean, with very little content. It's at localhost and it was not installed earlier version of the Views module. Nor is there any view created manually.

If I try to use the dev version, can I solve this?

dawehner’s picture

Please make a backup and try it out :)

astutonet’s picture

Category: bug » support
Priority: Critical » Normal
Status: Postponed (maintainer needs more info) » Closed (fixed)

Solved.

Tip:

1) I disabled the module Views and all other that depended on it;
2) I uninstalled the module in admin/build/modules/uninstall;
3) I also removed the installed version of the server;
4) I cleaned the cache and restarted the process of installing the module.

Tks.