• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space

invalid $DOM_SCRIPT

philhxc

Chevereto Noob
weird.. i have

Code:
$DOM_SCRIPT = $_SERVER['SERVER_NAME']; // --> mysite.com
$PATH_SERVER = $_SERVER['DOCUMENT_ROOT']; // --> /public_html (pssst.. NO ENDING SLASH!)

    // example:
    # $DOM_SCRIPT = 'mysite.com';
    # $PATH_SERVER = '/public_html'; 
    /* Btw, you can check this values by uncommenting this: */
    echo 'DOM: '.$DOM_SCRIPT.' - PATH: '.$PATH_SERVER;

note that echo is not commented and it returns:

Code:
DOM: www.image-bb.org - PATH: /home/86412/domains/image-bb.org/html

so my settings now are...
Code:
$DOM_SCRIPT = $_SERVER['www.image-bb.org']; // --> mysite.com
$PATH_SERVER = $_SERVER['/home/86412/domains/image-bb.org/html']; // --> /public_html (pssst.. NO ENDING SLASH!)
but, i get the following errors
Code:
Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php
 
philhxc said:
weird.. i have

Code:
$DOM_SCRIPT = $_SERVER['SERVER_NAME']; // --> mysite.com
$PATH_SERVER = $_SERVER['DOCUMENT_ROOT']; // --> /public_html (pssst.. NO ENDING SLASH!)

    // example:
    # $DOM_SCRIPT = 'mysite.com';
    # $PATH_SERVER = '/public_html'; 
    /* Btw, you can check this values by uncommenting this: */
    echo 'DOM: '.$DOM_SCRIPT.' - PATH: '.$PATH_SERVER;

note that echo is not commented and it returns:

Code:
DOM: www.image-bb.org - PATH: /home/86412/domains/image-bb.org/html

so my settings now are...
Code:
$DOM_SCRIPT = $_SERVER['www.image-bb.org']; // --> mysite.com
$PATH_SERVER = $_SERVER['/home/86412/domains/image-bb.org/html']; // --> /public_html (pssst.. NO ENDING SLASH!)
but, i get the following errors
Code:
Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php
Do it like so:
Code:
$DOM_SCRIPT = "www.image-bb.org"; // --> mysite.com
$PATH_SERVER = "/home/86412/domains/image-bb.org/html"; // --> /public_html (pssst.. NO ENDING SLASH!)
 
gamerlv said:
philhxc said:
weird.. i have

Code:
$DOM_SCRIPT = $_SERVER['SERVER_NAME']; // --> mysite.com
$PATH_SERVER = $_SERVER['DOCUMENT_ROOT']; // --> /public_html (pssst.. NO ENDING SLASH!)

    // example:
    # $DOM_SCRIPT = 'mysite.com';
    # $PATH_SERVER = '/public_html'; 
    /* Btw, you can check this values by uncommenting this: */
    echo 'DOM: '.$DOM_SCRIPT.' - PATH: '.$PATH_SERVER;

note that echo is not commented and it returns:

Code:
DOM: www.image-bb.org - PATH: /home/86412/domains/image-bb.org/html

so my settings now are...
Code:
$DOM_SCRIPT = $_SERVER['www.image-bb.org']; // --> mysite.com
$PATH_SERVER = $_SERVER['/home/86412/domains/image-bb.org/html']; // --> /public_html (pssst.. NO ENDING SLASH!)
but, i get the following errors
Code:
Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php
Do it like so:
Code:
$DOM_SCRIPT = "www.image-bb.org"; // --> mysite.com
$PATH_SERVER = "/home/86412/domains/image-bb.org/html"; // --> /public_html (pssst.. NO ENDING SLASH!)


did the edits and i get the same error
 
I have the same issue BUT
when I first uploaded chevereto_nb1.7 I put it in a test folder on my remote server.
Everything worked fine, edited everything to my liking and everything good.

I copied the files to another folder where it would be run live and I get the error.
Same files, same server except for different folders

WORKS:
DOM: www.artistmean.com - PATH: /home1/drafthor/public_html/artistmean

DOES NOT WORK:
DOM: images.dhv.com - PATH: /home1/drafthor/public_html/phpBB2/Chevereto

DOES WORK (with redirect of subdomain to PATH):
DOM: images.dhv.com - PATH: /home1/drafthor/public_html/phpBB2/gallery
 
is the problem with sub domains?
because if I move the non working folder of Chevereto into the phpbb2 folder and redirect the subdomain to its folder the page works fine (no invalid $DOM_SCRIPT error). Just errors when I connect directly threw a sub domain

I really like your product btw 🙂
 
Back
Top