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

Random image block - links

Hi,

I'm trying to use this snippet I found in here to display a random thumbnail image from a specific gallery. I works fine, however I would like the thumbnail to link to that specific gallery overview page.
What do I need to add to the code to make this happen?

Anonymouse Users and Content Access

There are a number of threads on this topic so I have summarized some of those that were more relevant to hopefully help others in the future (and to ask if anyone has any additional ideas for my own problem in a followup post)

From the Troubleshooting FAQ:
Persistent 'Welcome to Drupal' for anonymous users
Ensures that:

  1. anonymous users have 'access content' permission and
  2. a node has been promoted to the frontpage

If those conditions are met then provides to SQL Queries to reset to the entire node access table

Forums:
Site contents not available for anonymous users?

  1. Recommends removing the evaulation module
  2. potential problems with organic groups and
  3. making sure that a user with ID 0 exists in the users table

anonymous user can't see content that they have been given access to (4.6)

  1. make sure unavailable content wasn't created by a user deleted from the backend
  2. make sure that modules that are mentioned in the "realm" column are active

Anonymous access to site is erratic

  1. Consider turning off the cache
  2. change table types from MYISAM to InnoDB

"Welcome to your new Drupal-powered website" message when logged out (2004)

Forum Numbers

I decided to rename and reorganize some of my Drupal forums. When I created a new forum with the name of an existing forum, it changed the forum number of the existing forum. I have a lot of links to that forum number and I'm annoyed that it no longer points to that forum. Is there a way to manually edit forum numbers with MySQL?

Thanks,

Jason Hyerstay

http://lcyc.info

array_merge_recursive() error appearing when editing articles

Version(s) where issue occurs: 4.7.2, 4.7.3
Microsoft IIS 6.0, PHP Version 5.0.4, MySQL 4.1.16-nt

I have been testing Windows Live Writer (WLW) of late, and up until recently it has been fine. I was merrily working along on a different machine where I had just installed it, and posted a new story to my blog. At the time I didn't give too much concern to the fact it had not retreived my category list (this feature had worked on a previous install on another unit).

On posting from within WLW, I drop over to my drupal site to manually edit the post to add category information when I receive the following message:

warning: array_merge_recursive() [function.array-merge-recursive]: Argument #2 is not an array in F:\websites\blog_insanitycreek_com\www\modules\node.module on line 1605.

(Error is on line 1610 with 4.7.3)

When this error is received, only the authoring and publishing groups appear. Error message only appears on this specific post and no others tested thusfar.

At the time I was running 4.7.2, and I assumed the individual module in question had fallen over. A couple of mouse clicks later and the original node.module file was restored. Again, try to edit the post but it returns the same error.

Attempting to solve the issue, I try this solution. The error cleared after this solution, however the problem of not being able to edit the content or categories sections remained. You however could now access the gsitemap, comment, menu, authoring, and publishing sections.

Drupal Session Cookies

I'm still trying to intagrate Drupal with my other non-Drupal scripts and my solutiuons of passing vars through url and forms does not cut it. I need to know how to read Drupal's cookie login. If you could please let me know how to tell if a user is logged in, I'd appreciate the pointer.

access denied for cck content HELP! users can't view content??!!

Just when I thought I made some headway creating my site, I was checking something and went into my test account and clicked on my content I created and it says "access denied."

I checked the access setting and users should be able to see their own content as well as other user's content.

I hope this is something I have overlooked, because content was visible last time I checked....

I just added views for this content page and that isn't even visible to users, only when I log into my admin account I can see everything....

Please help!

Pages

Subscribe with RSS Subscribe to RSS - Post installation