danke erst mal allen - nur warum es bei strato funzt und bei mir nicht ist mir nicht richtig klar. Mein Ubuntumaschine ist eh mein Spielwiese. Ich werde nun mit der Migration zu Joomla 4.0 beginnen
Beiträge von Uranus7755
-
-
Hallo,
vielleicht auch hier: Browsercache löschen
Christianhör bloß auf, was ich das schon geflucht habe wenn CSS nicht ankommt
-
seltsam habe
hab die beiden Punkte
Suchmaschinen-freundliche URL und URL-Rewrite wieder aktiviert. und das ohne .htaccess und es funzt
-
Hallo Elwood,
hab die beiden Punkte
Suchmaschinen-freundliche URL und URL-Rewrite deaktiviert. 2. klappt dann eh weg
und .htaccess umbenannt. der selbe Scheiß -
natürlich nicht .. ich wollte nur das wesentliche zeigen
Apache Configuration
Alles anzeigen## # @package Joomla # @copyright Copyright (C) 2005 - 2019 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 'Options +FollowSymLinks' may cause problems with some server configurations. # It is required for the use of mod_rewrite, but it may have already been set by your # server administrator in a way that disallows changing it in this .htaccess file. # If using it causes your site to produce an error, comment it out (add # to the # beginning of the line), reload your site in your browser and test your sef urls. If # they work, then it has been set by your server administrator and you do not need to # set it here. ## ## No directory listings <IfModule autoindex> IndexIgnore * </IfModule> ## Suppress mime type detection in browsers for unknown types <IfModule mod_headers.c> Header always set X-Content-Type-Options "nosniff" </IfModule> ## Can be commented out if causes errors, see notes above. Options +FollowSymlinks Options -Indexes ## Mod_rewrite in use. RewriteEngine On ## Begin - Rewrite rules to block out some common exploits. # If you experience problems on your site then comment out the operations listed # below by adding a # to the beginning of the line. # This attempts to block the most common type of exploit `attempts` on Joomla! # # Block any script trying to base64_encode data within the URL. RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] # Block any script that includes a <script> tag in URL. RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR] # Block any script trying to set a PHP GLOBALS variable via URL. RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block 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 home page 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 the 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 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.
-
also die beiden Punkte Suchmaschinen-freundliche URL und URL-Rewrite nutzen sind auf "Ja" und in der .htaccess steht
## Mod_rewrite in use.
RewriteEngine On
-
Danke .. Wo sind welche Haken zu setzen bzw. wie muss die .htaccess aussehen
-
Hallo Ihr Wissenden,
Ich habe von einer produktiven Seite in Internet eine Kopie auf meiner eigenen Ubuntu-Maschine gemacht.
1. ein FTP durchgeführt
2. Die configuration.php angepasst (den DB-Zugang und die beiden Pfade für log und tmp angepasst)
3. Die DB exportiert bzw importiert
Nun musste ich feststellen, dass die Links im Menü ins Nirvana gehen und bekomme 404 Error.
Im Adminbereich funzt alles. Im Frontend funzt nur die Startseite.
Ich dachte, dann verknüpfst du im Adminbereich den Menülink noch mal neu mit dem Beitrag - was leider auch nichts brachte.
Hat jemand eine Idee? Früher ging das mal so. Danke im Vorraus -
Hallo Ihr Wissenden,
bin gerade dabei das Protostar Template umzustellen u.a. auch mit deutschen language files versehen.
Ich habe unter templates/meintemplate/language/de-DE einen neuen Ordner generiert.
Die beiden englischen Sprachdateien in den neuen Ordner kopiert
Dann die Dateien umbenann (aus en-GB => de-DE).
Danach alles übersetzt.
Die neuen Dateien in der XML eingetragen.
Joomla ist auf deutsch umgestellt Back- und Frontend.
Leider kommen nur die INI Einträge zum vorschein.
hat einer Idee? -
Danke für die Antworten, ich glaube ich habs verstanden. Da gibt es einen JLoader, in welchem man Klassen laden kann ohne dass man das über require oder include machen muss - richtig?
-
-
Hallo Ihr Wissenden,
ich habe mal eine Grundsätzliche Frage. Die möchte ich mal am Beispiel eines Plugin darstellen. Ich habe unter anderem eine php Datei.
der Inhalt ist ja im Prinzip so:PHP<?php defined('_JEXEC') or die; class PlgContentCoordstomap extends JPlugin { //weiterer Code } ?>
Woher weiß meine Datei wo sie JPlugin zu finden hat? Und das ohne
Danke in Vorraus
-
Sorry ich hab nicht bemerkt, dass die Schreibrechte nicht stimmen. Dachte schon dass da was geändert wurde - wie z.B. bei WP wo die URL in der DB steht. Jetzt klappts - Danke an alle.
Und war ja nicht ganz umsonst - der Tipp mit den Tool war hilfreich. Danke auch da!
-
Hallo Ihr Wissenden,
früher ging das so einfach mit dem Umzug, Datenbank exportieren dann importieren und die configuration.php anpassen.
jetzt kommt folgende Fehlermeldung.
Joomla\CMS\Filesystem\Folder::create: Das Verzeichnis kann nicht erstellt werden!Path: /var/www
Die Prüfsummenprüfung für dieses Joomla Core Update ist fehlgeschlagen!
ist klar /var/www ist nicht mehr gültig obwohl in der configuration.php folgendes steht: (x sind die ziffern für den Path)
public $log_path = '/mnt/rid/xx/xx/xxxxxxxxxxx/htdocs/administrator/logs';
public $tmp_path = '/mnt/rid/xx/xx/xxxxxxxx/htdocs/tmp';
Danke im Voraus
-
Astrid danke für den Tipp - Das habe ich auch vor den Entwickler zu kontaktieren.
-
Erst einmal Danke für die Links ...
den einen Übertäter habe ich mit Linux-Bordmitteln gefunden.michael@merkur:/var/www/html$ egrep -rni -e "jquery-latest" /var/www/html/website
/var/www/html/website/modules/mod_cookiesaccept/mod_cookiesaccept.php:17: $document->addScript("http://code.jquery.com/jquery-latest.min.js");
hier ging es mir hauptsächlich um das "http" ich will "https"
-
Hallo Re:Later,
erst einmal Danke - ich schau mir das malin Ruhe an - melde mich dann wieder. -
Hallo Ihr Schlauen Es gibt einen Unterschied zwischen meiner templates/meintemplate/index.php und das was mir der Firefox Inspektor anzeigt. diese Zeilen sind nicht in meiner index.php.
Code...... <script src="http://code.jquery.com/jquery-latest.min.js"></script> <script> jQuery(window).on('load', function() { new JCaption('img.caption'); }); ....... </script>
Wwie bekomm ich raus vorher die kommen? Danke
-
ok danke ... früher war ich immer bei joomlaportal - das schein wohl offline zu sein - oder?
-
Ich habe in den anderen Dateien nichts geändert.
was habe ich gemacht:
1. in mytemplate/html/mod_menu/default.php
in mytemplate/html/mod_menu/test.php umbenannt.
2. dann Layout im menü test ausgewählt3. die beiden Zeilen geändert.
und es zerschießt mir die Seite.
Codecase 'heading': require JModuleHelper::getLayoutPath('mod_menu', 'test_'.$item->type); break; default: require JModuleHelper::getLayoutPath('mod_menu', 'test_url');
Fehler gefunden ....offensichtlich müssen alle Dateien umbenannt werden