Jump to content
Sign in to follow this  
Tierri Lopes

[Cms] Metin2Grand By Ondry147

Recommended Posts

Metin2 GrandCMS feita pelo ondry147.Guia de instalação:

  1. Abrir o navicat e correr o ficheiro account.sql na base de dados account;
  2. Abrir o ficheiro mt2grand.sql, procurar por Please login or register to see this link. e substituir pelo vosso endereço. Exemplo: Procurar por tierrilopes e mudar para o nome administrador desejado.
  3. Criar uma base de dados chamada mt2grand e correr o ficheiro mt2grand.sql na mesma;
  4. Fazer upload do conteúdo da pasta web para a localização do website;
  5. Abrir o ficheiro index.php e .htaccess, procurar por Please login or register to see this link. e substituir pelo vosso endereço. Exemplo: Please login or register to see this link.
  6. Abrir o ficheiro inc/init.php e modificar o ip, utilizador e password da base de dados.
  7. Dar permissões 777 aos seguintes ficheiros na localização do website: assets/images/avatars assets/images/avatars/team assets/images/itemshop assets/images/news assets/images/referral assets/images/slider

Informações adicionais:

Please login or register to see this spoiler.

Nota: O nome de administrador deverá existir na tabela account.Todos os ficheiros javascript unidos para o tudo.js + ficheiro minificado. (os originais foram deixados para ser mais fácil alterações e design)Todos os ficheiros css unidos para o tudo.css + ficheiro minificado. (os originais foram deixados para ser mais fácil alterações e design)Removidos scripts de bloqueio.Foram apenas colocadas as opções de visualização. O demo não pode alterar componentes.Apenas para demonstrar o que a cms contem a quem nunca a usou, assim pode ter uma ideia.https://i.tlthings.net/images/2016/10/02/Clipboardimage2016-10-02214321.pnghttps://i.tlthings.net/images/2016/10/02/Clipboardimage2016-10-02214403.png

Please login or register to see this attachment.

Please login or register to see this link.

  • Upvote 2

Share this post


Link to post
Share on other sites
Guest Gamers

Erro: Fatal error: Call to undefined function mb_internal_encoding() in /var/www/site/inc/init.php on line 2

Share this post


Link to post
Share on other sites
Guest Gamers

Como eu faço para vê a versão do meu php?

Share this post


Link to post
Share on other sites
Guest Gamers

Ei tierrilopes, quando estiver online me da aquela ajuda ai para ligar o site no frebsd?

Share this post


Link to post
Share on other sites

This CMS when uploaded to webhost works very slow.I don't know how to speed it up.

Login page and register page not working.There is some fault in query of login and register, not yet tested fully until now.But this CMS is superb if a fixed version is released.

Share this post


Link to post
Share on other sites
Please login or register to see this quote.

Theres indeed a really slowdown is its used elsewhere that not the same machine/datacenter as the server host.

This usually happens on OVH machines due to the network restrictions they have. In order to fix that you can or change the cms database connections or buy a webhost in the same datacenter as the dedicated server, asking ovh to bridge them together.

Share this post


Link to post
Share on other sites
Guest Gamers

tierrilopes, aqui não tem esse ficheiro não.. Poderia me da um auxilio pelo TV!?

Share this post


Link to post
Share on other sites
Guest Gamers

Problema: PHP Fatal error: Undefined class constant 'PDO::MYSQL_ATTR_INIT_COMMAND' in /var/www/web/inc/classes/Database.class.php on line 15

Share this post


Link to post
Share on other sites

pkg install -y php70-pdo_mysql

 

Onde 70 e a versão do php.

 

Abrir o ficheiro

 

/usr/local/etc/apache24/httpd.conf

 

 

Procurar por:

 

#LoadModule rewrite_module libexec/apache24/mod_rewrite.so

 

Mudar para:

 

LoadModule rewrite_module libexec/apache24/mod_rewrite.so

 

 

