Jump to content


Photo

Sistema De Fotos Igual Ao Do Www.bemnafoto.com.br


  • Faça o login para participar
3064 replies to this topic

#571 tauser

tauser

    12 Horas

  • Usuários
  • 127 posts
  • Sexo:Não informado
  • Localidade:Brasilia - DF

Posted 11/05/2004, 16:42

Bom galera alguem poderia me ajudar , como faço para colocar as ultimas 4 eventos na minha index
(y)
<?
Connecting ...
UserName : Tauser
Password : *********
E-mail : tauser@brturbo.com.br
MSN : tauser@gmail.com
Skype : tauserc
Details : WebDesigner, WebMaster.
Sucessfull ...
?>

#572 Rich

Rich

    Localidade: 23°S 46°W

  • Usuários
  • 311 posts
  • Sexo:Não informado
  • Localidade:23°S 46°W

Posted 11/05/2004, 23:20

alguem me manda as tabelas q sao criadas para eu criar manualmente!!
"O sábio tem algo a dizer, o idiota tem que dizer algo!"

#573 Felipe Pena

Felipe Pena

    O temor do Senhor é o princípio da sabedoria

  • Ex-Admins
  • 6441 posts
  • Sexo:Masculino

Posted 12/05/2004, 05:35

alguem me manda as tabelas q sao criadas para eu criar manualmente!!

Amigo,
retirei o código no arquivo instalar.php, veja abaixo:

$sql = mysql_query("CREATE TABLE users(
id TINYINT (3) DEFAULT '0' not null AUTO_INCREMENT,
nome VARCHAR (150) not null ,
email VARCHAR (255) not null ,
login VARCHAR (15) not null ,
senha VARCHAR (15) not null ,
nivel VARCHAR (3) not null,
PRIMARY KEY (id)
);");

$sql = mysql_query ("CREATE TABLE config(
id int(2) NOT NULL auto_increment,
tsite VARCHAR (100) not null,
usite VARCHAR (255) not null, 
fonte VARCHAR (50) not null, 
tfonte VARCHAR (2) not null,
ttitulo VARCHAR (2) not null,
coronmouse VARCHAR (10) not null,
cortexto VARCHAR (10) not null,
corcelula1 VARCHAR (10) not null,
corcelula2 VARCHAR (10) not null,
corfundosite VARCHAR (10) not null,
PRIMARY KEY (id)
);");

$sql = mysql_query ("CREATE TABLE galeria (
  id int(3) NOT NULL auto_increment,
  nome varchar(255) NOT NULL default '',
  dia char(2) NOT NULL default '',
  mes char(2) NOT NULL default '',
  ano varchar(4) NOT NULL default '',
  local varchar(255) NOT NULL default '',
  pasta varchar(255) NOT NULL default '',
  foto01 varchar(255) NOT NULL default '',
  PRIMARY KEY  (id)
);");
;) (y)

Edição feita por: felipensp, 12/05/2004, 05:37.

Felipe Pena
[...] ó terra, terra, terra; ouve a palavra do Senhor. — Jeremias 22:29

#574 Rich

Rich

    Localidade: 23°S 46°W

  • Usuários
  • 311 posts
  • Sexo:Não informado
  • Localidade:23°S 46°W

Posted 12/05/2004, 11:59

Valeu felipensp... mas nao me ajudou mto!
Eu ja consegui arrumar me problema...
Uma dica, quem nao for usar localhost. Tem q mudar no arquivo conexao.php e instalar.php. No instalar.php vc procura onde ta escrito localhost e muda para o endereço q vc quiser!

Edição feita por: Rich, 12/05/2004, 13:44.

"O sábio tem algo a dizer, o idiota tem que dizer algo!"

#575 Norman__

Norman__

    Normal

  • Usuários
  • 67 posts
  • Sexo:Não informado
  • Interesses:PHP + Asp

Posted 13/05/2004, 18:51

aee tem como colocar um contador de click no index para cada galeria cadastrada

vlw (y)
--------------------------------------------------------------------
alceunorman@yahoo.com.br
www.tonoclick.com

--------------------------------------------------------------------

#576 danilodepolli

danilodepolli

    Doutor

  • Usuários
  • 987 posts
  • Sexo:Não informado

Posted 13/05/2004, 19:24

Bom galera alguem poderia me ajudar , como faço para colocar as ultimas 4 eventos na minha index
(y)

$sql = mysql_query("SELECT * FROM galeria order by id DESC Limit 0,4");
Danilo Depolli
danilo@camphost.com.br
CAMPHOST - 1º MES GRATIS EM QUALQUER PLANO! HOSPEDAGEM WEB
QUER PATROCINIO FREE? ENTRE EM CONTATO
ICQ: 7695319
MSN: danilodepolli@bol.com.br

