- Fórum WMO
- → Snaker's Content
Snaker's Content
There have been 56 items by Snaker (Search limited from 28/04/2023)
#216872 Usuarios
Posted by Snaker on 25/10/2003, 22:54 in Artigos, Dicas e Tutoriais de PHP
Parse error: parse error in /home/snaker/public_html/useronline.php on line 36
#215284 Usuarios
Posted by Snaker on 23/10/2003, 22:25 in Artigos, Dicas e Tutoriais de PHP
<META HTTP-EQUIV="REFRESH" CONTENT="60">
Aonde eu coloco a url do meu site pra poder funfar ?
#374674 Problema No Chmod
Posted by Snaker on 29/05/2004, 18:22 in PHP
Eu fiz td certo mais nao deu certo , não sei oq esta acontecendo , mt estranho isso !Cara ve esse tuto de instalação que vc fica sabendo os chmods que tem que dar:
http://tutoriais.inv...tuto1/tuto1.htm
Falou e até mais!
Fica dando esse erro quando eu vou mandar a skin
Cannot write to the /home/patriots/public_html/forum/style_images directory, please set sufficient CHMOD permissions to allow this. IBF cannot do this for you.
Tem outro tbm
Could not read the uploaded CSS archive file, please check the permissions on that file and try again
#378428 Problema No Chmod
Posted by Snaker on 03/06/2004, 21:31 in PHP
Fiz tudo isso e não deu certo !vê aqui os chmods que vc tem que dar:
http://tutoriais.inv...tuto1/tuto1.htm
falou
#374717 Problema No Chmod
Posted by Snaker on 29/05/2004, 18:59 in PHP
Como eu mudo ?Para dar esse erro você não alterou o chmod para 777 .....
Eu fiz td certo mais nao deu certo , não sei oq esta acontecendo , mt estranho isso !Cara ve esse tuto de instalação que vc fica sabendo os chmods que tem que dar:
http://tutoriais.inv...tuto1/tuto1.htm
Falou e até mais!
Fica dando esse erro quando eu vou mandar a skin
Cannot write to the /home/patriots/public_html/forum/style_images directory, please set sufficient CHMOD permissions to allow this. IBF cannot do this for you.
Tem outro tbm
Could not read the uploaded CSS archive file, please check the permissions on that file and try again
Pois ele dá que não consegue ewscrever então se não consegie escrever é porquê o chmdo não esta correto
Tente mudar de vez pelo programa de FTP mudar pelo CPanel
#377079 Problema No Chmod
Posted by Snaker on 01/06/2004, 19:20 in PHP
Cara aqui nao deo certo !bom cara eu dei chmod 777 na pasta skin pra instalar um skin novo no meu fórum e deu certo... ¬¬
vê ai tb
Falou
Tipo fala quais os CHMODS que vc deo nas pastas pq aqui eu fiz td oq estava dizendo pra colocar e nao deu certo !
Vlw
[]'s
ERRO :
Warning: chdir(): SAFE MODE Restriction in effect. The script whose uid is 32070 is not allowed to access /home/patriots/public_html/forum/archive_in/set-IS_DarkBlue owned by uid 99 in /home/patriots/public_html/forum/sources/lib/tar.php on line 306
Warning: fopen(): Unable to access /home/patriots/public_html/forum/archive_in/set-IS_DarkBlue/stylesheet.css in /home/patriots/public_html/forum/sources/Admin/ad_skin_import.php on line 305
Warning: fopen(/home/patriots/public_html/forum/archive_in/set-IS_DarkBlue/stylesheet.css): failed to open stream: No such file or directory in /home/patriots/public_html/forum/sources/Admin/ad_skin_import.php on line 305
Warning: opendir(): SAFE MODE Restriction in effect. The script whose uid is 32070 is not allowed to access /home/patriots/public_html/forum/archive_in/set-IS_DarkBlue owned by uid 99 in /home/patriots/public_html/forum/sources/Admin/admin_functions.php on line 265
Warning: opendir(/home/patriots/public_html/forum/archive_in/set-IS_DarkBlue): failed to open dir: Success in /home/patriots/public_html/forum/sources/Admin/admin_functions.php on line 265
Warning: readdir(): supplied argument is not a valid Directory resource in /home/patriots/public_html/forum/sources/Admin/admin_functions.php on line 267
Warning: closedir(): supplied argument is not a valid Directory resource in /home/patriots/public_html/forum/sources/Admin/admin_functions.php on line 275
#214535 Hospedagem!
Posted by Snaker on 22/10/2003, 23:09 in HTML, CSS e Metodologias
[]'s
#375885 Invision...
Posted by Snaker on 30/05/2004, 22:49 in PHP
Eh mt arriscado fazer isso !!!eu acho que vc tem que fazer o backup do bd e instalar de novo, depois você faz o upload do bd...
eu acho que é isso, mas não tenho ctza não!
se não for desculpe-me
Falou
Apenas substitua esses arquivos >
Uploading the Files
From the unzipped package, upload the following files to the same directory that your existing board is in:
admin.php
css.php
index.php
install_templates.txt
show.php
upgrade5.php
Upload the directories (and any contents / sub directories):
cache
fonts
html (All files and sub forums, etc)
lang/en/*.php (All PHP files. Create the directory if it's not there and upload into it)
Skin/s1/*.php (All PHP files. Create the directory if it's not there and upload into it)
sources/*.* (All PHP files and sub folders)
style_images/1/ (All files. Create the directory "1" if it's not there and upload into it)
#215272 Script De Ultimos Posts
Posted by Snaker on 23/10/2003, 21:59 in PHP
Eu não consegui instalar esse script deu erro !http://forum.wmonlin...showtopic=40281
Tava logo embaixo da lista um tópico igual ao que vc quer...
<?php
error_reporting(7);
error_reporting(8);
error_reporting(1);
error_reporting(2);
error_reporting(4);
function cortar($frase, $quantidade) {
$tamanho = strlen($frase);
if($tamanho > $quantidade)
$frase = substr_replace($frase, "...", $quantidade, $tamanho - $quantidade);
echo $frase;
}
$conexao = @mysql_connect("localhost", "usuarioDB", "senha");
mysql_select_db("DATABASE", $conexao);
$sql = "SELECT TITLE, FORUM_ID, TID FROM forum_topics WHERE 1 ORDER BY tid DESC LIMIT 10";
$resultado = mysql_query($sql, $conexao);
$contador = 1;
while($campo = mysql_fetch_array($resultado)) {
if($contador < 10) $contador_str = "".$contador;
else $contador_str = $contador;
echo $contador_str; ?>-
<a href="http://localhost/for...?act=ST&f=<?php echo $campo["FORUM_ID"]; ?>&t=<?php echo $campo["TID"]; ?>" target=_blank title='<?php echo $campo["TITLE"]; ?>'>
<?php cortar(stripslashes($campo["TITLE"]), 25); ?>
</a><br>
<?php
$contador++;
}
mysql_free_result($resultado);
mysql_close($conexao);
?>
Quais eu devo colocar os dados para funcionar ?
- Fórum WMO
- → Snaker's Content
- Privacy Policy
- Regras ·