Procurar por:

 

DocumentRoot "/usr/local/www/apache24/data"

<Directory "/usr/local/www/apache24/data">

#

# Possible values for the Options directive are "None", "All",

# or any combination of:

# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

#

# Note that "MultiViews" must be named *explicitly* --- "Options All"

# doesn't give it to you.

#

# The Options directive is both complicated and important. Please see

# Please login or register to see this link.

# for more information.

#

Options Indexes FollowSymLinks

 

#

# AllowOverride controls what directives may be placed in .htaccess files.

# It can be "All", "None", or any combination of the keywords:

# AllowOverride FileInfo AuthConfig Limit

#

AllowOverride None

 

#

# Controls who can get stuff from this server.

#

Require all granted

</Directory>

 

Mudar para:

 

DocumentRoot "/usr/local/www/apache24/data"

<Directory "/usr/local/www/apache24/data">

#

# Possible values for the Options directive are "None", "All",

# or any combination of:

# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews

#

# Note that "MultiViews" must be named *explicitly* --- "Options All"

# doesn't give it to you.

#

# The Options directive is both complicated and important. Please see

# Please login or register to see this link.

# for more information.

#

Options Indexes FollowSymLinks

 

#

# AllowOverride controls what directives may be placed in .htaccess files.

# It can be "All", "None", or any combination of the keywords:

# AllowOverride FileInfo AuthConfig Limit

#

AllowOverride All

 

#

# Controls who can get stuff from this server.

#

Require all granted

</Directory>

 

 

Reiniciar o servidor apache com o seguinte comando:

Please login or register to see this code.

Share this post


Link to post
Share on other sites
Guest Gamers

Agora está me dando isso, até no site que funcionava, por favor pode entrar pelo tv e me ajudar?

 

 

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

Share this post


Link to post
Share on other sites
Guest Gamers

Agora estou sem site, Please login or register to see this link.

 

Da uma olhada!

Share this post


Link to post
Share on other sites

What "Gamers says is right.I installed this CMS on a host but I get the same error as "Gamers".Then I reloaded the page many times and it works but sometimes it throws above error.Wait for me I will give you the link of the site and a test credential after making some changes in server.

Share this post


Link to post
Share on other sites

Gamers issue was:

 

2 confliting php versions (was using php70 but mod_php56 instead of 70)

Website account didnt had access to player, account, log, common databases and was only to mt2grand database. (its requires so due to the admin panel)

Permissions werent setup to 777 in assets/images

Share this post


Link to post
Share on other sites
Guest Gamers

Alguém pode me ajudar nesse erro? Captcha?

 

Please login or register to see this image.

Share this post


Link to post
Share on other sites
Guest Gamers
Please login or register to see this quote.

Obrigado, sempre ajudando!

 

Outra coisa que ocorreu, alterar senha não está funcionando.

Share this post


Link to post
Share on other sites
Guest Gamers

Como faz pra centralizar a logo do site e colocar um fundo? Fucei tudo e nada.

Share this post


Link to post
Share on other sites
Guest Gamers
Please login or register to see this quote.

Já revirei todos os arquivos CMS e não consigo achar a solução de modo algum, poderia me mandar a linha delas?

Share this post


Link to post
Share on other sites

O site que me mandas-te em pm, não tem um logo centrado mas sim um fundo no website inteiro.

Podes fazer o mesmo com este código:

 

<img class="site-background" style="position: fixed; left: 0px; top: -179.5px; width: 1920px; height: 1080px; bottom: auto; right: auto;" src="/assets/images/imagem.png">

 

Adicionando isto ao css:

Please login or register to see this code.

Share this post


Link to post
Share on other sites
Guest Gamers
Please login or register to see this quote.

Em qual css eu coloco essa função?

 

Não entendo muito de site será que poderia da aquela ajuda informando o ficheiro?

Share this post


Link to post
Share on other sites
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.