When trying to create new view, after filling the first form with View name and so on, after pressing Next button, I get Page not found.

Comments

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

Unfortunately, I'm unable to duplicate this on my test system.

elv’s picture

I have the same problem right now, but I really don't know what kind of information I can give to help.

I can clone an existing view, so I'm not totally stuck, but everytime I want to create a new one by clicking on the "add" tab it fails: after the first form I'm sent to admin/build/views/edit/my_view_name and get a page not found.

It's a fresh install of Views 6.x-2.3 on a newly created site. I's actually a 6.4, as they didn't upgrade since they started working on it (the site is not online yet).

I have a working local install, I only have the problem on the server.
The server has a pgsql DB, by the way.

elv’s picture

Ok, even with a duplicated view I run into a problem: if I create a new display and override settings, the changes are lost when I save the view. The defaults are then use instead.
Should I create a new issue? All these problems may have the same cause.

merlinofchaos’s picture

Are you running Postgres?

elv’s picture

Yes, the server has a Postgres DB.
I don't have the bug on my local install with a mySQL DB.

I'm told there are no errors in the Postgres DB logs though.

elv’s picture

Very interesting, the website has it's interface in french.
If I switch to english everything seems to work: I can create a new view, override settings in different displays...
We had this idea when we saw all there :en or :fr suffixes everywhere.

So, pawleeq if you read this and also have a translated interface (I see you're from Czech Republic), a temp solution could be to switch to english in your profile, and set "Path prefix with language fallback" in the Languages settings.
Once the views are created they seem to works on the frontend whatever the interface language.

elv’s picture

I think I'm narrowing the problem a bit, it has to do with non-ascii characters it seems.

I tried to edit the title in Basic settings, and it was not saved. Here's what happened: I clicked on the "title" link, set the title, clicked "Update" and the title was shown near the Title link in the basic setting panel. It seemed ok.
I clicked on Title again the field was empty, the value has actually not been saved. Even if I saved the View when the title appeared near the Title link, the Title field was not saved in the DB.

What's interesting is that the title I wanted to set had accents: "Boîte à outils" (french for Toolbox). If I write "Boite a outils" instead it works, but of course it is not correct french.

Here again, it works perfectly on my local install with mySQL and with accents in the title, but not on the server with Postgres. And nothing shows in postgres logs.

merlinofchaos’s picture

Have you tried with -dev? I did change a %b to a %s and that may be part of the problem there.

FrancS’s picture

Hi,

I have same problem with Views version 6.x-2.3.

If I try to create view with description write with diacritic (czech language) I got "page not found" error.
Other problem is same with diacritic as part of field header - I got javascript alert error message and must leave view modification screen.

Site run on postgre DB.

merlinofchaos’s picture

...and did you try with the -dev version, as recommended in #8?

elv’s picture

Okay, I made more tests since our chat on IRC a few days ago.

Quick reminder: we applied patch 172434 to a fresh 6.x-2.3 Views on a client's server with french locale, in a attempt to fix the above issues.

I've created new views, edited existing ones, entered non-ascii characters in lots of fields and overriden tons of settings.
I'm happy to report than since the patch was applied I've been unable to reproduce the bugs.

FrancS’s picture

Hi,

I try release views-6.x-2.x-dev as you say and everithing looks fine now :-)

dawehner’s picture

Status: Postponed (maintainer needs more info) » Fixed

so this can be fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jghyde’s picture

I just ran into this and found he problem has something to do with the menu cache (possibly).

Since I use drush (http://drupal.org/project/drush), I ran the command to clear all caches:

# drush cc

Selected the option 1, "all" caches.

After that, I reloaded my view I wanted to edit and instead of the 404 error, I was displayed the view edit page I wanted.

Joe

klucid’s picture

After patching my Admin_Menu module, everything seems to be working!

http://drupal.org/node/615058