PDA

Zobacz pełną wersję : problem z zalogowaniem do panelu admina



beRRo
18-02-2012, 20:40
Dobrywieczór, mam pewnien problem, otóż dziś po wgraniu bazy danych, jak i plików do serwera na którym stoi sobie strona
emusic.xaa.pl
napotkałem niespotykany jeszcze (przeze mnie błąd) zalogowania się do panelu administracyjnego !
gdy przechodze do zakładki /administrator
mam o to taki error !

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@emusic.xaa.pl and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



możliwe że przy wgrywaniu plików i bazy przez cpanel o czymś zapomiałem, bądz problem tkwi gdzieś indziej (stoję) :blink:
mam nadzieję że ktoś mi pomoże rozwiązać (za pewnie banalny) problem . :hmm:

beRRo
19-02-2012, 23:16
?
________________________________________
po pierwsze jeśli już to jeden znak zapytania wystarczy
po drugie - problem opisany tak, sobie - wgrałeś bla, bla, bla
Po co ruszałeś ?
Z czego wgrałeś?
Jaki był: powód, mechanizm, cel.
Więc może zdziwienie że brak jest odpowiedzi zachowaj dla siebie.
Poproś właściciela serwera również o logi (napisane w info)

steelfox
20-02-2012, 01:52
co oznacza wgranie plików i bazy, bo jeśli nadpisywałeś pliki i nie możesz zalogować się do admina, to prawdopodobnie masz błędy w configuration.php

beRRo
20-02-2012, 11:23
a więc tak przeprowadziłem Reinstalacje serwera (emusic.xaa.pl) na proserwer.pl (gdzie jest postawiony)
po momęcie, przywróciłem kopię zapasową bazy danych jak i całego katalogu do folderu public_htlm
Strona główna działa bardzo dobrze, beż żadnych błędów, w configuration.php zmieniałem tylko te linie


;public $dbtype = 'mysqli';
public $host = 'localhost'
public $user = '********';
public $password = '********';
public $db = '********';
public $dbprefix = 'rwhb_';


Więcej czynności nei wykonywałem, a chcę aby działał mi dostęp do zakładki /administrator

wezykowski
20-02-2012, 12:30
Może coś z .htaccess?

beRRo
20-02-2012, 13:14
Przedstawię, wynik z htaccess


.htaccess.php
## EOMBAK - Do not remove this line or this file
## EOMBAK - Do not remove this line or this file

htaccess.txt
##
# @package Joomla
# @copyright Copyright (C) 2005 - 2012 Open Source Matters. All rights reserved.
# @license GNU General Public License version 2 or later; see LICENSE.txt
##

##
# READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE!
#
# The line just below this section: 'Options +FollowSymLinks' may cause problems
# with some server configurations. It is required for use of mod_rewrite, but may already
# be set by your server administrator in a way that dissallows changing it in
# your .htaccess file. If using it causes your server to error out, comment it out (add # to
# beginning of line), reload your site in your browser and test your sef url's. If they work,
# it has been set by your server administrator and you do not need it set here.
##

## Can be commented out if causes errors, see notes above.
Options +FollowSymLinks

## Mod_rewrite in use.

RewriteEngine On

## Begin - Rewrite rules to block out some common exploits.
# If you experience problems on your site block out the operations listed below
# This attempts to block the most common type of exploit `attempts` to Joomla!
#
# Block out any script trying to base64_encode data within the URL.
RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR]
# Block out any script that includes a ********** tag in URL.
RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
# Block out any script trying to set a PHP GLOBALS variable via URL.
RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
# Block out any script trying to modify a _REQUEST variable via URL.
RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2})
# Return 403 Forbidden header and show the content of the root homepage
RewriteRule .* index.php [F]
#
## End - Rewrite rules to block out some common exploits.

## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
## End - Custom redirects

##
# Uncomment following line if your webserver's URL
# is not directly related to physical file paths.
# Update Your Joomla! Directory (just / for root).
##

# RewriteBase /

## Begin - Joomla! core SEF Section.
#
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
#
# If the requested path and file is not /index.php and the request
# has not already been internally rewritten to the index.php script
RewriteCond %{REQUEST_URI} !^/index\.php
# and the request is for something within the component folder,
# or for the site root, or for an extensionless URL, or the
# requested URL ends with one of the listed extensions
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC]
# and the requested path and file doesn't directly match a physical file
RewriteCond %{REQUEST_FILENAME} !-f
# and the requested path and file doesn't directly match a physical folder
RewriteCond %{REQUEST_FILENAME} !-d
# internally rewrite the request to the index.php script
RewriteRule .* index.php [L]
#
## End - Joomla! core SEF Section.

dodam, że nic nie zmianiałem w nich.

wezykowski
20-02-2012, 14:53
A jaką masz nazwę tego pliku? .htaccess?

beRRo
20-02-2012, 15:36
w głównym katalogu public_htlm mam dwa pliki o tej nazwie.

htaccess.txt i jeszcze jeden .htaccess.php

steelfox
20-02-2012, 17:15
Czy odtworzenie odbywało się poprzez Kickstart czy Akeeba ? Bo na dzień dobry masz zmianę domeny.

beRRo
20-02-2012, 17:32
Problem rozwiązany, doszedłem że w ftp w zakładce /administrator
niepotrzebne pliki trzeba usunąć. nimi były .htaccess i .htpasswd

wezykowski
21-02-2012, 08:11
Usunąłeś plik .htaccess? Zrezygnowałeś z prostych adresów? Powinieneś jedynie zmienić nazwę z .htaccess.php (nie wiem skąd ta nazwa się wzięła u Ciebie) na .htaccess.