Re: BC 1.3.3 Probleme seit Umstellung auf SSL Verbindung
Verfasst: Mi 31. Mär 2021, 08:50
Profis sagen: Anderer Hoster. 

Hilfe und Support
https://forum.blackcat-cms.org/
Im Moment leider keine Option ...
2021-03-30 23:41:26 - CRIT --> [printError()] Fatal error with message [You are not allowed to view this page!] emitted in [header.tpl.d17.php] line [7] method [Dwoo_plugin_page_content] [ Object.php:(208) ]
Meine headers.inc.php sieht so aus:creativecat hat geschrieben: Mi 31. Mär 2021, 09:24 Hast du in deinem Template im Header den meta-tag robot deklariert? Hast du eine robots.txt in deinem Hauptverzeichnis liegen?
Was hast du alles in deiner .htaccess stehen?
Code: Alles auswählen
$mod_headers = array(
'frontend' => array(
'js' => array(),
'css' => array(
array('file' => 'modules/lib_bootstrap_4/vendor/css/bootstrap.css'),
array('file' => 'modules/lib_bootstrap_4/vendor/icons/font/bootstrap-icons.css'),
array('file' => 'templates/'.pathinfo(__DIR__,PATHINFO_BASENAME).'/css/default/frontend.css'),
),
'jquery' => array( 'core' => true, 'ui' => true ),
'meta' => array(
array('name'=>'viewport','content'=>"width=device-width, initial-scale=1.0"),
array('charset'=>(defined('DEFAULT_CHARSET') ? DEFAULT_CHARSET : "utf-8")),
array('http-equiv'=>'X-UA-Compatible','content'=>'IE=edge'),
)
),
);
Code: Alles auswählen
RewriteEngine On
# If called directly - redirect to short url version
RewriteCond %{REQUEST_URI} !/page/intro.php
RewriteCond %{REQUEST_URI} /page
RewriteRule ^/page/(.*).php$ /$1/ [R=301,L]
# Send the request to the index.php for processing
RewriteCond %{REQUEST_URI} !^/(page|backend|framework|include|languages|media|account|search|temp|templates/.*)$
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([\/\sa-zA-Z0-9._-]+)$ /index.php?$1 [QSA,L]
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Important note!
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# The path above should be relative to your DOCUMENT_ROOT. If it's not, the
# redirection will not work! So please check the path!
#
# Example:
# URL - http://www.yourdomain.com/blackcatcms/index.php
# path - /blackcatcms/index.php
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Code: Alles auswählen
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
Code: Alles auswählen
30.03.2021 19:59:07 beispiel.de [client xxxx:xxxx:xxxx::] AH01215:
PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 135168 bytes)
in /mnt/xxxx/xx/xx/xxxxxxxx/htdocs/framework/CAT/Helper/I18n.php on line 103:
/home/strato/http/power/rid/xx/xx/xxxxxxxx/htdocs/modules/cc_catgallery/save.php
Laut Fehlermeldung wird mehr als 256MB benötigt, kommt das vom BC Modul?memory_limit
256 MB
Beschränkt den maximalen Speicherverbrauch eines Scripts
post_max_size
76 MB
Beschränkt die Menge an Daten, die maximal von PHP über POST akzeptiert
Code: Alles auswählen
$stack = debug_backtrace();
Code: Alles auswählen
// --- Include optional language files for variants ---
require_once( CAT_PATH . '/modules/cc_catgallery/inc/class.catgallery.php' );
$catGallery = new catGallery();
$path = CAT_Helper_Directory::sanitizePath( CAT_PATH . '/modules/' .$catGallery::$directory .'/languages/' . $catGallery->getVariant() );
if ( file_exists( $path ) )
CAT_Helper_Page::getInstance()->lang()->addFile( LANGUAGE . '.php', $path );