Hey, folks. The site I'm working on right now is designed to emulate an FTP browser, and I'm using Flexinode (hail Flexinode!) to create the file nodes. When you click preview on a file upload, it doesn't upload anything, and it wipes the information in the fields (!).
I understand the reasoning behind why it does that, but given that this site is designed to be as stripped-down and user-friendly as possible, I'd rather not have this functionality to confuse my tech-noob users.
So I made a custom error 404 Page (page cannot be found) > enter its URL into administer > settings > error handling in the 404 section > then enter a bogus URL like http://localhost/practice/jfdsfjsdklfjsdklfjdsfklsdhn to test it > my custom error 404 page is not returned. Instead, I get list item content from my home page that has a View applied to it. This is really strange.
This morning I noticed that Google was running into some "Access Denied" pages on my site. No problem, right? Some of the pages are protected from anonomous access. But then I dug deeper and noticed some of the public nodes were returning the "Access Denied" message.
What's worse is when I tried to hit the nodes as user 1, I got "Access Denied"
Oy!
The first thing I did was access the database directly to make sure the node in question existed. Yep.
I'm new to Drupal and I'm embarassed to write this, but I have set my site to Off-line status while I'm working on it and I can't figure out how to log back in as administrator. Please help. I am, apparently, an idiot.
I'm trying to set up block visibility to roles for some of my blocks and am *very* frustrated at this point. I choose Show if the following PHP code returns TRUE (PHP-mode, experts only). Then enter my code...and it is completely ignored. I've even tried just entering
return FALSE;
Which should never show the block, but it still shows up on every page.