#577 thiagorsl

thiagorsl

    Ex-admin xD

  • Ex-Admins
  • 1151 posts
  • Sexo:Não informado
  • Localidade:Sampa
  • Interesses:http://sermaldito.amovoce.net/

Posted 14/05/2004, 12:45

será que tem alguma forma ou script que de para comentar as fotos?

Você deve encontrar scripts assim da uma procurada aqui no wmonline que você deve encontrar alguma coisa (y)

Eu sei q eu ja postei isso antes...mas nao resolveu ainda...
No 3º passo da instalação ta dando esse erro:

Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/restricted/home/chazit/public_html/galeria/include/conexao.php on line 1

Warning: mysql_select_db(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/restricted/home/chazit/public_html/galeria/include/conexao.php on line 1

O q q é???

Você pode ver que é erro de socket na biblioteca e não tem nada a ver com o script se fosse o script estaria dando erro de conexão erro de socket é impossivel (y)

oi galera.. pq nao consigo instalar a galeria de fotos no windows 2000 prof.
jaht ah fudo rodando.. muito bem por sinal..

apache + php +mysql (outros sitemas usam o recurso sem grilos)

mas no momento de instalar, nao avanca do primeiro formulario...
soh k no windows 98 funcionou bem..
fico no aguardo..

Ative o register_globals no php.ini e isso deve resolver seu problema (y)

alguem me manda as tabelas q sao criadas para eu criar manualmente!!


Procure no instalar.php

Valeu felipensp... mas nao me ajudou mto!
Eu ja consegui arrumar me problema...
Uma dica, quem nao for usar localhost. Tem q mudar no arquivo conexao.php e instalar.php. No instalar.php vc procura onde ta escrito localhost e muda para o endereço q vc quiser!
Vlw pela dica é necessario alterar-se o instalar para que ele modifique o conexão corretamente não é nem necessario alterar o conexao basta alterar o instalar.php que ele automaticamente na hora da instalação alterar o conexão.php (y)

aee tem como colocar um contador de click no index para cada galeria cadastrada

vlw  

Tem sim mais é um pouco complicado para se fazer isso não sei se entende de php mais basta criar um campo a mais na tabela do mysql e ir aumentando ele no janela.php (y)

Bom galera alguem poderia me ajudar , como faço para colocar as ultimas 4 eventos na minha index

Procure aqui isso já foi pedido muitas vezes e já foi dado a resposta varias vezes (y)


Amigo,
retirei o código no arquivo instalar.php, veja abaixo:
----------------------------------------------------------------
$sql = mysql_query("SELECT * FROM galeria order by id DESC Limit 0,4");

Vlw ai felipinho e Danilo pela ajuda vocês são gente boa pacas

#578 ique

ique

    Novato no fórum

  • Usuários
  • 7 posts
  • Sexo:Não informado

Posted 15/05/2004, 11:40

Ai galera beleza, eu não entendo nada de PHP e estou aprendendo a construir paginas agora e uma dessas paginas que estou fazendo eu estava precisando de uma galeria de fotos eu configurei ertinho mais acontece o seguinte quando estou configurando a galeria

Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access /home/energiap/public_html/galeria/images/galeria owned by uid 99 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 7

Warning: copy(galeria//P1011835.JPG): failed to open stream: No such file or directory in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 7



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 16



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 25



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 34



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 43



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 52



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 61



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 70



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 79



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 88



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 97



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 106



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 115



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 124



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 133



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 142



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 151



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 160



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 169



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 178

Se alguém poder me ajudar se poderem eu agradeço.

#579 thiagorsl

thiagorsl

    Ex-admin xD

  • Ex-Admins
  • 1151 posts
  • Sexo:Não informado
  • Localidade:Sampa
  • Interesses:http://sermaldito.amovoce.net/

Posted 15/05/2004, 13:41

Ai galera beleza, eu não entendo nada de PHP e estou aprendendo a construir paginas agora e uma dessas paginas que estou fazendo eu estava precisando de uma galeria de fotos eu configurei ertinho mais acontece o seguinte quando estou configurando a galeria

Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access /home/energiap/public_html/galeria/images/galeria owned by uid 99 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 7

Warning: copy(galeria//P1011835.JPG): failed to open stream: No such file or directory in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 7



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 16



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 25



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 34



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 43



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 52



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 61



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 70



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 79



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 88



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 97



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 106



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 115



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 124



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 133



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 142



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 151



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 160



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 169



Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32894 is not allowed to access owned by uid 0 in /home/energiap/public_html/galeria/images/envia_fotos_script.php on line 178

Se alguém poder me ajudar se poderem eu agradeço.

Isso deve-se ao Safe Mode do seu host está ativo

Dá uma olhada nos posts mais para tras que já expliquei o que ele faz (y)

É necessario que peça a seu host que desative ele ;)

#580 ique

ique

    Novato no fórum

  • Usuários
  • 7 posts
  • Sexo:Não informado

Posted 15/05/2004, 14:52

Valeu thiago_rsl vou dar uma olhada nisso.

#581 danilodepolli

danilodepolli

    Doutor

  • Usuários
  • 987 posts
  • Sexo:Não informado

Posted 17/05/2004, 13:25

Galera,

Preciso duma ajuda aqui, não sei o que aconteceu mas o sistema deu um pau ai que não sei o que fazer, ele não ta mostrando mais os thumbs....

GALERIA BOMBANDO

Alguem sabe o que pode ter acontecido? O caminho das fotos parece estar certinho, não sei pq deu pau agora...

Valeu!
Danilo Depolli
danilo@camphost.com.br
CAMPHOST - 1º MES GRATIS EM QUALQUER PLANO! HOSPEDAGEM WEB
QUER PATROCINIO FREE? ENTRE EM CONTATO
ICQ: 7695319
MSN: danilodepolli@bol.com.br

#582 RenatoAlmeida

RenatoAlmeida

    Normal

  • Usuários
  • 111 posts
  • Sexo:Não informado
  • Localidade:Brasilia - Distrito Federal - Brasil
  • Interesses:PHP<br>HTML<br>JAVA<br>DESING

Posted 17/05/2004, 13:53

Galera,

Preciso duma ajuda aqui, não sei o que aconteceu mas o sistema deu um pau ai que não sei o que fazer, ele não ta mostrando mais os thumbs....

GALERIA BOMBANDO

Alguem sabe o que pode ter acontecido? O caminho das fotos parece estar certinho, não sei pq deu pau agora...

Valeu!

esse site seu ficou massa..

esse sistema de fotos que vc ta usando é esse galeria brasil???

#583 Rich

Rich

    Localidade: 23°S 46°W

  • Usuários
  • 311 posts
  • Sexo:Não informado
  • Localidade:23°S 46°W

Posted 17/05/2004, 19:44

posso ter mais de 1 galeria criada no meu site? ou elas podem dar pau?
"O sábio tem algo a dizer, o idiota tem que dizer algo!"

#584 danilodepolli

danilodepolli

    Doutor

  • Usuários
  • 987 posts
  • Sexo:Não informado

Posted 17/05/2004, 19:55

Acredito que não tem problema desde que vc configure 2 banco de dados, 2 pastas diferentes etc...
Danilo Depolli
danilo@camphost.com.br
CAMPHOST - 1º MES GRATIS EM QUALQUER PLANO! HOSPEDAGEM WEB
QUER PATROCINIO FREE? ENTRE EM CONTATO
ICQ: 7695319
MSN: danilodepolli@bol.com.br

#585 thiagorsl

thiagorsl

    Ex-admin xD

  • Ex-Admins
  • 1151 posts
  • Sexo:Não informado
  • Localidade:Sampa
  • Interesses:http://sermaldito.amovoce.net/

Posted 17/05/2004, 20:15

Galera,

Preciso duma ajuda aqui, não sei o que aconteceu mas o sistema deu um pau ai que não sei o que fazer, ele não ta mostrando mais os thumbs....

GALERIA BOMBANDO

Alguem sabe o que pode ter acontecido? O caminho das fotos parece estar certinho, não sei pq deu pau agora...

Valeu!

esse site seu ficou massa..

esse sistema de fotos que vc ta usando é esse galeria brasil???

É sim a galeria (y)

posso ter mais de 1 galeria criada no meu site? ou elas podem dar pau?


Claro que pode desde que as duas trabalhem distintamente uma da outra ou seja totalmente independentes com banco separados , pastas separadas e etc.....

Galera,

Preciso duma ajuda aqui, não sei o que aconteceu mas o sistema deu um pau ai que não sei o que fazer, ele não ta mostrando mais os thumbs....

GALERIA BOMBANDO

Alguem sabe o que pode ter acontecido? O caminho das fotos parece estar certinho, não sei pq deu pau agora...

Valeu!


Olha acredito que por algum motivo o seu host tenha desativado a biblioteca GD (y)




2 user(s) are reading this topic

0 membro(s), 2 visitante(s) e 0 membros anônimo(s)

IPB Skin By Virteq