This forum is for questions about upgrading an existing Drupal site. Don't forget to read the UPGRADE.txt file that comes with every Drupal download.

Two small database quirks

Hi all

Thought I would add these two small problems as someone may have a clue what they mean, and they are the only other problem I seem to be having beside my post about nodes and roles. These are not mission critical as I could easily disable search and rarely check hits, but would rather try to get it working right if possible.

When I go to administer >> hits I get the following error message:

user error: Unknown column 'a.aid' in 'field list'
query: SELECT a.aid, a.path, a.title, a.uid, u.name, a.timestamp FROM accesslog a LEFT JOIN users u ON u.uid = a.uid ORDER BY a.timestamp DESC LIMIT 0, 30 in /home/fastst/public_html/test/includes/database.mysql.inc on line 66.

When I go to search site and run a search I get this message:

user error: Unknown column 'i.sid' in 'field list'
query: SELECT DISTINCT i.sid, i.type FROM search_index i INNER JOIN node n ON n.nid = i.sid INNER JOIN users u ON n.uid = u.uid WHERE n.status = 1 AND (i.word = 'sjdf' OR i.word = 'ljasdf') in /home/fastst/public_html/test/includes/database.mysql.inc on line 66.

I posted them together as they seem similar, perhaps connected. I'm not to good with msql but can use phpmyadmin if I need to. Thanks for any suggestions.

Caveman

PS. I just recently did the upgrade from 4.52 to 4.62. I ran update.php from 1/7/2005 on (I think that was the date). Otherwise little or no tampering with the 4.62 install.

Nodes problem & roles

I recently did the upgrade from 4.52 to 4.62 and after working through several database kinks and reentering block controls, seem to have it working--almost.

When I log in as admin, it all works beautifully. If I log in as one specific user-defined role (webmaster), it also seems to be working. But for any other role (I have several defined) I get nothing but page not found messages. Any suggestions?

upgrade.php doesn't appear to have any role/permissions

It is entirely possible that I'm being excessively paranoid and I'm open to hearing about it ;-)

I upgraded my test instance to 4.6 and took a look at upgrade.php (via web browser).

I realized that A) I could see the page while NOT logged in and B) I could potentially run the database upgrade script while not logged in.

I looked at a few of the Showcase sights and noticed some still had upgrade.php available. I thought it would be impolite to try and click the database upgrade link.

Error on modules section

I'm using drupal for a while now. But on one of my websites, being logg'ed as the admin user, when i go to the modules section, my fonts are messed up and on the top of the website, i see this:

"div>\n"; } $output .= " \n"; $output .= "\n"; return $output; } ?>"

I don't know what caused this, but i remember seeing this before 4.6.2. Does any of you know what could have caused this? Should i be worried?

Database upgrade error?

When I updated the database for 4.6.2 from 4.6.0 I got an error which I think I will need to fix manually:

Please check the attached screenshot:
http://iraszl.brinkster.net/forums05/update_error.jpg

Can you please let me know how to fix it, because I can't understand the instructions.
Thank you!

Attachments won't stick

I'm running 4.6.2 and using the Drupal upload module. When attaching a file to a node I am sometimes required to go through the process 6 or 7 times before the attachment will stick.

Select the file and click attach and everything looks fine in the preview. Submit the changes and the attachment disappears. This does not happen every time but it's very rare that an attachment will stick first time, maybe 1 in 10.

Everything looks OK, both the files and tmp directories have permissions set to 777.

This is very frustrating….any assistance would be appreciated.

Pages

Subscribe with RSS Subscribe to RSS - Upgrading Drupal