• 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

Works on sub-folder but not on root directory.

Lautaro

👽 Chevereto Freak
I'm having problem when trying to use this script in my website root directory. First I ran it on a folder inside the root directory, not a sub-domain, and it worked perfectly ... but when I moved it to the root directory of the domain it didnt work .. like if the style wasnt working or something like that .. All it appears is a white background and the main page text .. no buttons .. anything just that ..

Please don't take this as advertising I just want you to see my problem if you didnt understand what i said.

root directory: www.geupload.com
sub-folder ( script running ): www.geupload.com/test

what could be the problem?

-*------- edit:

I also tested doing it on a sub-domain but it doesnt works:
http://www.img.geupload.com/

and if I check the image url of the button that says "submit query" this is the url:
http://www.img.geupload.com/\site-img/btn_subir_en.gif

and its not the correct path because of the slash ( / ) .. I cant figure out how to fix that ...


http://www.img.geupload.com/ -- not working
http://www.geupload.com/ -- not working
http://www.geupload.com/test -- working

why????
 
hello, anyone knows how to fix this problem?

alguien sabe como puedo solucionar este problema?? ..
pueden explicarmelo en español, tambien hablo..
 
Usas Windows? Reemplaza desde la linea 82 para abajo con esto

Code:
// PATH //
/* Uhhh.. Can't touch this!. */
$path = dirname($_SERVER['PHP_SELF']);
if (strlen($path)>1) { 
    define('PATH_SCRIPT', $path.'/');
} else {
    define('PATH_SCRIPT', '/'); // Windows fix
}

// URL //
/* Uhhh... Uhhh.. Can't touch this!. */
define('URL_SCRIPT', 'http://'.$DOM_SCRIPT.PATH_SCRIPT);

?>
 
gonzalarcon said:
Usas Windows? Reemplaza desde la linea 82 para abajo con esto

Code:
// PATH //
/* Uhhh.. Can't touch this!. */
$path = dirname($_SERVER['PHP_SELF']);
if (strlen($path)>1) { 
    define('PATH_SCRIPT', $path.'/');
} else {
    define('PATH_SCRIPT', '/'); // Windows fix
}

// URL //
/* Uhhh... Uhhh.. Can't touch this!. */
define('URL_SCRIPT', 'http://'.$DOM_SCRIPT.PATH_SCRIPT);

?>

Wow, realmente no lo puedo creer, me solucionaste el problema, no te imaginas cuanto te lo agradezco .. quisiera devolverte el favor de alguna forma, si tenes pagina web dame un banner o link y te la promociono agregandola al sistema de ads de mi foro ..

te debo una hermano.
 
Back
Top