Visualizzazione risultati 1 fino 4 di 4

Discussione: Internal Server Error 500

  1. #1
    bestdirectory non è connesso Utente AlterBlog
    Data registrazione
    02-02-2016
    Messaggi
    7

    Exclamation Internal Server Error 500

    Buonasera, ricevo questo errore provando ad installare un CMS per una web directory...
    Leggendo gli altri topic ho capito che l'errore è nell'htaccess, infatti se lo rinomino non si presenta più l'errore ma ho altri problemi, quindi vi posto l'htaccess
    Codice:
    <Files ~ "\.log$">
    	Order allow,deny
    	Deny from all
    </Files>
    
    <IfModule mod_rewrite.c>
    	# Check if mod_rewrite module loaded and we can work with SEO urls
    	SetEnv HTTP_MOD_REWRITE On
    
    	RewriteEngine on
    
    	# here is an ability to set additional "parent" theme, images from this theme will be checked in the first order
    	# if they aren't existed in original theme, then in default theme
    	#RewriteCond %{REQUEST_URI} !/themes/default/(.*)
    	#RewriteCond %{REQUEST_URI} \.(jpg|gif|png|ico)$ [NC]
    	#RewriteCond %{REQUEST_FILENAME} !-f
    	#RewriteCond %{DOCUMENT_ROOT}/themes/PARENT_THEME/$2 -f
    	#RewriteRule ^themes/([^/]+)/(.*)$ themes/PARENT_THEME/$2
    
    	# When images from 'themes/' subfolders can not be found - look for them in default theme
    	RewriteCond %{REQUEST_URI} \.(jpg|gif|png|ico)$ [NC]
    	RewriteCond %{REQUEST_FILENAME} !-f
    	RewriteRule ^themes/([^/]+)/(.*)$ themes/default/$2 [L]
    
    
    	# Combine js static files in one big file + gzip it (if possible)
    	RewriteCond %{REQUEST_FILENAME} !-f
    	RewriteCond %{REQUEST_FILENAME} !-d
    	RewriteRule ^(.*\.js) combine.php?type=javascript&files=$1
    	
    	# To redirect all users to access the site WITH the 'www.' prefix,
    	# (http://example.com/... will be redirected to http://www.example.com/...)
    	# adapt and uncomment the following:
    	# RewriteCond %{HTTP_HOST} ^yoursite\.com$ [NC]
    	# RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]
    
    	RewriteCond %{REQUEST_FILENAME} !-f
    	RewriteCond %{REQUEST_FILENAME} !-d
    	RewriteCond %{REQUEST_URI} !=/favicon.ico
    	#RewriteRule ^(.*)$ index.php/$1 [L]
    	RewriteRule ^(.*)$ ./index.php [L]
    </IfModule>

  2. #2
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    Devi includere anche la direttiva RewriteBase, se il tutto è nella radice, aggiungi sotto RewriteEngine on il codice:
    Codice:
    RewriteBase /

  3. #3
    bestdirectory non è connesso Utente AlterBlog
    Data registrazione
    02-02-2016
    Messaggi
    7

    Predefinito

    Ok, ora mi da questi errori:
    A PHP Error was encountered

    Severity: User Warning

    Message: Smarty error: problem creating directory '/membri'

    Filename: libs/Smarty.class.php

    Line Number: 1093
    A PHP Error was encountered

    Severity: Warning

    Message: include() [function.include]: Unable to access /membri/bestdirectory/system/view/smarty/templates_c/default/%%EB/EBC/EBCF78F2%%step1.tpl.php

    Filename: libs/Smarty.class.php

    Line Number: 1263
    A PHP Error was encountered

    Severity: Warning

    Message: include(/membri/bestdirectory/system/view/smarty/templates_c/default/%%EB/EBC/EBCF78F2%%step1.tpl.php) [function.include]: failed to open stream: No such file or directory

    Filename: libs/Smarty.class.php

    Line Number: 1263
    A PHP Error was encountered

    Severity: Warning

    Message: include() [function.include]: Failed opening '/membri/bestdirectory/system/view/smarty/templates_c/default/%%EB/EBC/EBCF78F2%%step1.tpl.php' for inclusion (include_path='.::system/')

    Filename: libs/Smarty.class.php

    Line Number: 1263
    Sembra che abbia problemi nel creare una cartella... Forse altervista non permette neanche questo..?

  4. #4
    karl94 non è connesso Staff AV
    Data registrazione
    03-10-2005
    Messaggi
    17,744

    Predefinito

    La cartella /membri esiste già: il tuo spazio web è collocato all'interno di /membri/bestdirectory, non saprei perché cerca di crearla. Più che altro tenta di includere file PHP che non sono presenti, hai controllato quelli?

Regole di scrittura

  • Non puoi creare nuove discussioni
  • Non puoi rispondere ai messaggi
  • Non puoi inserire allegati.
  • Non puoi modificare i tuoi messaggi
  •