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

menu item based on groups

Greetings,

I have 6 groups I've setup. Some content in the site is specific to certain groups. I have a menu that shows up on a block only when a user is logged in. What I desire to put in this menu is items based on their group membership. This is a hand-written menu at the moment, since I don't know how to do this programmatically.

I want to do something rather simple (to my thinking), but am array-handling challenged and need some help.

So, I can see my group info by entering this command:

global $user;
print_r($user->og_groups);

Here's the output:

imagecache not creating thumbnail images

FYI, Drupal v5.1.

I've created an imagecache profile, assigned it to a CCK field on a content type, but when I upload a file to a node the cached file's path isn't what it should be and doesn't load.

The path the page tries to load is something like this:

http://mysite.com/system/files/imagecache/product_images//home/mysite/pu...

.. where "product_images" is the profile name.

Messed up.

I put i some arbitrary php code on one of my right sidebar blocks and it seems to have conked it.
Neither my main page nor administration pages... no pages basically are working .

This is the error message that I get - "Fatal error: Call to undefined function: add_action() in /hsphere/local/home/bangalor/bas.org.in/Home/includes/common.inc(1342) : eval()'d code on line 140"

What do I do ? How do I get rid of whatever's conking it up ? Troubleshooting Please. Thanks in advance :-)

Moving a Working Windows 4.7 to Linux doesn't work

I've spent all day trying to get my 4.7 sites that work on windows xp localhost to work on my centos 4.4 (basically redhat enterprise) linux box. They work fine on my windows box but not on linux.

The mysql/php/apache versions are identical or greater on the linux box (5, 5, 2).

On the linux box:

1) I've verified that phpinfo.php works from within my drupal tree so I know php is working (in order to test this I moved phpinfo to the normal index.php)

2) I phpmyadmin dumped the dbs from the windows box and then imported them into my linux mysql setup. I can log into mysql directly with the user/password combos as specified in my site settings.php files. So the db tables seem correct

What sucks is that my X is not running well on the linux box, so i have to bounce back to my windows box on the same network and check my linux sites in the windows browser via "http://192.168.1.99/drupal474"

When I try to bring up any of my sites on the linux box... they all seem to want to resemble a fresh drupal install where you get teh first page asking you to create accounts, etc. The user/password input boxes exist but they never accept any of the user/password combinations i know work for a given site.

website messed up on firefox and iexplorer 7, seems to work on iexplorer 6

Hi,

my website has the menus from the sidebars on the right, flipped over and overlapping on the content pages to the left. This display seems to occur with iexplorer 7 and firefox, but on my desktop where i haven't upgraded to 7, it displays correctly on iexplorer 6. Once you hit any link it resolves, but when you enter the site it looks terrible and difficult for ppl to log in.

I don't think my cronjob is working right

Hello all,

I have a cron job set up on my server and it runs once an hour. I get these nifty little emails every time. I went into my settings to the cron jobs tab and it says that the last cron job ran 2 weeks, 3 days ago. Also it seems like my cron email is telling there are problems with the cron. Not sure what it all means though. I am not sure what to fix either.

Here is the email. It is the same every time:

Pages

Subscribe with RSS Subscribe to RSS - Post installation