Drupal is up and running but how do I ...?

users_uid reset to zero!

Drupal 4.7.2
Apache 2.2.3
MySQL Ver 14.7 Distrib 4.1.20
PHP 5.1.6
Zend Engine v2.1.0
Red Hat Linux 3.2.3-54
Linux kernel 2.4.21-47

I'm working on a site that is getting very high usage (e.g. 10,000 database hits per second), where people are registering at a rate of about 3,000 per day. Well, they were until the users_uid in sequences got reset to zero. At that point two things happened: first, the people who just registered couldn't log in as their registration attempt had failed due to a duplicate UID, and second, the entries in profile_values began getting overwritten, starting at zero.

By the time we found out there was a problem, the first 3,300 entries in the profile_values table were mush. The hosting company had no database backups. The data in profile_values is very important as it contains, among other things, the user's declaration of age and permission to be contacted.

The end result is that 3,300 users failed to be registered, and another 3,300 users have had their profile information incinerated. Also, since registration has been turned off for the last several days, we've missed out on registering tens of thousands more people.

I've searched this site and Googled for quite a while but have come across no other instance of this happening. Does anyone have experience in this area? Is it MySQL? If additional details are required, just ask. But don't ask the name of the site. :)

Image Module.Create Content Form - Table missing.

I have just installed the image module. When I test creation of a new image with /node/add/image the following error is displayed:

user warning: Table 'drupal.relations' doesn't exist query: SELECT left_id FROM relations WHERE right_id = 0 AND relationship = 'gallery-image' in /var/www/drupal/includes/database.mysql.inc on line 120.

This installation was an upgrade from 4.5 and the image module is the latest 4.7 version.

What might have failed to cause this table not to exist? Any ideas on how to fix the problem? (I do have access to mysql.)

Thanks.

help with splitting this php snippet requested

Ok here is my snippet I am using on the front page of:
http://www.centernetworks.com

Images on List View

In the module "VIEWS", I'm facing some problems in showing an CCK-Image.
In the VIEW TYPE, the image just appears when I select "full nodes" or "teaser list",
and I need to show that when selecting "List View".
I would appreciate any help.

Tks.

How remove "username's blog" from $links

Hi,

how can I remove "username's blog" from node when using "print $links".
Or is there some $commentlinks that I can use to achieve same thing.
Thanks!

Image assist wont open a popup in full size

I want an image to be viewed preview size in a page then clickable to open in a new window in original size.

Presently when I select 'open in popup' under 'Link:' the popup works but the image is in preview size.

Im sure there is a simple solution. Im just a nube so I don't know much (yet)

Also where can I customize the preview size. preview size is a little larger than I need.

anyone have a solution?

Pages

Subscribe with RSS Subscribe to RSS - Post installation