Error page-exception

When the backend database is unavailable for any reason, drupal returns "Unpredicted exception thrown during exception handling", which is fine but returns a status of 200.

Is there any way to make this return as a 500 state?

Generate a unique serial number per user per node type URGENT

Hello everyone,

I'm working on a big project and i need to find a way to have a field in each node which shows which number the node is based on the author and content type

i.e. user 1 posts his 4th story the field displays 4
users 2 posts his 1st story the field on that node displays 2
then user 1 posts another story and the field displays 5
user 1 then posts his first page and the field displays 1

Basically like a auto-incremented serial number per user per content type which is saved in a field on each node "this is [user]'s 4th page"

Accessibility of rich text editor !

This is a test of the rich text editor, using Windows 7 + IE11 + NVDA Screen reader v2017.4

I am testing whether:

1. I can enter text here. Mostly a SUCCESS, but noticed it was occasionally possible to get a black paragraph, and not be able to enter text in it. I'm not sure how to reliably reproduce that.

setup Multisite, all working except images arent' showing on the main site

1) Created a subdomain "store" and point the subdomain to the main domain's document root
2) Create a folder in sites directory; store.maindomain.us
3) Created a new database, new user for the subdomain site
4) Copy settings.php to the 2nd step folder and update to point to the new database
5) went to store.maindomain.us/install.php and installed drupal
6) Created another for maindomain.us in sites folder
7) moved maindomain.us specific modules to step (6) folder

PFA of error occurred during installation

Installation error: Drupal\Core\Config\UnmetDependenciesException:

How to Solve?

file_exists not working in my drupal module when checking for a folder on remote server

Hi,

I am struggling since a few days with a module that I develop for Drupal 7. I use ssh2 to connect to a remote location and use $sftp, $con  and $user_home_dir to check for the existence of the folder specified in $user_home_dir. The code runs fine when I simply do a test in a php file and call it from the browser. The code fails if I use it in a drupal module and that's why I suspect it to be a drupal specific issue. ssh2_sftp works fine and I can create directories, rename them etc.  

Pages

Subscribe with RSS Subscribe to RSS - Drupal 4.5.x or older