Script is running as user: u414156115
Current Working Directory: /home/u414156115/domains/xord.io/public_html
PHP open_basedir is not set. No restrictions found here.

Part 1: Diagnostic - Old vs. New Path Structure

Testing OLD paths (the incorrect structure):

Checking path: /home/u414156115/public_html

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 1

Checking path: /home/u414156115/public_html/astro

--> ❌ FATAL ERROR: PHP cannot find this directory!

Checking path: /home/u414156115/public_html/infrastructure

--> ❌ FATAL ERROR: PHP cannot find this directory!

Testing NEW paths (the correct structure):

Checking path: /home/u414156115/domains/xord.io/public_html

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 32

Checking path: /home/u414156115/domains/xord.io/public_html/astro

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 9

Checking path: /home/u414156115/domains/xord.io/public_html/infrastructure

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 2


Part 2: Full Status of All Live Directories

Checking path: ROOT (for files like token.html & xord-dispatches.html) → /home/u414156115/domains/xord.io/public_html

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 32

Checking path: ASTRO → /home/u414156115/domains/xord.io/public_html/astro

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 9

Checking path: ASTROLOGUS → /home/u414156115/domains/xord.io/public_html/astrologus

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 16

Checking path: TAROT → /home/u414156115/domains/xord.io/public_html/tarot

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 14

Checking path: SIGMUND (protected) → /home/u414156115/domains/xord.io/public_html/sigmund

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 11

Checking path: ACCOUNTS → /home/u414156115/domains/xord.io/public_html/accounts

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 7

Checking path: INFRASTRUCTURE → /home/u414156115/domains/xord.io/public_html/infrastructure

--> ✅ SUCCESS: PHP can see this directory.
--> ✅ Can WRITE to this directory.
--> 📝 HTML files found: 2