<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Chevereto Forums - Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
		<link>http://chevereto.com/forums/topic407-critital-error-invalid-domscript-edit-it-manually-in-configphp.html</link>
		<description><![CDATA[The most recent posts in Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php.]]></description>
		<lastBuildDate>Wed, 25 Aug 2010 18:10:53 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2924.html#p2924</link>
			<description><![CDATA[<p>USE THE LAST VERSION.<br />Closed.</p>]]></description>
			<author><![CDATA[null@example.com (Rodolfo)]]></author>
			<pubDate>Wed, 25 Aug 2010 18:10:53 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2924.html#p2924</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2903.html#p2903</link>
			<description><![CDATA[<p>can someone&#039;ll help us.</p><p>__________________________________<br /><a href="http://www.refrigeratorkitchen.com/counter-depth-refrigerators.html">counter depth refrigerator bottom freezer</a><br /><a href="http://www.refrigeratorkitchen.com">counter depth french door refrigerator</a><br /><a href="http://www.refrigeratorkitchen.com/counter-depth-refrigerators.html">counter depth refrigerators</a></p>]]></description>
			<author><![CDATA[null@example.com (clashtroy)]]></author>
			<pubDate>Mon, 16 Aug 2010 00:41:56 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2903.html#p2903</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2842.html#p2842</link>
			<description><![CDATA[<p>while I was doing the documentation same critical error <br />_______________________________<br /><a href="http://japanesesoakingtubshop.com">japanese soaking tub</a><br /><a href="http://hddmediaplayers.com">hdd media player</a><br /><a href="http://cheapgamingcomputersonline.com">cheap gaming computers</a><br /><a href="http://gas-scooter.org">gas scooter</a></p>]]></description>
			<author><![CDATA[null@example.com (knchilders)]]></author>
			<pubDate>Tue, 20 Jul 2010 18:29:02 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2842.html#p2842</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2814.html#p2814</link>
			<description><![CDATA[<p>I think, that instructions in welcome.html are horrible and hope, someone&#039;ll help us.</p><p><strong><a href="http://5ecommercesoftware.com">ecommerce software</a></strong><br /><strong><a href="http://topemailmarketingservices.com">email marketing software</a></strong></p>]]></description>
			<author><![CDATA[null@example.com (melmartinez01)]]></author>
			<pubDate>Mon, 12 Jul 2010 13:28:03 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2814.html#p2814</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2779.html#p2779</link>
			<description><![CDATA[<p>Use last version.</p>]]></description>
			<author><![CDATA[null@example.com (Rodolfo)]]></author>
			<pubDate>Thu, 24 Jun 2010 01:57:56 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2779.html#p2779</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2778.html#p2778</link>
			<description><![CDATA[<p>I also encountered the same issue...while I was doing the documentation of my <a href="http://www.superiorpapers.com/">research paper</a> and <a href="http://www.superiorpapers.com/assignments.php">essay</a>, at the same time I was testing it..same critical error appeared..hope someone will the post the solution for this...thanks in advance..</p>]]></description>
			<author><![CDATA[null@example.com (brent)]]></author>
			<pubDate>Thu, 24 Jun 2010 01:54:28 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2778.html#p2778</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2743.html#p2743</link>
			<description><![CDATA[<div class="quotebox"><cite>thrill wrote:</cite><blockquote><div class="quotebox"><cite>crazy0man wrote:</cite><blockquote><p>Hi, friend!<br />MY site works!<br />And I have done nothing to config.php.<br />see below!<br /><em>config.php code</em></p></blockquote></div><p> you are really mean and really LOL! people who discuss here are face dfficulties because there are using SUBDOMAIN, please don&#039;t tell you work because you place it at DIRECT DOMAIN! please understand what people discussing first before doing some LOL!&nbsp; &nbsp;<img src="http://chevereto.com/forums/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p></blockquote></div><p>Well at least he registered with the right name : <em>crazy0man</em>&nbsp; <img src="http://chevereto.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" />&nbsp; <img src="http://chevereto.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>btw, i agree.</p>]]></description>
			<author><![CDATA[null@example.com (gamerlv)]]></author>
			<pubDate>Sat, 05 Jun 2010 17:56:40 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2743.html#p2743</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2742.html#p2742</link>
			<description><![CDATA[<div class="quotebox"><cite>crazy0man wrote:</cite><blockquote><p>Hi, friend!<br />MY site works!<br />And I have done nothing to config.php.<br />see below!<br /></p><div class="codebox"><pre><code>&lt;?

/* -----------------------------------------

  Chevereto - Script de hosting de imagenes
  Nightly Build 1.7 (29/10/2009)
  http://www.chevereto.com/

  Released under the GPL 2.0
  Copyright (C) 2008 by Rodolfo Berrios
  &lt;inbox at rodolfoberrios dot com&gt;

  ----------------------------------------- */

// Language //
define(&#039;LANG&#039;, &#039;en&#039;); // en - English | es - Espa?l | fa - Farsi | fr - Fran?is | nl - Dutch | cn - ZH-CN (Chinese)

define(&#039;APP_NAME&#039;, &#039;Demo Chevereto&#039;); // Your image hosting name
define(&#039;TAG_LINE&#039;, &#039;Image Hosting&#039;); // Your tagline (for doctitles and logo)

// Folders //
/* If you change this, you also must change the folders name. */
define(&#039;DIR_UP&#039;,&#039;up/&#039;);
define(&#039;DIR_IM&#039;,&#039;images/&#039;); // Change this to have something like /X/filename.jpg - where &quot;X/&quot; is the folder name. 
define(&#039;DIR_WORKING&#039;,DIR_UP.&#039;working/&#039;);
define(&#039;DIR_TEMP&#039;,DIR_UP.&#039;temp/&#039;);
define(&#039;DIR_TH&#039;,&#039;thumbs/&#039;);

// Min-Max values -&gt; php.ini rules the nation... //
$max_mb = &#039;2&#039;; // Max. image size (Mbytes)
$max_by = $max_mb*1048576; // (bytes)
$max_name = &#039;10&#039;; // Max. file name lenght.

// Thumbs //
$mini_ancho = &#039;150&#039;; // Thumb width (pixels)
$mini_alto = &#039;150&#039;; // Thumb height (pixels)

// Resize //
$lowres = &#039;16&#039;; // Min. resize value (pixels)
$higres = &#039;1280&#039;; // Max. resize value (pixels)

// Options //
$lim_act = true; // true: Allows uploading just for your domain - false: Allows upload from anywhere (post from another website)
$debug_mode = true; // false: Debug OFF - true: Debug ON.
$cut_url = true; // true: Short URLs (TinyURL tr.im etc.) - false: normal url (http://mysite.com/images/image.jpg).
$cut_url_service = &#039;tinyurl&#039;; // tinyurl
$cut_url_user = true; // If $cut_url = true -&gt; true: Allows your users to cut their urls (preference) - false: Users can&#039;t choose to cut or not.
$allow_over_resize = false; // true: Allows over resize images - false: Don&#039;t allow over resize.


///////////////////////////////////////////////////////////////////
///// DO NOT EDIT BELOW THIS - (do it if the script can&#039;t run) ////
///////////////////////////////////////////////////////////////////

// SERVER ///
/* We get this values with $_SERVER. If your server doesn&#039;t resolve this values The script will not work.
   If the script doesn&#039;t work, you must change this values to be like values in the comments (see the exaple below) */

$DOM_SCRIPT = $_SERVER[&#039;SERVER_NAME&#039;]; // --&gt; mysite.com
$PATH_SERVER = $_SERVER[&#039;DOCUMENT_ROOT&#039;]; // --&gt; /public_html (pssst.. NO ENDING SLASH!)

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

// FTP MODE //
/* Use this if you want to upload the files through ftp php (http://php.net/ftp). This is handly when your server config don&#039;t
   allow to upload files without CHMOD 777, like almost all the cPanel. Using this, you can forget the CHMOD ;) */
$use_ftp = false; // true: Uses ftp to upload files - false: Upload without ftp.
$ftp_host = $DOM_SCRIPT; // Change this if your ftp host is not the same as your mysite.com -- example: $ftp_host = &#039;ftp.mysite.com&#039;;
$ftp_user = &#039;&#039;; // valid username.
$ftp_pass = &#039;&#039;; // Valid password.
// NOTICE: FTP user must have access to the script folder.


///////////////////////////////
/// DO NOT TOUCH BELOW THIS ///
///////////////////////////////

// PATH //
/* Uhhh.. Can&#039;t touch this!. */
$path = dirname($_SERVER[&#039;PHP_SELF&#039;]);
if (strlen($path)&gt;1) { 
    define(&#039;PATH_SCRIPT&#039;, $path.&#039;/&#039;);
} else {
    define(&#039;PATH_SCRIPT&#039;, $path);
}

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

?&gt;</code></pre></div></blockquote></div><p> you are really mean and really LOL! people who discuss here are face dfficulties because there are using SUBDOMAIN, please don&#039;t tell you work because you place it at DIRECT DOMAIN! please understand what people discussing first before doing some LOL!&nbsp; &nbsp;<img src="http://chevereto.com/forums/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p>]]></description>
			<author><![CDATA[null@example.com (thrill)]]></author>
			<pubDate>Sat, 05 Jun 2010 16:21:35 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2742.html#p2742</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2338.html#p2338</link>
			<description><![CDATA[<p>Hi, friend!<br />MY site works!<br />And I have done nothing to config.php.<br />see below!<br /></p><div class="codebox"><pre><code>&lt;?

/* -----------------------------------------

  Chevereto - Script de hosting de imagenes
  Nightly Build 1.7 (29/10/2009)
  http://www.chevereto.com/

  Released under the GPL 2.0
  Copyright (C) 2008 by Rodolfo Berrios
  &lt;inbox at rodolfoberrios dot com&gt;

  ----------------------------------------- */

// Language //
define(&#039;LANG&#039;, &#039;en&#039;); // en - English | es - Espa?l | fa - Farsi | fr - Fran?is | nl - Dutch | cn - ZH-CN (Chinese)

define(&#039;APP_NAME&#039;, &#039;Demo Chevereto&#039;); // Your image hosting name
define(&#039;TAG_LINE&#039;, &#039;Image Hosting&#039;); // Your tagline (for doctitles and logo)

// Folders //
/* If you change this, you also must change the folders name. */
define(&#039;DIR_UP&#039;,&#039;up/&#039;);
define(&#039;DIR_IM&#039;,&#039;images/&#039;); // Change this to have something like /X/filename.jpg - where &quot;X/&quot; is the folder name. 
define(&#039;DIR_WORKING&#039;,DIR_UP.&#039;working/&#039;);
define(&#039;DIR_TEMP&#039;,DIR_UP.&#039;temp/&#039;);
define(&#039;DIR_TH&#039;,&#039;thumbs/&#039;);

// Min-Max values -&gt; php.ini rules the nation... //
$max_mb = &#039;2&#039;; // Max. image size (Mbytes)
$max_by = $max_mb*1048576; // (bytes)
$max_name = &#039;10&#039;; // Max. file name lenght.

// Thumbs //
$mini_ancho = &#039;150&#039;; // Thumb width (pixels)
$mini_alto = &#039;150&#039;; // Thumb height (pixels)

// Resize //
$lowres = &#039;16&#039;; // Min. resize value (pixels)
$higres = &#039;1280&#039;; // Max. resize value (pixels)

// Options //
$lim_act = true; // true: Allows uploading just for your domain - false: Allows upload from anywhere (post from another website)
$debug_mode = true; // false: Debug OFF - true: Debug ON.
$cut_url = true; // true: Short URLs (TinyURL tr.im etc.) - false: normal url (http://mysite.com/images/image.jpg).
$cut_url_service = &#039;tinyurl&#039;; // tinyurl
$cut_url_user = true; // If $cut_url = true -&gt; true: Allows your users to cut their urls (preference) - false: Users can&#039;t choose to cut or not.
$allow_over_resize = false; // true: Allows over resize images - false: Don&#039;t allow over resize.


///////////////////////////////////////////////////////////////////
///// DO NOT EDIT BELOW THIS - (do it if the script can&#039;t run) ////
///////////////////////////////////////////////////////////////////

// SERVER ///
/* We get this values with $_SERVER. If your server doesn&#039;t resolve this values The script will not work.
   If the script doesn&#039;t work, you must change this values to be like values in the comments (see the exaple below) */

$DOM_SCRIPT = $_SERVER[&#039;SERVER_NAME&#039;]; // --&gt; mysite.com
$PATH_SERVER = $_SERVER[&#039;DOCUMENT_ROOT&#039;]; // --&gt; /public_html (pssst.. NO ENDING SLASH!)

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

// FTP MODE //
/* Use this if you want to upload the files through ftp php (http://php.net/ftp). This is handly when your server config don&#039;t
   allow to upload files without CHMOD 777, like almost all the cPanel. Using this, you can forget the CHMOD ;) */
$use_ftp = false; // true: Uses ftp to upload files - false: Upload without ftp.
$ftp_host = $DOM_SCRIPT; // Change this if your ftp host is not the same as your mysite.com -- example: $ftp_host = &#039;ftp.mysite.com&#039;;
$ftp_user = &#039;&#039;; // valid username.
$ftp_pass = &#039;&#039;; // Valid password.
// NOTICE: FTP user must have access to the script folder.


///////////////////////////////
/// DO NOT TOUCH BELOW THIS ///
///////////////////////////////

// PATH //
/* Uhhh.. Can&#039;t touch this!. */
$path = dirname($_SERVER[&#039;PHP_SELF&#039;]);
if (strlen($path)&gt;1) { 
    define(&#039;PATH_SCRIPT&#039;, $path.&#039;/&#039;);
} else {
    define(&#039;PATH_SCRIPT&#039;, $path);
}

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

?&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (crazy0man)]]></author>
			<pubDate>Tue, 02 Mar 2010 19:47:26 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2338.html#p2338</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2337.html#p2337</link>
			<description><![CDATA[<p>I got the same issue:<br />Is that coursed by that the domain name is subdomain?<br /></p><div class="codebox"><pre><code>&lt;?

/* -----------------------------------------

  Chevereto - Script de hosting de imagenes
  Nightly Build 1.7 (29/10/2009)
  http://www.chevereto.com/

  Released under the GPL 2.0
  Copyright (C) 2008 by Rodolfo Berrios
  &lt;inbox at rodolfoberrios dot com&gt;

  ----------------------------------------- */

// Language //
define(&#039;LANG&#039;, &#039;cn&#039;); // en - English | es - Espa?l | fa - Farsi | fr - Fran?is | nl - Dutch | cn - ZH-CN (Chinese)

define(&#039;APP_NAME&#039;, &#039;Demo Chevereto&#039;); // Your image hosting name
define(&#039;TAG_LINE&#039;, &#039;Image Hosting&#039;); // Your tagline (for doctitles and logo)

// Folders //
/* If you change this, you also must change the folders name. */
define(&#039;DIR_UP&#039;,&#039;up/&#039;);
define(&#039;DIR_IM&#039;,&#039;images/&#039;); // Change this to have something like /X/filename.jpg - where &quot;X/&quot; is the folder name. 
define(&#039;DIR_WORKING&#039;,DIR_UP.&#039;working/&#039;);
define(&#039;DIR_TEMP&#039;,DIR_UP.&#039;temp/&#039;);
define(&#039;DIR_TH&#039;,&#039;thumbs/&#039;);

// Min-Max values -&gt; php.ini rules the nation... //
$max_mb = &#039;0.2&#039;; // Max. image size (Mbytes)
$max_by = $max_mb*1048576; // (bytes)
$max_name = &#039;10&#039;; // Max. file name lenght.

// Thumbs //
$mini_ancho = &#039;150&#039;; // Thumb width (pixels)
$mini_alto = &#039;150&#039;; // Thumb height (pixels)

// Resize //
$lowres = &#039;16&#039;; // Min. resize value (pixels)
$higres = &#039;1280&#039;; // Max. resize value (pixels)

// Options //
$lim_act = true; // true: Allows uploading just for your domain - false: Allows upload from anywhere (post from another website)
$debug_mode = true; // false: Debug OFF - true: Debug ON.
$cut_url = true; // true: Short URLs (TinyURL tr.im etc.) - false: normal url (http://mysite.com/images/image.jpg).
$cut_url_service = &#039;tinyurl&#039;; // tinyurl
$cut_url_user = true; // If $cut_url = true -&gt; true: Allows your users to cut their urls (preference) - false: Users can&#039;t choose to cut or not.
$allow_over_resize = false; // true: Allows over resize images - false: Don&#039;t allow over resize.


///////////////////////////////////////////////////////////////////
///// DO NOT EDIT BELOW THIS - (do it if the script can&#039;t run) ////
///////////////////////////////////////////////////////////////////

// SERVER ///
/* We get this values with $_SERVER. If your server doesn&#039;t resolve this values The script will not work.
   If the script doesn&#039;t work, you must change this values to be like values in the comments (see the exaple below) */

$DOM_SCRIPT = $_SERVER[&#039;enlightenedmillionaire.net&#039;]; // --&gt; mysite.com
$PATH_SERVER = $_SERVER[&#039;DOCUMENT_ROOT&#039;]; // --&gt; /public_html (pssst.. NO ENDING SLASH!)

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

// FTP MODE //
/* Use this if you want to upload the files through ftp php (http://php.net/ftp). This is handly when your server config don&#039;t
   allow to upload files without CHMOD 777, like almost all the cPanel. Using this, you can forget the CHMOD ;) */
$use_ftp = off; // true: Uses ftp to upload files - false: Upload without ftp.
$ftp_host = &#039;enlightenedmillionaire.net&#039;; // Change this if your ftp host is not the same as your mysite.com -- example: $ftp_host = &#039;ftp.mysite.com&#039;;
$ftp_user = &#039;ftpenlightened&#039;; // valid username.
$ftp_pass = &#039;Crazy0Man&#039;; // Valid password.
// NOTICE: FTP user must have access to the script folder.


///////////////////////////////
/// DO NOT TOUCH BELOW THIS ///
///////////////////////////////

// PATH //
/* Uhhh.. Can&#039;t touch this!. */
$path = dirname($_SERVER[&#039;PHP_SELF&#039;]);
if (strlen($path)&gt;1) { 
    define(&#039;PATH_SCRIPT&#039;, $path.&#039;/&#039;);
} else {
    define(&#039;PATH_SCRIPT&#039;, $path);
}

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

?&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (crazy0man)]]></author>
			<pubDate>Tue, 02 Mar 2010 19:17:37 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2337.html#p2337</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2077.html#p2077</link>
			<description><![CDATA[<p>I have the same problem, please if someone knows the solution publish it.</p>]]></description>
			<author><![CDATA[null@example.com (calinrock)]]></author>
			<pubDate>Wed, 30 Dec 2009 01:12:22 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2077.html#p2077</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2078.html#p2078</link>
			<description><![CDATA[<p>I have the same problem, please if someone knows the solution publish it.<br />this is my config.php</p><br /><br /><div class="codebox"><pre><code>&lt;?

/* -----------------------------------------

  Chevereto - Script de hosting de imagenes
  Nightly Build 1.7 (29/10/2009)
  http://www.chevereto.com/

  Released under the GPL 2.0
  Copyright (C) 2008 by Rodolfo Berrios
  &lt;inbox at rodolfoberrios dot com&gt;

  ----------------------------------------- */

// Language //
define(&#039;LANG&#039;, &#039;es&#039;); // en - English | es - Español | fa - Farsi | fr - Français | nl - Dutch | cn - ZH-CN (Chinese)

define(&#039;APP_NAME&#039;, &#039;Demo Chevereto&#039;); // Your image hosting name
define(&#039;TAG_LINE&#039;, &#039;Image Hosting&#039;); // Your tagline (for doctitles and logo)

// Folders //
/* If you change this, you also must change the folders name. */
define(&#039;DIR_UP&#039;,&#039;up/&#039;);
define(&#039;DIR_IM&#039;,&#039;images/&#039;); // Change this to have something like /X/filename.jpg - where &quot;X/&quot; is the folder name. 
define(&#039;DIR_WORKING&#039;,DIR_UP.&#039;working/&#039;);
define(&#039;DIR_TEMP&#039;,DIR_UP.&#039;temp/&#039;);
define(&#039;DIR_TH&#039;,&#039;thumbs/&#039;);

// Min-Max values -&gt; php.ini rules the nation... //
$max_mb = &#039;1&#039;; // Max. image size (Mbytes)
$max_by = $max_mb*500; // (bytes)
$max_name = &#039;10&#039;; // Max. file name lenght.

// Thumbs //
$mini_ancho = &#039;150&#039;; // Thumb width (pixels)
$mini_alto = &#039;150&#039;; // Thumb height (pixels)

// Resize //
$lowres = &#039;16&#039;; // Min. resize value (pixels)
$higres = &#039;1280&#039;; // Max. resize value (pixels)

// Options //
$lim_act = true; // true: Allows uploading just for your domain - false: Allows upload from anywhere (post from another website)
$debug_mode = true; // false: Debug OFF - true: Debug ON.
$cut_url = true; // true: Short URLs (TinyURL tr.im etc.) - false: normal url (http://mysite.com/images/image.jpg).
$cut_url_service = &#039;tinyurl&#039;; // tinyurl
$cut_url_user = true; // If $cut_url = true -&gt; true: Allows your users to cut their urls (preference) - false: Users can&#039;t choose to cut or not.
$allow_over_resize = false; // true: Allows over resize images - false: Don&#039;t allow over resize.


///////////////////////////////////////////////////////////////////
///// DO NOT EDIT BELOW THIS - (do it if the script can&#039;t run) ////
///////////////////////////////////////////////////////////////////

// SERVER ///
/* We get this values with $_SERVER. If your server doesn&#039;t resolve this values The script will not work.
   If the script doesn&#039;t work, you must change this values to be like values in the comments (see the exaple below) */

$DOM_SCRIPT = $_SERVER[&#039;templo.byethost12.com&#039;]; // --&gt; mysite.com
$PATH_SERVER = $_SERVER[&#039;/htdocs&#039;]; // --&gt; /public_html (pssst.. NO ENDING SLASH!)

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

// FTP MODE //
/* Use this if you want to upload the files through ftp php (http://php.net/ftp). This is handly when your server config don&#039;t
   allow to upload files without CHMOD 777, like almost all the cPanel. Using this, you can forget the CHMOD ;) */
$use_ftp = true; // true: Uses ftp to upload files - false: Upload without ftp.
$ftp_host = $ftp_host = &#039;ftp.byethost12.com&#039;; // Change this if your ftp host is not the same as your mysite.com -- example: $ftp_host = &#039;ftp.mysite.com&#039;;
$ftp_user = &#039;example&#039;; // valid username.
$ftp_pass = &#039;example&#039;; // Valid password.
// NOTICE: FTP user must have access to the script folder.


///////////////////////////////
/// DO NOT TOUCH BELOW THIS ///
///////////////////////////////

// PATH //
/* Uhhh.. Can&#039;t touch this!. */
$path = dirname($_SERVER[&#039;PHP_SELF&#039;]);
if (strlen($path)&gt;1) { 
    define(&#039;PATH_SCRIPT&#039;, $path.&#039;/&#039;);
} else {
    define(&#039;PATH_SCRIPT&#039;, $path);
}

// URL //
/* Uhhh... Uhhh.. Can&#039;t touch this!. */
define(&#039;URL_SCRIPT&#039;, &#039;http://templo.byethost12.com&#039;.$DOM_SCRIPT.PATH_SCRIPT);

?&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (calinrock)]]></author>
			<pubDate>Wed, 30 Dec 2009 01:12:22 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2078.html#p2078</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2074.html#p2074</link>
			<description><![CDATA[<div class="quotebox"><cite>Ginnys wrote:</cite><blockquote><p>I have the same problem. I think, that instructions in welcome.html are horrible and hope, someone&#039;ll help us.</p></blockquote></div><p>In real servers it works.</p>]]></description>
			<author><![CDATA[null@example.com (Rodolfo)]]></author>
			<pubDate>Mon, 28 Dec 2009 02:52:48 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2074.html#p2074</guid>
		</item>
		<item>
			<title><![CDATA[Re: Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2071.html#p2071</link>
			<description><![CDATA[<p>I have the same problem. I think, that instructions in welcome.html are horrible and hope, someone&#039;ll help us.</p>]]></description>
			<author><![CDATA[null@example.com (Ginnys)]]></author>
			<pubDate>Sun, 27 Dec 2009 11:31:09 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2071.html#p2071</guid>
		</item>
		<item>
			<title><![CDATA[Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link>http://chevereto.com/forums/post2042.html#p2042</link>
			<description><![CDATA[<p>Hello!<br />I have just download the image host Chevereto but when i upload this on <a href="http://www.xhost.altervista.org/">http://www.xhost.altervista.org/</a> is appared this error:</p><p><strong>Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php</strong></p><p>I have readed the readme.txt and have sobstitueted the PATH_SERVER as was advise on the help guide but the error persist<br />My config.php is:<br /></p><div class="codebox"><pre><code>&lt;?

/* -----------------------------------------

  Chevereto - Script de hosting de imagenes
  Nightly Build 1.7 (29/10/2009)
  http://www.chevereto.com/

  Released under the GPL 2.0
  Copyright (C) 2008 by Rodolfo Berrios
  &lt;inbox at rodolfoberrios dot com&gt;

  ----------------------------------------- */

// Language //
define(&#039;LANG&#039;, &#039;it&#039;); // en - English | it - Italiano | es - Español | fa - Farsi | fr - Français | nl - Dutch | cn - ZH-CN (Chinese)

define(&#039;APP_NAME&#039;, &#039;Image Hosting&#039;); // Your image hosting name
define(&#039;TAG_LINE&#039;, &#039;Image Hosting&#039;); // Your tagline (for doctitles and logo)

// Folders //
/* If you change this, you also must change the folders name. */
define(&#039;DIR_UP&#039;,&#039;up/&#039;);
define(&#039;DIR_IM&#039;,&#039;images/&#039;); // Change this to have something like /X/filename.jpg - where &quot;X/&quot; is the folder name. 
define(&#039;DIR_WORKING&#039;,DIR_UP.&#039;working/&#039;);
define(&#039;DIR_TEMP&#039;,DIR_UP.&#039;temp/&#039;);
define(&#039;DIR_TH&#039;,&#039;thumbs/&#039;);

// Min-Max values -&gt; php.ini rules the nation... //
$max_mb = &#039;2&#039;; // Max. image size (Mbytes)
$max_by = $max_mb*1048576; // (bytes)
$max_name = &#039;10&#039;; // Max. file name lenght.

// Thumbs //
$mini_ancho = &#039;200&#039;; // Thumb width (pixels)
$mini_alto = &#039;200&#039;; // Thumb height (pixels)

// Resize //
$lowres = &#039;16&#039;; // Min. resize value (pixels)
$higres = &#039;1280&#039;; // Max. resize value (pixels)

// Options //
$lim_act = true; // true: Allows uploading just for your domain - false: Allows upload from anywhere (post from another website)
$debug_mode = true; // false: Debug OFF - true: Debug ON.
$cut_url = true; // true: Short URLs (TinyURL tr.im etc.) - false: normal url (http://mysite.com/images/image.jpg).
$cut_url_service = &#039;tinyurl&#039;; // tinyurl
$cut_url_user = true; // If $cut_url = true -&gt; true: Allows your users to cut their urls (preference) - false: Users can&#039;t choose to cut or not.
$allow_over_resize = false; // true: Allows over resize images - false: Don&#039;t allow over resize.


///////////////////////////////////////////////////////////////////
///// DO NOT EDIT BELOW THIS - (do it if the script can&#039;t run) ////
///////////////////////////////////////////////////////////////////

// SERVER ///
/* We get this values with $_SERVER. If your server doesn&#039;t resolve this values The script will not work.
   If the script doesn&#039;t work, you must change this values to be like values in the comments (see the exaple below) */

$DOM_SCRIPT = &#039;xhost.altervista.org&#039;; // --&gt; mysite.com
$PATH_SERVER = &#039;/public_html&#039;; // --&gt; /public_html (pssst.. NO ENDING SLASH!)


// FTP MODE //
/* Use this if you want to upload the files through ftp php (http://php.net/ftp). This is handly when your server config don&#039;t
   allow to upload files without CHMOD 777, like almost all the cPanel. Using this, you can forget the CHMOD ;) */
$use_ftp = false; // true: Uses ftp to upload files - false: Upload without ftp.
$ftp_host = $DOM_SCRIPT; // Change this if your ftp host is not the same as your mysite.com -- example: $ftp_host = &#039;ftp.mysite.com&#039;;
$ftp_user = &#039;&#039;; // valid username.
$ftp_pass = &#039;&#039;; // Valid password.
// NOTICE: FTP user must have access to the script folder.


///////////////////////////////
/// DO NOT TOUCH BELOW THIS ///
///////////////////////////////

// PATH //
/* Uhhh.. Can&#039;t touch this!. */
$path = dirname($_SERVER[&#039;PHP_SELF&#039;]);
if (strlen($path)&gt;1) { 
    define(&#039;PATH_SCRIPT&#039;, $path.&#039;/public_html&#039;);
} else {
    define(&#039;PATH_SCRIPT&#039;, $path);
}

// URL //
/* Uhhh... Uhhh.. Can&#039;t touch this!. */
define(&#039;URL_SCRIPT&#039;, &#039;http://www.xhost.altervista.org/&#039;.$DOM_SCRIPT.PATH_SCRIPT);

?&gt;</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Logan)]]></author>
			<pubDate>Sun, 13 Dec 2009 09:55:59 +0000</pubDate>
			<guid>http://chevereto.com/forums/post2042.html#p2042</guid>
		</item>
	</channel>
</rss>

