<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Chevereto Forum - Installation issues]]></title>
	<link rel="self" href="http://chevereto.com/foro/feed-atom-forum11.xml"/>
	<updated>2010-07-21T16:43:50Z</updated>
	<generator>PunBB</generator>
	<id>http://chevereto.com/foro/</id>
		<entry>
			<title type="html"><![CDATA[You will be disconnected after 15 minutes? error]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic558-you-will-be-disconnected-after-15-minutes-error-new-posts.html"/>
			<summary type="html"><![CDATA[<p>please watch this and tell me what is wrong</p><br /><div class="codebox"><pre><code> 
// CH-CH-Check FTP config //
if ($use_ftp == false) {
    if (!is_writable(DIR_IM)) {
        echo $o_errorbox.&#039;Critital error: Chevereto can\&#039;t upload files. Please enable FTP mode in config.php&#039;.$c_errorbox;
        die();
    }
} else {
    $conn_id = ftp_connect($imagelogic.co.cc);
    $check_ftp_log = ftp_login($conn_id, $*******, $******);
    if ((!$conn_id) || (!$check_ftp_log)) {
        echo $o_errorbox.&#039;Critital error: Wrong FTP values in config.php&#039;.$c_errorbox;
        die();
    }
}</code></pre></div><p>can someone help me? you cane see the error on <a href="http://www.imagelogic.co.cc">www.imagelogic.co.cc</a></p>]]></summary>
			<author>
				<name><![CDATA[sydneysolar]]></name>
				<uri>http://chevereto.com/foro/user855.html</uri>
			</author>
			<updated>2010-07-21T16:43:50Z</updated>
			<id>http://chevereto.com/foro/topic558-you-will-be-disconnected-after-15-minutes-error-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Critital error: Invalid $DOM_SCRIPT, edit it manually in config.php]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic407-critital-error-invalid-domscript-edit-it-manually-in-configphp-new-posts.html"/>
			<summary type="html"><![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>]]></summary>
			<author>
				<name><![CDATA[knchilders]]></name>
				<uri>http://chevereto.com/foro/user641.html</uri>
			</author>
			<updated>2010-07-20T18:29:02Z</updated>
			<id>http://chevereto.com/foro/topic407-critital-error-invalid-domscript-edit-it-manually-in-configphp-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[There is no permission to write in up/]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic561-there-is-no-permission-to-write-in-up-new-posts.html"/>
			<summary type="html"><![CDATA[<p>i don&#039;t understand why I get this error can someone help me?</p>]]></summary>
			<author>
				<name><![CDATA[gamerlv]]></name>
				<uri>http://chevereto.com/foro/user855.html</uri>
			</author>
			<updated>2010-06-17T15:13:51Z</updated>
			<id>http://chevereto.com/foro/topic561-there-is-no-permission-to-write-in-up-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Installation 1.9 Why is there "Critital error 05:"]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic569-installation-19-why-is-there-critital-error-05-new-posts.html"/>
			<summary type="html"><![CDATA[<p>I installed the latest version of 1.9, after uploading &quot;Critital error 05: You must load the cURL extension. <a href="http://Http://php.net/manual/en/book.curl.php\">Http://php.net/manual/en/book.curl.php&quot;</a> how to deal with. I use the space is &quot;scherzseite.de &quot;</p>]]></summary>
			<author>
				<name><![CDATA[gamerlv]]></name>
				<uri>http://chevereto.com/foro/user868.html</uri>
			</author>
			<updated>2010-06-09T20:47:50Z</updated>
			<id>http://chevereto.com/foro/topic569-installation-19-why-is-there-critital-error-05-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[ftp_login() [function.ftp-login] error]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic559-ftplogin-functionftplogin-error-new-posts.html"/>
			<summary type="html"><![CDATA[<div class="codebox"><pre><code>///////////////////////////////////////////////////////////////////
///// 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;imagelogic.co.cc&#039;; // --&gt; mysite.com
$PATH_SERVER = &#039;/public_html&#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 = &#039;imagelogic.co.cc&#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;*******&#039;; // valid username.
$ftp_pass = &#039;******&#039;; // Valid password.
// NOTICE: FTP user must have access to the script folder.</code></pre></div><br /><p>watch my website for the error <a href="http://www.imagelogic.co.cc">www.imagelogic.co.cc</a><br />thanks for help!</p>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user855.html</uri>
			</author>
			<updated>2010-05-14T22:33:59Z</updated>
			<id>http://chevereto.com/foro/topic559-ftplogin-functionftplogin-error-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Invalid $PATH_SERVER error, please help me!]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic560-invalid-pathserver-error-please-help-me-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Here you have the script, there is an error but i don&#039;t know why!</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;

  Descargado desde:
  http://pasamelo.co.cc


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

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

define(&#039;APP_NAME&#039;, &#039;Diederik Mathijs&#039;); // Your image hosting name
define(&#039;TAG_LINE&#039;, &#039;Free 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 =&#039;imagelogic.co.cc&#039;; // --&gt; mysite.com
$PATH_SERVER =&#039;public_html&#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 = $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><br /><p>There is an error wiht the$path_server i&nbsp; know, but i don&#039;t know why please help me!</p>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user855.html</uri>
			</author>
			<updated>2010-05-14T22:31:27Z</updated>
			<id>http://chevereto.com/foro/topic560-invalid-pathserver-error-please-help-me-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Internal Error]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic229-internal-error-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Iv uploaded the directory Uploads to my website. <a href="http://donaldalexander.co.uk/yaya">http://donaldalexander.co.uk/yaya</a></p><p>but when i upload an image it says its uploaded it and displays bbcode etc but wont show a thumbnail but when i click the url to view the image i get the following</p><div class="quotebox"><blockquote><p>Internal Server Error<br />The server encountered an internal error or misconfiguration and was unable to complete your request.</p><p>Please contact the server administrator, service@webmailer.de and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p><p>More information about this error may be available in the server error log.</p><p>Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.</p></blockquote></div><br /><p>Can someone help me?</p><p>Also when i change Config.php with my ftp details then the webpage doesnt load up anything.</p><p>I wish this was an easy install as its driving me crazy</p>]]></summary>
			<author>
				<name><![CDATA[dudumomo]]></name>
				<uri>http://chevereto.com/foro/user427.html</uri>
			</author>
			<updated>2010-05-14T15:20:24Z</updated>
			<id>http://chevereto.com/foro/topic229-internal-error-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[problem with installing....]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic540-problem-with-installing-new-posts.html"/>
			<summary type="html"><![CDATA[<p><a href="http://kookimooki.sixserve.net/img/Upload/index.php">http://kookimooki.sixserve.net/img/Upload/index.php</a><br />what do i need to do?</p>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user823.html</uri>
			</author>
			<updated>2010-04-27T17:57:31Z</updated>
			<id>http://chevereto.com/foro/topic540-problem-with-installing-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[uploading larger images.]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic536-uploading-larger-images-new-posts.html"/>
			<summary type="html"><![CDATA[<p>I keep trying to upload images that are over 1024*768 but when I do, I get sent to a blank page, I am sure the image is uploaded its not a file size issue their under the 2 meg limit.</p><p>Its the width and height thats causing a problem is there any parts of the code that checks and blocks this or is it a bug ?</p>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user817.html</uri>
			</author>
			<updated>2010-04-23T15:36:31Z</updated>
			<id>http://chevereto.com/foro/topic536-uploading-larger-images-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Invalid access! Need Help!]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic468-invalid-access-need-help-new-posts.html"/>
			<summary type="html"><![CDATA[<p>I&#039;ve installed everything, and when I click upload file, I get a page with this message:</p><p>&quot;Invalid access, use the home page of IMAGEHOSTING NAME to upload images.&quot;</p><p>I have no clue how to overcome this problem, can it be something with that my server automatically put www in front of url? just a guess...</p><p>*Edit* I&#039;m using NB 1.7</p>]]></summary>
			<author>
				<name><![CDATA[Rodolfo]]></name>
				<uri>http://chevereto.com/foro/user744.html</uri>
			</author>
			<updated>2010-04-12T17:58:35Z</updated>
			<id>http://chevereto.com/foro/topic468-invalid-access-need-help-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Error when trying to upload a picture]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic479-error-when-trying-to-upload-a-picture-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Warning: copy(up/working/fansub stea.png) [function.copy]: failed to open stream: Permission denied in /home/animserv/public_html/img/engine.php&nbsp; on line 334</p><p>Warning: getimagesize(up/working/fansub stea.png) [function.getimagesize]: failed to open stream: No such file or directory in /home/animserv/public_html/img/engine.php on line 385</p><p>Warning: unlink(up/working/fansub stea.png) [function.unlink]: No such file or directory in /home/animserv/public_html/img/engine.php on line 422</p><p>and When I try using the FTP it works but I get this error,</p><p>Warning: ftp_close() expects parameter 1 to be resource, null given in /home/animserv/public_html/img/engine.php on line 725</p><p>It still works tho.</p><p>Regards</p>]]></summary>
			<author>
				<name><![CDATA[.Ice]]></name>
				<uri>http://chevereto.com/foro/user769.html</uri>
			</author>
			<updated>2010-03-16T18:41:47Z</updated>
			<id>http://chevereto.com/foro/topic479-error-when-trying-to-upload-a-picture-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[HOW-TO: Fix Chevereto Install Issues with 000webhost! (Maybe others!)]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic483-howto-fix-chevereto-install-issues-with-000webhost-maybe-others-new-posts.html"/>
			<summary type="html"><![CDATA[<p>I will teach you how to fix the issues you have been getting on Chevereto with 000webhost (and maybe others)</p><p>First, I&#039;d like to thank <a href="http://www.elakiri.com/forum/showthread.php?t=254800&amp;page=2">http://www.elakiri.com/forum/showthread &#133; amp;page=2</a> for the information!!!</p><p><strong>1) Download Chevereto from chevereto.com<br />2) Open and connect to your site through FTP<br />3) Upload all the Chevereto files you downloaded to the place you want<br />4) Go to the &quot;config.php&quot; and open/edit it.<br />5) Change</strong> </p><div class="codebox"><pre><code>$PATH_SERVER = $_SERVER[&#039;DOCUMENT_ROOT&#039;];</code></pre></div><p><strong> to</strong> </p><div class="codebox"><pre><code>$PATH_SERVER = &#039;/public_html&#039;;</code></pre></div><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <em>NOTICE: If you are using a subdomain (even a subdomain of a subdomain), you MUST change this from the above!!<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Example: If I have the free site hello.000webhost.com and I want to make images.hello.000webhost.com for Chevereto, I must change </em></p><div class="codebox"><pre><code>$PATH_SERVER = &#039;/public_html&#039;;</code></pre></div><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<em> to</em> </p><div class="codebox"><pre><code>$PATH_SERVER = &#039;/public_html/images&#039;;</code></pre></div><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; In other words: put PATH_SERVER to your Chevereto ROOT.<strong><br />6) Save, exit, and upload &quot;config.php&quot; back to your server<br />7) Go to the &quot;engine.php&quot; and open/edit it.<br />8) Change </strong></p><div class="codebox"><pre><code>if(!file_exists($PATH_SERVER.&#039;/.htaccess&#039;)) {</code></pre></div><p> <strong>to</strong> </p><div class="codebox"><pre><code>if(!file_exists(&#039;/home/*USERNAME HERE*/public_html/.htaccess&#039;)) {</code></pre></div><p><em><br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; AGAIN: You must put the CORRECT path. The above code is assuming you are uploading Chevereto to ROOT. See above for more details.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ALSO: Change *USERNAME HERE* to your 000webhost username. Example: a24789320</em></p><p><strong>9) Save, exit, and upload &quot;engine.php&quot; back to your server.<br />10) Access your Chevereto and have fun!!!</strong></p><p>Easy as that!! No FTP mode!! Only change PATH_SERVER and engine.php!!!</p><p>Good luck!!!</p><br /><br /><br /><br /><br /><br /><br /><p>----------------------------------</p><p>Still confused? See my script below:</p><p>I host my Chevereto on <strong>host.<em>NAME</em>.comoj.com</strong> (so keep that in mind when reading my code)</p><p><strong>CONFIG.PHP (THE SIGNIFICANT STUFF)</strong><br /></p><div class="codebox"><pre><code>// 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 = &#039;/public_html/host&#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.</code></pre></div><br /><p><strong>ENGINE.PHP (THE SIGNIFICANT STUFF)</strong><br /></p><div class="codebox"><pre><code>if(!file_exists(&#039;/home/a1726402/public_html/host/.htaccess&#039;)) {</code></pre></div>]]></summary>
			<author>
				<name><![CDATA[cralor]]></name>
				<uri>http://chevereto.com/foro/user776.html</uri>
			</author>
			<updated>2010-03-10T22:10:14Z</updated>
			<id>http://chevereto.com/foro/topic483-howto-fix-chevereto-install-issues-with-000webhost-maybe-others-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[New update soon]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic437-new-update-soon-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Hi there people.</p><p>I&#039;m announcing a few changes in the next release. Mostly of them will help to avoid the &quot;Dom script&quot; or &quot;invalid path&quot; error. Also, the ftp mode will die. FTP mode is a clever idea, but you use <em>chevereto</em> in crappy free host and mostly of them sucks in server config issue... So, that makes you say that chevereto sucks. Btw, this changes will help to mount chevereto in local and Windows environments.</p><p>So, the sacrifice (unix enviroments) will be the need to use chmod IF your php runs without permissions. <em>Windows servers doesn&#039;t have this problem.</em></p><p>There is no multi-upload, and no more langs and bla bla bla. The next release is just to avoid the high volume of installation issues. Please, don&#039;t suggest anything!</p><p>So, you will be able to install chevereto in any crappy host and it will be available this month.</p><p>Regards.</p>]]></summary>
			<author>
				<name><![CDATA[cralor]]></name>
				<uri>http://chevereto.com/foro/user2.html</uri>
			</author>
			<updated>2010-03-09T21:28:20Z</updated>
			<id>http://chevereto.com/foro/topic437-new-update-soon-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[No toma el subdominio.]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic480-no-toma-el-subdominio-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Bueno, antes de que me saquen a patadas informo que lei todos los th sobre este problema y ninguno lo soluciono... dejo como tengo mi config...</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;es&#039;); // en - English | es - Español | fa - Farsi | fr - Français | nl - Dutch | cn - ZH-CN (Chinese)

define(&#039;APP_NAME&#039;, &#039;Dveloping.com.ar&#039;); // Your image hosting name
define(&#039;TAG_LINE&#039;, &#039;Hosting de Imágenes&#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 = false; // 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;img.dveloping.com.ar&#039;; // --&gt; mysite.com
$PATH_SERVER = &#039;/home3/kind/public_html/img&#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 = &#039;dveloping.com.ar&#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;miuser&#039;; // valid username.
$ftp_pass = &#039;mipassword&#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><p>Verdaderamente me esta sacando canas verdes, ya no se que hacer :S probe de todo ya... me anda en el directorio del dominio principal (dveloping.com.ar/img) pero no en el subdominio :S ya no se que hacer, puse el ftp y arriba me tira este error ademas</p><div class="quotebox"><blockquote><p>Warning: ftp_close() expects parameter 1 to be resource, null given in /home3/kind/public_html/img/engine.php on line 725</p></blockquote></div><p>Ya lei los archivos de instalacion y todo, en ninguno explica como hacerlo funcionar al 100% con subdominio... por ejemplo, yo con subdominio llegue a hacer que abra la pagina, pero al subir la imagen dice que la sesion no es valida o algo asi.</p>]]></summary>
			<author>
				<name><![CDATA[kind]]></name>
				<uri>http://chevereto.com/foro/user770.html</uri>
			</author>
			<updated>2010-03-03T06:19:57Z</updated>
			<id>http://chevereto.com/foro/topic480-no-toma-el-subdominio-new-posts.html</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[GD Extension does not load]]></title>
			<link rel="alternate" href="http://chevereto.com/foro/topic426-gd-extension-does-not-load-new-posts.html"/>
			<summary type="html"><![CDATA[<p>Hi everyone<br />I have installed chevereto on my server and it worked fine for long but after i have installed another script on the same server i got this message. &quot;Critital error: You must load the GD extension&quot; Any help is welcome. <br />This is my website URL <a href="http://www.readyshare.eu">http://www.readyshare.eu</a></p><p>Thank you.</p>]]></summary>
			<author>
				<name><![CDATA[crazy0man]]></name>
				<uri>http://chevereto.com/foro/user670.html</uri>
			</author>
			<updated>2010-03-02T13:22:16Z</updated>
			<id>http://chevereto.com/foro/topic426-gd-extension-does-not-load-new-posts.html</id>
		</entry>
</feed>
