If this issue getting you have to increase max_allowed_packet in MySQL ini file
xampp –> mysql –> my.ini
max_allowed_packet = 1M –> max_allowed_packet = 16M
If this issue getting you have to increase max_allowed_packet in MySQL ini file
xampp –> mysql –> my.ini
max_allowed_packet = 1M –> max_allowed_packet = 16M
<?php include_once($theme_path.’/include/header.php’); ?>
<?php include_once($theme_path.’/include/footer.php’); ?>
To create front page template please find below steps
When getting this type of issue please check site SSL is enable or not.
Stripe is enabled, but the force SSL option is disabled; your checkout may not be secure! Please enable SSL and ensure your server has a valid SSL certificate – Stripe will only work in test mode.
Please find below given clear explanation…..
/* Menu code for drupal 7 */
<?php
$main_menu_tree = menu_tree(‘main-menu’);
foreach ($main_menu_tree as $key => &$main_menu_item) {
if (is_numeric($key)) {
$main_menu_item[‘#below’][‘#theme_wrappers’][0] = ‘some_other_theme_wrapper’;
}
}
print drupal_render($main_menu_tree);
?>
Please find below to clrear cache in Drupal.
1. The easiest way to clear the Drupal cache is to go to Administration > Configuration > Development > Performance
(http://example.com/admin/config/development/performance)
2. Click the button “Clear all caches”
The most convenient way to rebuild Drupal’s cache is by using Drush.
Drupal 8:
drush cache-rebuild
Drupal 7 and earlier:
drush cache-clear all
WordPress
public_html/wp-config.php
Change wordpress debugging mode to true like below in wp-config.php
define(‘WP_DEBUG’, true);
or add code below
define( ‘SCRIPT_DEBUG’, true );
Drupal
sites/default/settings.php
Add below code in settings.php file.
$config[‘system.logging’][‘error_level’] = ‘verbose’;