Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
LiteSpeed
Server IP : 198.54.121.189 & Your IP : 216.73.216.47
Domains :
Cant Read [ /etc/named.conf ]
User : waldicsm
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
waldicsm /
ng.waldoksolutions.net /
Delete
Unzip
Name
Size
Permission
Date
Action
.well-known
[ DIR ]
drwxr-xr-x
2026-05-11 00:39
administrator
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
api
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
cache
[ DIR ]
drwxr-xr-x
2026-05-11 00:39
cgi-bin
[ DIR ]
drwxr-xr-x
2026-05-16 17:16
cli
[ DIR ]
drwxr-xr-x
2026-05-14 22:32
components
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
docs
[ DIR ]
drwxr-xr-x
2026-05-11 00:39
files
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
images
[ DIR ]
drwxr-xr-x
2026-05-11 00:37
includes
[ DIR ]
drwxr-xr-x
2026-05-11 00:37
install_fragments
[ DIR ]
drwxr-xr-x
2026-05-11 00:39
language
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
layouts
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
libraries
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
media
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
modules
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
plugins
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
templates
[ DIR ]
drwxr-xr-x
2026-05-09 01:10
tmp
[ DIR ]
drwxr-xr-x
2026-05-17 05:00
tools
[ DIR ]
drwxr-xr-x
2026-05-11 00:39
.htaccess
1.99
KB
-r--r--r--
2026-05-11 00:37
LICENSE.txt
17.67
KB
-rw-r--r--
2026-05-01 04:20
README.txt
5.53
KB
-rw-r--r--
2026-05-01 04:20
admin.php
496.7
KB
-rw-r--r--
2026-05-09 02:48
build_site.php
43.61
KB
-rw-r--r--
2026-05-05 16:05
bump_media.php
912
B
-rw-r--r--
2026-05-02 02:24
configuration.bak.php
2.88
KB
-rw-r--r--
2026-05-06 01:57
configuration.php
4.04
KB
-rw-r--r--
2026-05-06 01:57
debug_all_images.php
1.58
KB
-rw-r--r--
2026-05-02 01:52
debug_assets_table.php
1.85
KB
-rw-r--r--
2026-05-02 01:52
debug_compare.php
2.14
KB
-rw-r--r--
2026-05-02 01:52
debug_css.php
1.8
KB
-rw-r--r--
2026-05-02 01:52
debug_ext.php
1.52
KB
-rw-r--r--
2026-05-02 01:52
debug_hero.php
1.49
KB
-rw-r--r--
2026-05-02 01:52
debug_version.php
1.93
KB
-rw-r--r--
2026-05-02 01:52
debug_wa.php
766
B
-rw-r--r--
2026-05-02 01:52
ensure_ng_about_article.php
12.13
KB
-rw-r--r--
2026-05-03 18:45
ensure_ng_footer_modules.php
5.51
KB
-rw-r--r--
2026-05-05 16:09
ensure_ng_leadership_module.php
2.29
KB
-rw-r--r--
2026-05-05 14:15
ensure_ng_team_module.php
3.19
KB
-rw-r--r--
2026-05-05 15:29
fix_age_cards.php
2.9
KB
-rw-r--r--
2026-05-02 02:55
fix_age_cards2.php
4.61
KB
-rw-r--r--
2026-05-05 14:54
fix_assets.php
2.37
KB
-rw-r--r--
2026-05-02 01:52
fix_hero_images.php
1.73
KB
-rw-r--r--
2026-05-02 01:52
fix_menu_module.php
3.7
KB
-rw-r--r--
2026-05-02 02:05
fix_ng_phone_placeholders.php
5.12
KB
-rw-r--r--
2026-05-03 23:19
fix_services_age.php
2.72
KB
-rw-r--r--
2026-05-02 02:45
fix_sidebar_menu.php
436
B
-rw-r--r--
2026-05-02 02:14
fix_template.php
3.35
KB
-rw-r--r--
2026-05-02 01:52
htaccess.txt
6.74
KB
-rw-r--r--
2026-05-01 04:20
index.php
22.65
KB
-r--r--r--
2026-05-11 00:37
patch_contacts_article_form.php
3.47
KB
-rw-r--r--
2026-05-05 16:09
patch_hero_fullbleed_slide.php
1.33
KB
-rw-r--r--
2026-05-03 06:14
revert_hero_fullbleed.php
1.2
KB
-rw-r--r--
2026-05-03 06:40
robots.txt
102
B
-rw-r--r--
2026-05-11 00:37
strip_ng_stats_from_custom_modules.php
3.23
KB
-rw-r--r--
2026-05-05 14:43
txets.php
5.12
KB
-r--r--r--
2026-05-09 01:10
update_age_images_nigeria.php
1.19
KB
-rw-r--r--
2026-05-02 03:03
web.config.txt
2.9
KB
-rw-r--r--
2026-05-01 04:20
Save
Rename
<?php require_once __DIR__ . '/configuration.php'; $config = new JConfig(); $conn = new mysqli($config->host, $config->user, $config->password, $config->db); $conn->set_charset('utf8mb4'); $p = $config->dbprefix; // Fix 1: Set inheritable to 1 (matching the working ray site) $conn->query("UPDATE {$p}template_styles SET inheritable=1 WHERE template='wds-rmh'"); echo "1. Set inheritable=1: " . ($conn->affected_rows >= 0 ? 'OK' : 'FAIL') . "\n"; // Fix 2: Update manifest_cache to include all needed fields (matching ray) $manifest = json_encode([ 'name' => 'wds-rmh', 'version' => '2.0.0', 'creationDate' => '2026-04', 'author' => 'WDS', 'authorEmail' => 'info@resilientmentalhealth.com', 'authorUrl' => 'https://resilientmentalhealth.com', 'description' => 'TPL_WDS_RMH_XML_DESCRIPTION' ]); $conn->query("UPDATE {$p}extensions SET manifest_cache='" . $conn->real_escape_string($manifest) . "' WHERE element='wds-rmh' AND type='template'"); echo "2. Updated manifest_cache: " . ($conn->affected_rows >= 0 ? 'OK' : 'FAIL') . "\n"; // Fix 3: Ensure the extension is properly enabled and state=0 (installed) $conn->query("UPDATE {$p}extensions SET enabled=1, state=0 WHERE element='wds-rmh' AND type='template'"); echo "3. Extension enabled: " . ($conn->affected_rows >= 0 ? 'OK' : 'FAIL') . "\n"; // Fix 4: Clear all caches $cacheDirs = [__DIR__ . '/cache', __DIR__ . '/administrator/cache']; foreach ($cacheDirs as $dir) { if (is_dir($dir)) { $it = new RecursiveIteratorIterator( new RecursiveDirectoryIterator($dir, RecursiveDirectoryIterator::SKIP_DOTS), RecursiveIteratorIterator::CHILD_FIRST ); foreach ($it as $file) { if ($file->isDir()) @rmdir($file->getRealPath()); else @unlink($file->getRealPath()); } echo "4. Cleared: $dir\n"; } } // Fix 5: Verify the joomla.asset.json is valid JSON $assetPath = __DIR__ . '/templates/wds-rmh/joomla.asset.json'; $json = json_decode(file_get_contents($assetPath), true); echo "5. joomla.asset.json valid: " . ($json !== null ? 'YES' : 'NO - ' . json_last_error_msg()) . "\n"; echo " Assets defined: " . count($json['assets'] ?? []) . "\n"; // Verify the preset exists foreach ($json['assets'] as $asset) { if ($asset['name'] === 'template.wds-rmh.ltr') { echo " LTR preset: found (type: {$asset['type']})\n"; if (isset($asset['dependencies'])) { echo " Dependencies: " . implode(', ', $asset['dependencies']) . "\n"; } } } // Fix 6: Test the actual page to see if CSS loads now echo "\n6. Testing page load...\n"; $html = file_get_contents('http://localhost/joomla/ng2/'); if (strpos($html, 'template.css') !== false) { echo " SUCCESS: template.css found in page!\n"; } else { echo " FAIL: template.css NOT found in page\n"; // Look for any error messages if (preg_match('/<div[^>]*class="alert[^"]*"[^>]*>(.*?)<\/div>/s', $html, $alertMatch)) { echo " Alert found: " . strip_tags($alertMatch[1]) . "\n"; } // Check if the template name appears at all if (strpos($html, 'wds-rmh') !== false) { echo " 'wds-rmh' IS referenced in HTML\n"; } else { echo " 'wds-rmh' is NOT referenced at all - template may not be active\n"; } } $conn->close();