spam uploaded to private files

I recently took over a drupal site that was built by someone else and moved it to my linux based hosting.  It was hosted on a patheon server.  The site move went fine - the site is all in tact and everything works as expected, except... my client has Google Search Console setup and shortly after the site move, he started getting 404 notices for multiple PDF files that look like spam.  Files like: free_online_mobile_dating_site_in_usa.pdf  and plenty_of_fish_party_london.pdf 

The folder structure that Google Search console shows is /system/files/webform/info-form/

Programmatically insert values to content with bundle

Hey Guys,

is there a way to programmatically create new content ( type content-type ) and insert values?

I can do that with this code:

$node = new stdClass();
$node->title = "YOUR TITLExxxyyy";

...

But, I created new content types like bundle to this page.

Here is the table:

'node', 'tabs_qualidade_e_servicos', '0', '36274', '103034', 'und', '0', 'xxxx', NULL

[SOLVED] Session cookie not being created.

Hi,
today my Drupal 7 installation started not generating anymore the session cookie for anonimous users.

The problem is that I have some functionality, expecially during registration, thats works with the $_SESSION data.
I checked everyting and backtraced every function.

I dont know why but the session is started but the cookie not stored, so at every page load I lose the $_SESSION data.
How can I fix this or at list find where the problem is generated?

Thank you

Drupal 7: Scheduled publishing, wrong date

Hey all,

When I try to use scheduled publishing, the date on the published article is the date I created the article, not the date that I scheduled the publishing to. This causes the article to show up far down in the list of published articles, and not at the top as the newest article. It does show up on the site as planned according to the scheduling, though, but the date is wrong. 

Bootstrap 7.x-3.22 upgrade without Composer and Drush?

I need to upgrade Bootstrap 7.x-3.12 to 7.x-3.22.  Drupal 7.x was not installed with Composer.  I don't have access to the server to install Drush or Composer.  Without these developer tools, how do I upgrade to the current Bootstrap?  Can I use the Admin UI, Reports > Available Updates > Install New Module or Theme?  Or use ftp to copy unzipped Bootstrap directory on my PC to the server directory /drupal/sites/all/themes/bootstrap/?

Thanks!

CCK Question - Individual node access to only one anonymous user for reply

Greetings,

Working with a graphology website where there is a node about a person (his handwriting actually) who is not registered user of the site to be studied by multiple registered users (graphologists) who log in to the site via the CAS module. They want to comment or ask question to the person about whom this node is (their handwriting) but does not have access to it. So how can the (no access) person reply?

Pages

Subscribe with RSS Subscribe to RSS - Drupal 7.x