Tema: PHPMotion
Ver Mensaje Individual
  #22 (permalink)  
Antiguo 21/11/2008, 07:57
Avatar de farra
farra
 
Fecha de Ingreso: marzo-2008
Ubicación: Aqui estoy
Mensajes: 574
Antigüedad: 16 años, 2 meses
Puntos: 20
Pregunta Respuesta: PHPMotion

acabo de instalar el PHPMOTION... todas las paginas al parecer se ven bien... pero quise subir el primer video para probar y al entrar en la pagina de Upload me encontre con esto:




$value) { if ($key == "title" || $key == "description" || $key == "tags") { if (!isset($value) || ($value == "")) { $display_key = @str_replace('_', " ", $key); //error TBS $message_type = $config["notification_error"]; $blk_notification = 1; $error_message = $error_message . " - " . $display_key . " is required "; $procede = false; } } } } // ////////////////////////////// // display page with form error // ////////////////////////////// if ($procede == false && $form_submitted == "yes") { $template = "templates/main_1.htm"; $inner_template1 = "templates/inner_upload_video_form.htm";//middle of page $TBS = new clsTinyButStrong; $TBS->NoErr = true;// no more error message displayed. $TBS->LoadTemplate("$template"); $TBS->Render = TBS_OUTPUT; $TBS->Show(); @mysql_close(); die(); } // ///////////////// // disply clean page // ///////////////// if (!isset($form_submitted) || ($form_submitted == "")) { $template = "templates/main_1.htm"; $inner_template1 = "templates/inner_upload_video_form.htm";//middle of page $TBS = new clsTinyButStrong; $TBS->NoErr = true;// no more error message displayed. $TBS->LoadTemplate("$template"); $TBS->Render = TBS_OUTPUT; $TBS->Show(); @mysql_close(); die(); } // ///////////////////////////////////////////////////////// // if all has gone well, register user and load welcome page // close sql connection here // ///////////////////////////////////////////////////////// if ($procede == true && $form_submitted == "yes") { //================================================== ==============START OF UPLOAD============================================ ======================= $THIS_VERSION = "2.0"; if (isset($_GET['cmd']) && $_GET['cmd'] == 'about') { kak("UBER UPLOADER FILE UPLOAD
UBER UPLOADER VERSION = " . $UBER_VERSION . "
UU_FILE_UPLOAD = " . $THIS_VERSION . "
\n"); } $tmp_sid = md5(uniqid(mt_rand(), true)); /////////////////////////////////////////////////////////////////////// // This is where you might set your config file eg. // // if($_SESSION['user'] == "tom"){ $config_file = 'uu_tom_config'; } // /////////////////////////////////////////////////////////////////////// $config_file = $default_config_file; $path_to_upload_script .= '?tmp_sid=' . $tmp_sid; $path_to_ini_status_script .= '?tmp_sid=' . $tmp_sid; if ($MULTI_CONFIGS_ENABLED) { $path_to_upload_script .= "&config_file=$config_file"; $path_to_ini_status_script .= "&config_file=$config_file"; } $template = "templates/main_1.htm"; $inner_template1 = "templates/inner_upload_video.htm";//middle of page $TBS = new clsTinyButStrong; $TBS->NoErr = true;// no more error message displayed. $TBS->LoadTemplate("$template"); $TBS->Render = TBS_OUTPUT; $TBS->Show(); @mysql_close(); die(); //================================================== ==================END OF UPLOADER========================================== ====================== } ?>



al parecer creo que es un problema con los short tags de php <? en ves de <?php

pero veo que hay muchos archivos en el phpmotion que tienen los shorts tags.. es normal esto? o tengo que cambiar 1 por 1...?
__________________
Firma:
Es mas dificil para el mono entender que el hombre desciende de el....

PD: Siempre doy karma al que me da una buena respuesta... ;0)