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

News Page SQL errors

Maybe someone can help me.

I installed the latest version of news_page module (from cvs for 4.7), enabled it, set up permissions (although not needed for admin role), created a vocabulary in the 'categories' section called 'aggregator' and linked it with 'news page', then I went to 'add term' to the vocabulary and I get the following SQL errors:

    * warning: array_keys() [function.array-keys]: The first argument should be an array in /home/mysite/public_html/mydir/modules/user.module on line 351.
    * warning: implode() [function.implode]: Bad arguments. in /home/mysite/public_html/mydir/modules/user.module on line 351.
    * user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1 query: SELECT DISTINCT(p.perm) FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN () in /home/mysite/public_html/mydir/includes/database.mysql.inc on line 120.

When I go to create a page without adding a term and try to create 'news page' I get this:

"You must create at least 1 aggregator category before creating a news page." in red at the top of the page.

If I disable the module and add the term and then enable and try to create a 'news page' I still get the above message.

But then I can't get past the SQL errors either.

This is what watchdog displays:

How does one force the tracker module to show more than 25 lines?

Obviously I'm barking up the wrong tree. I've changed every instance of

($sql, 25, 0, $sql_count ...

to

($sql, 100, 0, $sql_count ...

but the tracker still displays 25 rows.

So what am I doing wrong?

multi-sites on virtual host

Using drupal 4.7.3 on dollar-hosting.net - a fairly typical virtual host. I do not have ssh, or httpd.conf access, but, I may be able to get the site admin to help me out, if my request does not impact his other customers. database name are assigned a set prefix.

I have already created sub-domains, that was easy.

I have also copied the site/defaut/settings.php to:
sites/sub1.domain.com
sites/sub2.domain.com

Multi Domains to one domain name

Hello,

I'm running a couple of sites that have multiple domain names that point to the main site. I would like all the names to resolve to the main domain name in the address line if someone types in any of them.

I see two ways of accomplishing:

1. Making sites/ directory for each one but the the same settings file (MySQL access and base url). In one case there are about 8 different domains that point to the one (*.net, *.org, etc.) I don't use the default directory for it since I have 2-3 main domains there.

newsletter with cck field values?

Is is possible to create a newsletter with php snippets with the same cck field values as the user to subscribe to?

I am trying to give users the ability to be notified when the same cck field value is created.

Please...anyone?

Strange issue with book navigation menu

On a new 4.7.3 site, I created a book, added some pages and enabled the book navigation block. I have the block configured to show the book navigation menu on all pages except admin.

Strangely, the book nav menu doesn't show up anywhere on the site (I had set it to the left sidebar in bluemarine with a higher weight than admin/navigation) nor can I see a book menu at ..admin/menus.

Incidentally, I am using the book module for creating a hierarchical section. Just wanted to do a site with regular taxonomy and book modules;-)

Pages

Subscribe with RSS Subscribe to RSS - Post installation