Enable debug mode
If you are not sure why ads aren't appearing, or why they are appearing, enable debug mode and look at the debug information (search for 'ADINJ DEBUG') in the HTML of your content pages.
If you want to restore all settings (excluding the ad contents) to their default values use this button.
You can delete the database settings if you are going to uninstall Ad Injection (they will be automatically deleted if you uninstall via WordPress as well).
This button will delete all your Ad Injection widgets.
| Name | Stored | Default |
| '; } else { echo ' | ||
| '; } echo "$key"; $main_length += sizeof($key); echo " | "; $value = htmlspecialchars($value); $main_length += sizeof($value); echo "$value"; echo " | "; echo $default_options[$key]; echo " |
| Widget | Setting:Value |
| '; } else { echo ' | |
| '; } echo $key; $widgets_length += strlen($key); echo " | "; echo '';
if (is_array($val)){
foreach($val as $subkey=>$subval){
echo $subkey.':'.htmlspecialchars($subval).' '; $widgets_length += (strlen($subkey) + strlen($subval)); } } else { echo htmlspecialchars($val); $widgets_length += strlen($val); } echo ' |
| No widget settings found |
'; echo 'ADINJ_PATH='.ADINJ_PATH.''; global $adinj_warning_msg_filewrite; if (!empty($adinj_warning_msg_filewrite)){ echo "
'; echo 'ADINJ_CONFIG_FILE='.ADINJ_CONFIG_FILE.'
'; echo 'ADINJ_AD_PATH='.ADINJ_AD_PATH.'
'; echo 'Plugin version='.adinj_get_version().'
'; echo 'Main settings length='.$main_length.' chars
'; echo 'All widgets length='.$widgets_length.' chars
'; echo '
$adinj_warning_msg_filewriteWarnings on 'Save all settings'
$adinj_warning_msg_chmod