I created a website using drupal, in my local machine and configured it to my requirements i.e. creating content types, installing modules etc.
I also did the vanilla installation of drupal on the shared hosting site. and copied all files and imported the Database from local installation. Website started working fine.
Hallo, I have a virtual webserver with the following specifications:
Ubuntu 16.04.6
Plesk Onyx 17.8.11
Since a few weeks my Drupal 7 websites (7.66) get the above mentioned error in the status report. I can't remembering changing anything on the server but I can't tell for sure anymore, since I didn't notice the error right away. PHP version is 7.2 and 7.1
I am trying to create node using POST method and passing data in json format but i am not able to create node. I am getting following error. 404 Not found : Could not find the controller.
I am working towards upgrading our site from Drupal 7.67 to Drupal 8.7.7
While initializing the Drpual 8 site, I received a warning that we needed to upgrade our server's PHP to version 7.x. In doing so, our Drpual 7 site breaks, but I can't find where the issue is. All of our modules and themes are up to date, so they should be fine with PHP 7 right? I receive no PHP errors, but our homepage looks like it only loads the basic HTML, and all of the page links return a HTTP Error 500.
where we should write drupal_add_http_header()in drupal code, if we need to add header caching on home page only.
Do we need to create custom module?
or we can write in setting.php, using if (drupal_is_front_page()){ //code }
If I need to add response header for 1 hour, than is this code currect? drupal_add_http_header('Cache-Control', 'public, max-age='3600');
and what should I use here public or private.