- Fórum WMO
- → rsvmoreno's Content
rsvmoreno's Content
There have been 17 items by rsvmoreno (Search limited from 26/04/2023)
#906674 Qual A Melhor Versão Do Fireworks
Posted by rsvmoreno on 03/04/2008, 10:30 in Criação Web
Qual é a melhor opção para se usar. Estou usando cs3 e usava a versão MX portugues.
Qual vc usa?
#904386 Site De Portugues Para Ingles E Frances
Posted by rsvmoreno on 21/03/2008, 20:13 in Dúvidas Gerais
Alguem pode me ajudar como eu faço
Agradeço desde j´´a
#873208 Erro Na Hora De Instalar Oscomerce
Posted by rsvmoreno on 28/09/2007, 18:43 in PHP
Tenho mais uma duvida para me ajudarem
Alguem sabe como tiro essa mensagem no topo da loja E:\Domains\ccccc.com.br\wwwroot\loja/includes/configure.php.
Minha hospefagem é windows, tentei trocar a permissão para 0444 e não consegui.
#872490 Erro Na Hora De Instalar Oscomerce
Posted by rsvmoreno on 25/09/2007, 10:54 in PHP
Abri a pgina pelo Dreamwear e tem o seguinte
<?php
/*
$Id: upload.php,v 1.2 2003/06/20 00:18:30 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
http://www.oscommerce.com
Copyright © 2003 osCommerce
Released under the GNU General Public License
*/
class upload {
var $file, $filename, $destination, $permissions, $extensions, $tmp_filename, $message_location;
function upload($file = '', $destination = '', $permissions = '777', $extensions = '') {
$this->set_file($file);
$this->set_destination($destination);
$this->set_permissions($permissions);
$this->set_extensions($extensions);
$this->set_output_messages('direct');
if (tep_not_null($this->file) && tep_not_null($this->destination)) {
$this->set_output_messages('session');
if ( ($this->parse() == true) && ($this->save() == true) ) {
return true;
} else {
// self destruct
$this = null;
return false;
}
}
}
function parse() {
global $messageStack;
if (isset($_FILES[$this->file])) {
$file = array('name' => $_FILES[$this->file]['name'],
'type' => $_FILES[$this->file]['type'],
'size' => $_FILES[$this->file]['size'],
'tmp_name' => $_FILES[$this->file]['tmp_name']);
} elseif (isset($GLOBALS['HTTP_POST_FILES'][$this->file])) {
global $HTTP_POST_FILES;
$file = array('name' => $HTTP_POST_FILES[$this->file]['name'],
'type' => $HTTP_POST_FILES[$this->file]['type'],
'size' => $HTTP_POST_FILES[$this->file]['size'],
'tmp_name' => $HTTP_POST_FILES[$this->file]['tmp_name']);
} else {
$file = array('name' => (isset($GLOBALS[$this->file . '_name']) ? $GLOBALS[$this->file . '_name'] : ''),
'type' => (isset($GLOBALS[$this->file . '_type']) ? $GLOBALS[$this->file . '_type'] : ''),
'size' => (isset($GLOBALS[$this->file . '_size']) ? $GLOBALS[$this->file . '_size'] : ''),
'tmp_name' => (isset($GLOBALS[$this->file]) ? $GLOBALS[$this->file] : ''));
}
if ( tep_not_null($file['tmp_name']) && ($file['tmp_name'] != 'none') && is_uploaded_file($file['tmp_name']) ) {
if (sizeof($this->extensions) > 0) {
if (!in_array(strtolower(substr($file['name'], strrpos($file['name'], '.')+1)), $this->extensions)) {
if ($this->message_location == 'direct') {
$messageStack->add(ERROR_FILETYPE_NOT_ALLOWED, 'error');
} else {
$messageStack->add_session(ERROR_FILETYPE_NOT_ALLOWED, 'error');
}
return false;
}
}
$this->set_file($file);
$this->set_filename($file['name']);
$this->set_tmp_filename($file['tmp_name']);
return $this->check_destination();
} else {
if ($this->message_location == 'direct') {
$messageStack->add(WARNING_NO_FILE_UPLOADED, 'warning');
} else {
$messageStack->add_session(WARNING_NO_FILE_UPLOADED, 'warning');
}
return false;
}
}
function save() {
global $messageStack;
if (substr($this->destination, -1) != '/') $this->destination .= '/';
if (move_uploaded_file($this->file['tmp_name'], $this->destination . $this->filename)) {
chmod($this->destination . $this->filename, $this->permissions);
if ($this->message_location == 'direct') {
$messageStack->add(SUCCESS_FILE_SAVED_SUCCESSFULLY, 'success');
} else {
$messageStack->add_session(SUCCESS_FILE_SAVED_SUCCESSFULLY, 'success');
}
return true;
} else {
if ($this->message_location == 'direct') {
$messageStack->add(ERROR_FILE_NOT_SAVED, 'error');
} else {
$messageStack->add_session(ERROR_FILE_NOT_SAVED, 'error');
}
return false;
}
}
function set_file($file) {
$this->file = $file;
}
function set_destination($destination) {
$this->destination = $destination;
}
function set_permissions($permissions) {
$this->permissions = octdec($permissions);
}
function set_filename($filename) {
$this->filename = $filename;
}
function set_tmp_filename($filename) {
$this->tmp_filename = $filename;
}
function set_extensions($extensions) {
if (tep_not_null($extensions)) {
if (is_array($extensions)) {
$this->extensions = $extensions;
} else {
$this->extensions = array($extensions);
}
} else {
$this->extensions = array();
}
}
function check_destination() {
global $messageStack;
if (!is_writeable($this->destination)) {
if (is_dir($this->destination)) {
if ($this->message_location == 'direct') {
$messageStack->add(sprintf(ERROR_DESTINATION_NOT_WRITEABLE, $this->destination), 'error');
} else {
$messageStack->add_session(sprintf(ERROR_DESTINATION_NOT_WRITEABLE, $this->destination), 'error');
}
} else {
if ($this->message_location == 'direct') {
$messageStack->add(sprintf(ERROR_DESTINATION_DOES_NOT_EXIST, $this->destination), 'error');
} else {
$messageStack->add_session(sprintf(ERROR_DESTINATION_DOES_NOT_EXIST, $this->destination), 'error');
}
}
return false;
} else {
return true;
}
}
function set_output_messages($location) {
switch ($location) {
case 'session':
$this->message_location = 'session';
break;
case 'direct':
default:
$this->message_location = 'direct';
break;
}
}
}
?>
Minha hospedagem é windows. Entrei em contato e falaram que não precisa da permissão 7777
Na instalação (Install)
Existe uma outra mensagem, mas instala a loja
Nova Instalação
Banco de Dados Importado
Warning: set_time_limit() has been disabled for security reasons in E:\Domains\rsxxx.com.br\wwwroot\loja\install\includes\functions\general.php on line 47
A instalação do Banco de Dados foi bem sucedido!
#872414 Loja Virtual Em Asp
Posted by rsvmoreno on 24/09/2007, 19:27 in Dúvidas sobre Scripts Prontos de ASP
Alguem sabe onde posso baixar uma loja virtual em asp com manual ou video de instalação.
Agradeço
#872379 Erro Na Hora De Instalar Oscomerce
Posted by rsvmoreno on 24/09/2007, 16:04 in PHP
Fatal error: Cannot re-assign $this in E:\Domains\rsssdsds.com.br\wwwroot\loja\admin\includes\classes\upload.php on line 31
PHP Fatal error: Cannot re-assign $this in E:\Domains\rdfdfd.com.br\wwwroot\loja\admin\includes\classes\upload.php on line 31
Alguem sabe ou pode me ajudar.
tambem aceito tentar instalar uma nova loja.
A loja que estou tentando instalar é osCommerce2.2-MS2-BR
Agradeço os feras em PHP.
#872313 Instalação Loja Virtual
Posted by rsvmoreno on 24/09/2007, 10:12 in PHP
Baixei osCommerce2.2-MS2-BR-PHPmania.org e segui todas as instruções do manual e uma video aula que tenho(Não entendo php), criei o banco, usuario,senha. Pedi as permissões de alguns arquivos. Fiz a Install da loja. Mas no final , vc tem opções de entrar na parte adm da loja ou na loja. No link da loja entra normail e quando vou entrar na parte adm da um erro conforma abaixo
Fatal error: Cannot re-assign $this in E:\Domains\rsvxxx.com.br\wwwroot\loja\admin\includes\classes\upload.php on line 31
PHP Fatal error: Cannot re-assign $this in E:\Domains\rsvxxx.com.br\wwwroot\loja\admin\includes\classes\upload.php on line 31
Ou
onde posso baixar uma nova loja e manual, talvez essa seja complicada.
Agradeço
#870205 F12 Como Devo Fazer Para Não....
Posted by rsvmoreno on 12/09/2007, 14:40 in Dreamweaver
#870140 Qual Ftp Você Usa?
Posted by rsvmoreno on 12/09/2007, 10:38 in Dúvidas Gerais
Abraços
#869968 F12 Como Devo Fazer Para Não....
Posted by rsvmoreno on 11/09/2007, 14:55 in Dreamweaver
" O internet explorer impediu esta pagina web de executar o scrips ou controle activex.......
#869699 F12 Como Devo Fazer Para Não....
Posted by rsvmoreno on 09/09/2007, 19:37 in Dreamweaver
É o seguinte, sempre quando estou cosntruindo um site e jogo tudo para o dreamwaear, principalmente quando tem um arquivo flash ou script, quando clico F12 para visualizar no navegador, aparece uma mensagem para autorizar o site a abrir. Como eu faço para não aparecer mais essa mensagem. grato a todos
#867230 Ajuda Urgente
Posted by rsvmoreno on 23/08/2007, 19:19 in Dreamweaver
Alguem sabe fazer isso. Estou enrolado.
http://www.cmn.g12.br/capacetes.jpg
segue o exemplo
Agradeço desde já
#866440 Revenda Preciso De Uma Boa No Brasil
Posted by rsvmoreno on 19/08/2007, 16:32 in Dúvidas Gerais
As melhores. Insite e Redhost(suporta ASP)
#866438 Monitor Lg Modelo L1753
Posted by rsvmoreno on 19/08/2007, 16:26 in Hardware
Obs. Alguem sabe onde acho o drive desse monitor. O no site da LG não achei.
Obrigado
- Fórum WMO
- → rsvmoreno's Content
- Privacy Policy
- Regras ·