Přihlásit se

Joomla 5.1.0 a Joomla 4.4.4 (17 dub 2024)

Dnes byla uvolněna nová verze Joomla 5.1.0, společně s Joomla 4.4.4. Tato verze přináší spoustu nových funkcí, vylepšení v oblasti bezpečnosti a kódu a díky těmto vylepšením i vyšší rychlost.

Obnovení hesla admina

17. bře 2012 13:29 #91292
Obnovení hesla admina od agas
Návštěvník
Zdravím a chtěl bych požádat o pomoc. Při stavbě nového webu na J! 2.5 mám už něco uděláno, avšak poté, co jsem nějak nešikovně přejmenovával sebe coby hlavního uživatele (Super User) a nějak jsem si asi pomotal hesla se teď nemůžu přihlásit do administrace. :angry: Mám ale přístup jak do databáze, tak do struktury Joomly přes FTP. Je nějak možné tam najít příslušné heslo nebo jinak obnovit přístup? Velmi by mi to ušetřilo práci, abych nemusel vše začít odznovu. Díky, Petr.

17. bře 2012 17:15 #91299
Odpověď od Bong
Moderátor
Stáhněte Houbakovo heslo-j25 ze stránky www.joomlaportal.cz/index.php/download/c...-nastroje-pro-spravu

Obsah nahrajte přes FTP do rootu Joomly a spusťte přes prohlížeč. Heslo si změňte dle potřeby.

I'm sorry, my responses are limited...you must ask the right questions.
Poděkovali: agas

29. bře 2012 09:28 #91807
Odpověď od agas
Návštěvník
Děkuji za odpověď, i když nakonec byl problém jinde. Šlo o to, že je - nevím čím přesně vyvolaný - rozdíl v tom, jestli se do administrace přihlásím s "www" nebo bez "www". Konkrétně: Mám novou instalaci Joomly! 2.5 v subdoméně "marathon.farnostcheb.cz" (předchozí instalaci Joomly! 1.5 mám v " www.farnostcheb.cz "). No a když jsem se do administrace přihlásil přes " www.marathon.farnostcheb.cz ", tak to fungovalo, když jsem se přihlásil přes "marathon.farnostcheb.cz", tak to nefungovalo. Přestalo to fungovat poté, co jsem přidal dalšího uživatele a přidělil mu práva Super Users. No aby to bylo ještě komplikovanější, tak bez jakýchkoli dalších změn v uživatelských nastaveních to po čase zase začalo fungovat s i bez "www"...

29. bře 2012 10:24 - 29. bře 2012 10:25 #91816
Odpověď od ghost
Zkušený uživatel
ano, samozrejme je rozdil, zda jdete do webu s ci bez www (uklada se nejake sezeni, mate nejakou cookies v pc, ...)
proto si do htaccessu webu pridejte presmerovani z nonWWW na WWW adresu a mate to
jednotnoznacnost adresy je vyhodna samozrejme i pro "vyhledavace", protoze pak nevznika duplicitni obsah
Code:
# Redirect z nonWWW na WWW adresu RewriteEngine on Options +FollowSymlinks RewriteCond %{HTTP_HOST} ^mojedomena.cz RewriteRule (.*) http://www.mojedomena.cz/$1 [R=301,QSA,L]

Joomla! pro každého

29. bře 2012 11:30 #91820
Odpověď od agas
Návštěvník
Díky, i tohle mi už funguje.

Když jsem už zavedl ten htaccess, zkusil jsem pak také v "Nastavení SEO" zapnout "Použít přepis URL". Sice mi to hezky změní původní " www.marathon.farnostcheb.cz/index.php/cz/ " na hezčí " www.marathon.farnostcheb.cz/cz/ ", ale stránky se pak nezobrazují (vyskočí "500 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request").

Neměl byste do třetice ještě jednu rychlou radu? ;-)

Pro úplnost přikládám použitý htacces:
##
# @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 <script> 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.
#
# Redirect z nonWWW na WWW adresu
RewriteEngine on
Options +FollowSymlinks
RewriteCond %{HTTP_HOST} ^marathon.farnostcheb.cz
RewriteRule (.*) www.marathon.farnostcheb.cz/$1 [R=301,QSA,L]
## 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.

29. bře 2012 11:35 #91821
Odpověď od David
Nováček
Odkomentujte řádek s # RewriteBase / - změňte jej na RewriteBase /

www.joomlista.cz - blog o CMS Joomla!
www.joomlaskoleni.cz - Joomla! školení
www.grapharts.cz/
www.grapharts.cz/cs/hosting - Hosting pro Joomla!

Powered by Fórum