Quantcast
Channel: User anschauung - Stack Overflow
Browsing all 40 articles
Browse latest View live
↧

Answer by anschauung for Error: Forbidden Access Message (Drupal-6.x)

Short answer: the web root should be pointing to the index.php in the Drupal root for all of the sites you're hosting on that codebase. In your case, you are getting an error because there's nothing in...

View Article


Answer by anschauung for Batch process list

A few ways:You can use tasklist, wmic process list (on most Windows machines), or get-process if you are using Powershell.

View Article


Answer by anschauung for how to force drupal function to not use DB cache?

Where are you calling this? For example, are you using it as part of your template.php file, as part of a page, or as an external module? Unless you have this wrapped in a function with its own...

View Article

Answer by anschauung for In SQL, how do I exclude result from SELECT * FROM ...?

There's no way to do this because 'SELECT *' is a bad idea in a production environment anyhow. Just think of all the extra error-catching that would need to be done if something like this existed --...

View Article

Answer by anschauung for drupal table with the edit link

You'll want to have $rows = array(); appear before your while loop. What you're doing is essentially destroying the array and redeclaring it as an empty array on each pass. This is why only the last...

View Article


How to load a theme's clear.css before system.css and other module stylesheets?

So, I'd like to use a CSS reset (such as http://bit.ly/gd2hQX) as part of a theme I'm assembling. This will help me avoid assorted headaches with user agent defaults.I dutifully mention clear.css in...

View Article

Answer by anschauung for Is there a way to tell Drupal not to cache a...

This doesn't answer your specific question about caching, but -- consider using Drupal-native solutions like the Picasa module for things like this. When you use non-Drupal PHP applications in a Drupal...

View Article

Answer by anschauung for Drupal (6.19) cron exhausts memory when doing search...

My first suspicion is that there's a big 'ol whopper of a node in the queue that's putting you over the limit. There are a few ways to test for this:Check the search_dataset table in your database for...

View Article


Answer by anschauung for Drupal: How do I programatically create a URL alias...

Tough to tell how complex you'd like the aliases to be, but the pathauto module seems like it would be a simple solution to your problem. It allows you to generate aliases automatically based on...

View Article


Answer by anschauung for I'm pretty sure I'm suppose this statement

Consider deleting the extra set of <!DOCTYPE>, <HTML> and <HEAD> tags. I'm not sure if they're the source of your js errors (you didn't tell us what the errors were) but they...

View Article

Answer by anschauung for Using .ai (adobe illustrator) variables with Drupal...

Short answer: no.Longer answer: This is theoretically possible, but.What you're referring to really amounts to rewriting some of the fundamental underpinnings of the internet. This would require, at...

View Article

Answer by anschauung for building websites with drupal

Depending on how "regular" your "regular" website is, you might consider another platform. All of Drupal's complexity and versatility, along with the time you spent learning them, would go to waste if...

View Article

How does one have Greasemonkey run before *anything* else in the page?

Is it possible to have Greasemonkey scripts run before anything else on the page? I'm aware of @run-at document-start, but this appears to run immediately after the <HTML> tag. Normally this...

View Article


New Bounce Processing Templates in Mailman

When mailman receives a bounceback in a format that it doesn't recognize, it discards the message and sends an "Uncaught bounce notification" to the list administrator.How would it be possible to...

View Article

Running hook_cron with administrator privileges in Drupal 6

Is there a way to allow hook_cron to run with administrator privileges -- e.g a sort of sudo hook_cron() as it were?This question is a follow up to my earlier question trying to diagnose why...

View Article


Does Drupal parse hooks that aren't being used?

Does Drupal parse (and/or run) hooks that are unrelated to the content being loaded by the current user? For example, say I had a module foo installed and active with the following hooks:<?php // .....

View Article

Answer by anschauung for For the django admin, how do I add a field to the...

First the "is it plugged in?" question -- Have you manually added new_field to the users table in the database? Syncdb wouldn't have taken care of that, of course. After that, I would try appending the...

View Article


Tools Debugging CSS in Internet Explorer

Are there tools other than Firebug Lite that might help one get into Internet Explorer's buggy little mind and find out precisely where and why it's mangling my CSS so badly?Firebug Lite is a useful...

View Article

Answer by anschauung for Why would a web page be blank even if the source was...

It will help quite a bit if you edit the post with some samples of the code you've tried. Sometimes a helper can spot problems that you didn't notice.My first guess would be that your JavaScript...

View Article

Answer by anschauung for Font of all headings in a Word Document

The basic structure will be something like below:Public Sub ShowFontAndSize() Dim singleLine As Paragraph Dim lineText As String For Each singleLine In ActiveDocument.Paragraphs Debug.Print...

View Article
Browsing all 40 articles
Browse latest View live