• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

Error al subir imagen

Status
Not open for further replies.

bam78

Chevereto Noob
buenas cuando subo una imagen me da este error Acceso o solicitud invalida, usa la pagina principal de ImgShare 2k9 para subir imagenes.

esta es mi pagina http://imgshare.netii.net/

es porque le quite el nombre chevereto?

tengo la version 1.4 rev4

asi esta el codigo de config.php
Code:
<?

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

  Chevereto - Script de hosting de imagenes
  Nightly Build 1.4 (rev 4 05/04/2009)
  http://www.chevereto.com/

  Released under the GPL 2.0
  Copyright (C) 2008 by Rodolfo Berrios
  <inbox at rodolfoberrios dot com>

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

// Lang
define('LANG', 'es'); // en - English, es - Español, fa - Farsi

define('APP_NAME', 'ImgShare 2k9'); // Your image hosting name
define('TAG_LINE', 'Image Hosting'); // Your tagline (for doctitles and logo)

// Si cambias esto deberas cambiar las carpetas fisicas
define('DIR_UP','up/');
define('DIR_IM','images/');
define('DIR_WORKING',DIR_UP.'working/');
define('DIR_TEMP',DIR_UP.'temp/');
define('DIR_TH','thumbs/');



// Configuraciones de imagenes
$max_mb = '3.0'; // Maximo tamaño de imagen (Mbytes)
$max_by = $max_mb*2048576; // Maximo tamaño de imagen en bytes)
$max_name = '15'; // Caracteres maximos (no incluye ext y ".")
$mini_ancho = '1000'; // Ancho del thumb (pixels)
$mini_alto = '1000'; // Alto del thumb (pixels)
$lowres = '18'; // Minimo ancho a redimensionar
$higres = '1680'; // Maximo ancho de redimension

// Configuracion espexifica 
$lim_act = true; // true: Permite que se posten imagenes solo de tu DOM_SCRIPT - false: Permite que se suba desde cualquier parte (por ejemplo un formulario en un foro)
$debug_mode = false; // false: No muestra nada - cualquier otro valor mostrara los errores segun la config del servidor.
$cut_url = true; // true: Se cortan las URL (pe: TinyURL.com) - false: No se cortan las URL.
$cut_url_user = true; // Si $cut_url = true -> true: Permite a los usuarios elegir cortar url (preferencia) - false: No los deja establecer preferencia
$allow_over_resize = false; // true: peremite que se redimensione por sobre el ancho de la imagen - false: no redimensiona sobre el ancho de la imagen

// No editar, salvo problemas
// SERVER
define('DOM_SCRIPT', $_SERVER['imgshare.netii.net']);
define('PATH_SERVER', $_SERVER['/public_html']);

// Upload por FTP, en algunas configuraciones no es necesario el $use_ftp, pero en la mayoria si (pe: cPanel)
$use_ftp = false; // true: usara ftp para subir los archivos - false: no usara ftp (usar si php tiene permisos o si se aplica chmod).
$ftp_host = 'imgshare.netii.net'; // Si no es igual a tu dom script entonces lo cambias.
$ftp_user = 'a2091509';
$ftp_pass = '';

// PATH
$path = dirname($_SERVER['PHP_SELF']);
if (strlen($path)>1) { 
    define('PATH_SCRIPT', $path.'/public_html');
} else {
    define('PATH_SCRIPT', $path);
}

// URL
define('URL_SCRIPT', 'http://imgshare.netii.net/' );

?>


configuracion de .htaccess
Code:
<files file-name>
order allow,deny
deny from all
</files>

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} ^([^.]+)$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)/$ http://imgshare.netii.net/$1/ [L,R=301]

RewriteEngine On
# index PAGE slash final
RewriteRule ^(.*)/$ index.php?p=$1 [L]
# index PAGE dot exten
RewriteRule ^(.*).html$ index.php?p=$1 [L]
RewriteRule ^(.*).htm$ index.php?p=$1 [L]

ErrorDocument 400 /index.php?p=400
ErrorDocument 401 /index.php?p=401
ErrorDocument 403 /index.php?p=403
ErrorDocument 404 /index.php?p=404
ErrorDocument 500 /index.php?p=500
ErrorDocument 503 /index.php?p=503
 
y el debug.. y la info de tu server?
ayuda un poco no crees?
 
Status
Not open for further replies.
Back
Top