Programmatically authentication problem

Hi 2 all!

Don't know, right topic I choose or not, but here we are.

I have a problem with user auth via ajax. Here is a code:

function logInUser($uid) {
        global $user;
        $user = user_load($uid);        
        
        $login_array = array('name' => $user->name);
        user_login_finalize($login_array);
    }

Send to array uid. When ajax called there is no errors, in watchdog I see "session for user USER is opened" and user setted to USER. But there is no auth.

Pager elements in slideshow not clickable

Hi all,

on a page I have a jQuery slideshow. Elements in the slideshow consist of a title and a long text. 

The slideshow has a pager attached. Each pager element shows the corresponding slideshow element's title. 

Problem is that the pager elements are neither clickable nor can they be selected. And the pager shows up "inside" the text. The pager should actually show up above the text. The link to the page: https://bioenergetik-in-berlin.de/marina-di-leo

Only able to add certain images

Hi all.

I'm currently in the process of uploading images to my website but when uploading an image via 'image' in a content type I'm only able to add certain images. I keep getting the error message 

  • The file could not be saved. An unknown error has occurred.
  • The file in the Image field was unable to be uploaded.

I've taken a look in the logs and all it says is 'The file upload failed. field_image_und_0'.

Very frustrating as it happens with a few images.

Any help is welcome.

Thanks

php 7.1 break drupal 7 website

Hi

I use ispconfig as my webserver.

I had a drupal site working perfectly on php5.4 but then i upgraded google recaptcha and it disabled it saying i need at least 5.5

i finally got the server upgraded to 7.1 as 5.5 is also really old.

once i put the site on 7.1, when i try to edit certain basic pages (specially if they are very large pages withs lots of write up in it), i get 2 problems.

1. i cant see anything to edit if i have ckeditor on, if i turn it off, then i can see the text to edit with html codes

Issues system from drupal.org

Hello,

Does a module manage the issues system from drupal.org ?

https://www.drupal.org/project/issues/

I would like to create the same system on my website to manage tickets.

Thanks !

Redirect https

I've configured .htaccess to redirect to my website to force 'https' and 'www'. Below is the code i'm using 

   RewriteCond %{HTTP_HOST} .
   RewriteCond %{HTTP_HOST} !^www\. [NC]
   RewriteRule ^ http%{ENV:protossl}://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
   
   RewriteCond %{HTTPS} off
   RewriteCond %{HTTP:X-Forwarded-Proto} !https
   RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] 

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x