Sign Up for OSTraining

Welcome, Guest
Username: Password: Remember me

TOPIC: drupal 6-7 migration

drupal 6-7 migration 1 year 1 day ago #49367

Hello oschampions!
I am in the process of upgrading my website to drupal 7 and at this point I started to upload the modules in my production site.
At this time I got the following error message when running the update.php page while upgrading ubercart.
An AJAX HTTP request terminated abnormally. Debugging information follows. Path: newsite.livingcitymagazine.com/update.ph...N_i6hI&id=1709&op=do StatusText: ResponseText: ReadyState: 4
.
I have tried to increase the memory limit in the php.ini file and also uninstall ans reinstall the module several times. The funny thing is that it worked perfectly in my test site...
Any advice is greatly appreciated.
Mariana :)
Please become a member of OSTraining to reply to this post.

drupal 6-7 migration 1 year 23 hours ago #49372

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Hi Mariana,

Read this forum thread drupal.org/node/1069800

Here is one solution from that thread.
In case anyone stumbles upon this, I found the solution to _my_ particular problem:

we had changed .htaccess to redirect all URLs and include WWW.

however we never changed $base_url in settings.php to include WWW, and it was creating AJAX errors all over the site. Adding the prefix to our $base_url fixed all errors immediately.

Hope someone gets some use out of this.

See if that helps.

Cheers
ed
Please become a member of OSTraining to reply to this post.

drupal 6-7 migration 1 year 22 hours ago #49393

Hi Ed,
thanks for your advice.
At the end I uploaded each ubercart's folder one at the time and was able to have almost everything installed. I am missing uc_catalog, and I think that this folder created all the problem. I uploaded uc_catalog through ftp and then I run update.php and after 15 minutes that page was still on 1%... I reloaded the page and again got the error message mentioned in my previous post.
I tried to edit settings.php but noticed that the $base_url is already set to include WWW (at least I see the www in front of the url, if that is what you mean).
I didn't plan to use the catalog anyway, so I wonder if it's okay to use ubercart without it or it's better to re-try to install it, since it is a ubercart core file and also because I have some taxonomy info stored in the db.
Thanks Ed!
Please become a member of OSTraining to reply to this post.

drupal 6-7 migration 1 year 20 hours ago #49408

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
This page has some patches that are supposed to fix it. From my understanding, as long as the form is being submitted, it's more of a scary warning for users than an actual failure.

This seems to be very common to Ubercart and shopping carts in general since they make heavy use of AJAX. You might try searching the Ubercart forum for a solution, especially if the Drupal patches don't seem to work.

Ed
Please become a member of OSTraining to reply to this post.

drupal 6-7 migration 11 months 4 weeks ago #49525

Thank you, Ed!
I disabled javascript in my broswer and after that I was able to run update.php for the uc_catalog.
Cheers,
Mariana :)
Please become a member of OSTraining to reply to this post.

drupal 6-7 migration 11 months 4 weeks ago #49527

  • edandrea
  • edandrea's Avatar
  • OFFLINE
  • OSTop Dog
  • Posts: 3105
  • Thank you received: 7
  • Karma: 0
Very Cool! You are getting good at this.

Cheers,
Ed
Please become a member of OSTraining to reply to this post.

Sign Up for OSTraining

Copyright 2013 Open Source Training, LLC. All rights reserved.