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

Work slow down, pages won't load?

Our new drupal site is up and running with no real issues so far except once in a while when I try to go to a new page or return home the site just seems to hiccup and won't go anywhere, it acts as if it's loading but never finishes loading the page. I can usually go back to the page where I was before I tried to open the new page. But, if I click to reload the new page, I'm still stuck in a time out. Could this be a server-based issue or is it something related to drupal? Anyone have any ideas?

Appreciate any help!

Trouble with images not showing up, database connections maxing out

Greetings, everyone. We've recently started having all sorts of nasty problems at our drupal installation at http://armchairarcade.com/neo. We have the latest 4.7 drupal installed with image and img_assist (all latest versions).

Anyway, one of the recurring problems is that some (not all) of the images fail to show up in the blog posts on the frontpage (or sometimes even in the blog post dedicated pages). It seems virtually random how many and which ones actually show up. Sometimes none of them show up. Everyone seems to have this same problem, whether they're using FF, IE, or Safari. I've tried and tried to find this glitch but can't do it.

Another far more serious problem is that lately our site has been suffering from a mysql error--"maximum connections reached." This is inexplicable because we have NOT enjoyed a increase in participation, and the webstats at cpanel indicate that we're receiving about the same # of hits as always. We've tried throttling drupal and banning ip's that generate too many hits on our site, but that doesn't seem to affect the situation. Last weekend, we could barely access the site because we kept getting these errors (this is through modhost).

Modhost suggested that Drupal (or a "rogue module") might be a "resource hog," but again, I don't see why we'd suddenly be getting all these errors.

It may be a coincidence, but we have a script kiddie who launched a DoS attack on another website recently and brought it to its knees. "Bigchris" is on our website now (at least, he made a forum post), and we have reason to believe (but no hard evidence) that he's somehow responsible for this. Could there be a connection? If so, what, if anything, can we do about it?

How to break down a list of nodes by location with the Views module?

Hello,
I'm building a directory where every entry has a location (handled by the location module).
I'd like to build a view to navigate by location within the directory.

The initial view would be something like:

COUNTRY1
- ProvinceA (28 entries)
- ProvinceB (35 entries)
- ProvinceC (1 entry)
COUNTRY2
- ProvinceA (10 entries)
- ProvinceB (4 entries)
...

Then, clicking on a province would refresh the view as follows:

Upgrading modules confusing

A day or so ago I followed the upgrade process after installing a new version of the gsitemap module. Firstly, are the string of numbers meant to mean anything to anyone? Do they indicate something to me that I am supposed to know? I have absolutely no idea what they mean or which one I was supposed to select, so I just selected the highest one for the relevant module and left all the others untouched.

war against spam captcha or badbehavior?

Does anyone have any thoughts on which is better? Maybe some success or horror stories?

Where do I insert the function call for taxonomy image module?

Hi folks - hopefully a simple question. I've searched the forums and come up short. I'm trying to add an image that changes based on the taxonomy of the content so I'm using the "taxonomy image" module. I'd like to place the image tag in my page.tpl.php file (using 4.7/PHPTemplate) rather than inside the node itself. The instructions for installing taxonomy image (see below) seem to say I simply need to add

<?php taxonomy_image_display($term->tid); ?>

wherever I want the image to show up. When I place that within my page.tpl.php file the page doesn't render - I get a blank white screen in the browser. I'm brand new to Drupal and using it to re-do a corporate website. So any help would be tremendously appreciated! Here are the install instructions (which I'm probably misinterpreting):

Step 7)
  Update your theme or other php code to display taxonomy images.

  To display a taxonomy image from your theme or other php code, add
a call to taxonomy_image_display().  This function requires that you pass
in the term id of the term for which you wish to display the appropriate
image.  For example:
   taxonomy_image_display($term->tid)

  This will return an Only local images are allowed. tag with the appropriate values for source=,
height=, width= and alt=.  For example, it may return something like:
   Only local images are allowed.

Pages

Subscribe with RSS Subscribe to RSS - Post installation