I tried to update from my version to the newest one and everything went messed up.
I restore my backup, so everything is ok now, but I still would like to update: is there a way to prevent all the messing?
Thanks.

Comments

lrickard’s picture

Could you provide some more information about the problem?

Especially:

  • what version of views are you updating to? (Beta 1? Beta 2? etc.)
  • what version of PHP are you running?
  • describe how "everything went messed up"

How to report bugs effectively

upupax’s picture

I was updating from alpha5 to beta2.
Php is 5.2.0-8.
And "everything messed up" means that I got errors like missing contents and even an error about cache exceeding.
Maybe it's just my fault, but I'm a bit scared because the first time I updated from alpha4 to alpha5 all my views went lost, so I was wondering if it is normal (because of the alpha release) or if I'm doing something wrong.

lrickard’s picture

Ah. Well, that's definitely nothing like the problems I was experiencing. Hopefully someone else can help you out. You can help by copying the text of the error messages and pasting them here, or attaching a screenshot of the errors. The more precise details you provide, the easier it is for the hard-working maintainers to respond. Try to give them the information they need to recreate the error for themselves.

How to report bugs effectively

merlinofchaos’s picture

This is not a normal part of the update.

I will need the exact error messages to have any idea what's wrong.

bixed’s picture

Version: 6.x-2.0-alpha5 » 6.x-2.0-beta2

I think i have the same problem on my local test setup using Views 2.0-beta2 on Drupal 6.2 on PHP version 5.2.5.

The exact problem is that when i try to look at a view or edit it (only those two actions) i get the error message:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 782352 bytes) in C:\wamp\www\drupal\sites\all\modules\devel\devel.module on line 1351

i have found out that this is only happening when the Theme developer module is enabled, not when only the Devel module is enabled.

I don't remember exaclty which version of i views 2 i was upgrading from, but it might have been alpha5.

merlinofchaos’s picture

bixed: Theres another issue about Views + theme developer already; you should post on that one as the amount of memory you have available should be noted.

bixed’s picture

I have posted a new reply in issue #241408: White screen on view/edit or add form when Theme Developer module is on with even more details

merlinofchaos’s picture

Status: Active » Postponed (maintainer needs more info)

This issue is still waiting on the initial poster to provide more information.

upupax’s picture

Sorry for the long silence, but I had a lot of work and didn't have time to try another update.
Today before update it I tried to install CCK and I get this error:

PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 768457 bytes) in /var/www/www.xxxxxxxx.com/includes/database.mysqli.inc on line 303

And by now it's impossible to access to my site.
Luckily I have a backup.

So maybe the problem wasn't the View module, but something general!
But this is really odd! Why am I not more able to upload new modules??

upupax’s picture

Status: Postponed (maintainer needs more info) » Fixed

Ok, I found my solution here

http://drupal.org/node/220261

Mark as fixed.

hass’s picture

Theme developer module is one of the modules you should simple turn off. I tried it so often and it lock up your browser, lock up the PHP and so on an so on. Page loading with this module activated takes up to minutes with 100% CPU permanent load.

upupax’s picture

I didn't have theme developer module installed, but I had memory problems as well..

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

upupax’s picture

Just after you closed the thread it I discover where the problem was. I put this just in case someone has the same annoying issue.
The main problem was that View 6.x.2 Alpha5 insert the default frontpage view, that I already had.
This view is disabled by default, so it unpublished my previous content, and everything went "messed up" (images and menus disappeared).

upupax’s picture

Status: Closed (fixed) » Fixed

Sorry, I mark as fixed again..

Anonymous’s picture

Status: Fixed » Closed (fixed)

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