Hi,
I was able to run update.php successfully on my site as per documented steps in UPGRADE.txt file. But I see the following stopper issues.
1. Update completion page prompts "Main & Administration Pages" link. But none of them gave me site login page. I always see site off-line status because I made the site off-line as per one of upgrade process step. It is bad that the same upgrade process does not prompt the user to login after completion of upgrade. No clue is found in UPGRADE.txt file either. I would think, this is serious documentation issue as user is not given any direction.
2. After digging so may forum threads and posting a question in forum, I found that I had to use url like this after update is done.
http://www.mysite.net/?q=user/login
But this prompted me new error as seen below.
Fatal error: Call to undefined function taxonomy_context_get_context() in /home/mysite/public_html/includes/common.inc(1695) : eval()'d code on line 4
Now I spend a day searching all the forum threads or searching in google but, I did not find any clue though many people posted the same kind of issue. It is unfortunate that my site is off-line now because of this issue.
I would really appreciate if someone can provide me resolution on this.
Comments
Comment #1
grendzy commentedThis error indicates a bug in something run through drupal_eval. Most likely, this is code that has been entered using the PHP input format, or PHP block visibility settings.
One way to find it might be to dump your database with the --skip-extended-insert option, and search for occurrences of the taxonomy_context_get_context function.
Comment #2
zirafi commentedHi,
Thank you for your suggestion. The problem I'm having with my hosting server is that I can not run mysqldump command remotely from my localhost. Shared hosting that I'm having doesn't allow it. So I imported the database file into my localhost. So now I am not sure how do I look for that function in the downloaded database file?
Comment #3
zirafi commentedOk, I finally figured out "blocks" table has this entries. Once I deleted the PHP block code, I am able to login.
thanks
Comment #5
zirafi commentedBut there is no fix yet for this right? Where is trace of the fix? I'm wondering if this is not considered as bug?
Comment #6
grendzy commentedThis isn't a bug in drupal - there's nothing that we can do to prevent users from writing invalid PHP.