Home › Forum › Problemi Vari con WP › Tema bloccato dopo esportazione!!!
-
AutorePost
-
-
23 Gennaio 2012 alle 13:55 #20458Banjer71Partecipante
Salve, ho da poco attivato un nuovo hosting con nuovo dominio e ho seguito la procedura di esportazione di wordpress presente qui.
Questa è stata la procedura:
Ho eseguito il backup del database e importatolo in quello nuovo, assicurandomi prima di aver cambiato tutti i vecchi url con quelli nuovi,
Ho caricato tutti i file precedentemente scaricati sul mio pc tramite ftp
Dopo aver impostato il percorso nuovo nelle impostazioni generali di wp, ho anche copiato il i file index.php e .htacces nella cartella root cosi ho Indirizzo WordPress (URL) http://www.miosito.com e Sito Web (URL) http://www.miosito.com
ho anche modificato wp-blog header.php in htdocs/wp-blog header.php.
Dopo aver corretto gli errori che wp-super cache mi dava, l’ho disattivata e riattivata e mi ha corretto tutto.
Sembrava funzionare tutto bene, ad eccezione che se tento di modificare, cancellare qualcosa da i setting del tema itheme2 quando vado per salvare qualsiasi cambiamento apportato rimane tutto bloccato in fase di salvataggio e non va avanti costringendomi ad aggiornare la pagina e a notare che nessun cambiamento è avvenuto!
In cosa posso aver sbagliato
l’unica cosa che ho tralasciato di fare durante l’esportazione è quelle di disabilitare i plugin e reimpostare il thema standard, potrebbe essere quello??
I plug in pero’ funzionano l’unica cosa che non va sono le modifiche al tema!!!
Consigli??
Grazie
Banjer
-
24 Gennaio 2012 alle 11:34 #92423TittiModeratore
ho anche modificato wp-blog header.php in htdocs/wp-blog header.php.
Questo non mi è chiaro, è index.php da modificare
-
24 Gennaio 2012 alle 13:57 #92432Banjer71Partecipante
si hai ragione , ho sbagliato a scrivere! Ho modificato index.php ho fatto altri tentativi ma funziona tutto ad eccezione del pannello di configurazione di ithem2.
Non riesco a capire cosa possa essere!!!
-
24 Gennaio 2012 alle 14:31 #92435wilderbiralPartecipante
Salve, m’intrometto…
Io dovrei fare una procedura simile.
Vorrei importare il mio wordpress caricato su su altervista verso netsons, mi potete aiutare gentilmente?
Grazie.
-
24 Gennaio 2012 alle 14:33 #92436
-
24 Gennaio 2012 alle 14:34 #92437TittiModeratore
Salve, m’intrometto…
Io dovrei fare una procedura simile.
Vorrei importare il mio wordpress caricato su su altervista verso netsons, mi potete aiutare gentilmente?
Grazie.
Hai già aperto un tuo topic per questo, attendi risposta là .
EDIT: http://www.wpitaly.it/forum/topic.php?id=460
Dato che anche là ho visto che non hai aperto un nuovo topic, ma ti sei accodato ad altro argomento
-
24 Gennaio 2012 alle 14:44 #92439Banjer71Partecipante
si ho gia provato piu esportazione seguendo dal wiki la procedura, disattivato tutti i plug in e reimpostato il tema standard ma nulla, sto davvero impazzendo per sta cosa.
Ora sto pensando di fare cosi, dal vecchio sito cancello il tema ithem2 sperando che cosi si aggironi anche il database, poi esporto il database e ricarico itheme2 dal sito produttore e vedo se cosi parte, …potrebbe dipendere anche dal file .htaccess io ne ho due.. come posso editarlo per farne uno standard pulito??
-
24 Gennaio 2012 alle 14:58 #92440TittiModeratore
Cancellali entrambi e fanne uno nuovo con un semplice blocco note http://codex.wordpress.org/Using_Permalinks#Creating_and_editing_.28.htaccess.29
-
24 Gennaio 2012 alle 15:56 #92444Banjer71Partecipante
Niente …non funziona nemmeno l’eportazione, potrebbe il itheme2 avere qualche scritp che netsons blocca e quindi sto sbattendo inutilmente ???
Per quanto riguarda il file .htaccess cosa devo inserire come parametri di base?
-
24 Gennaio 2012 alle 18:08 #92455TittiModeratore
potrebbe il itheme2 avere qualche scritp che netsons blocca e quindi sto sbattendo inutilmente ???
Questo devi chiederlo a netsons
Per quanto riguarda il file .htaccess cosa devo inserire come parametri di base?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
1) Non ho capito se con il tema standard funziona tutto.
2) Se usi i permalink devi aggionarli dopo aver messo .htaccess, oppure non lo metti e lo fai creare automaticamente da WP con la riconfigurazione dei permalink.
3) I permessi sul server possono essere cambiati, quindi controlla che non si siano azzerati.
-
24 Gennaio 2012 alle 20:16 #92459Banjer71Partecipante
Allora ti ringrazio adesso provo subito e ti faccio sapere.
Ad ogni modo avendo il dubbio che netsons bloccasse qualcosa, cosi come ho letto dalle loro faq, ho provato a fare una installazione pulita di wordpress, ho creato una nuovo database, ho creato poi una cartella nuova in cui ho installato wordpress regolarmnete e poi ho caricato il tema pulito itheme2..mi ha dato lo stesso errore, quindi penso che sia un blocco di netsons…ho aperto un ticket per chiedergli dei chiarimenti ……
Rispondo al tuo questio n 1 , si il tesma standard funziona tutto, a parte questo problea di ithme2 il resto va a meraviglia ho provato a pubblicare qualche articolo di prova e funzionava tutto su tutte le varie installazioni.
al numero due invece ho aggiornato i permalink rimettendo quello predefinito ma funzionava tutto lo stesso .
Ho settato i permessi alle cartelle in cui ho installato wp a 777
Provo a rieditare il file .htaccess e ti faccio sapere
Grazie
-
24 Gennaio 2012 alle 20:25 #92460Banjer71Partecipante
ok aggiornato anche .htaccess ma non è cambiato nulla ….
-
24 Gennaio 2012 alle 21:51 #92477TittiModeratore
Non credo che 777 vada bene, potrebbe equivalere a 000.
Se l’installazione pulita di WP funziona, e una volta appurati gli eventuali blocchi e i giusti permessi sul server, direi per esclusione che è un problema del tema.
-
25 Gennaio 2012 alle 7:55 #92483Banjer71Partecipante
Si anche io dico che e’ un probelma del tema, secondo me contine evidentemente degli script che netsons ne impedisce l’esecuzione, ho letto infatti nelle loro faq che ci sono dei blocchi e che se si dovessero verificare bisogna chiedere loro spiegazione ed eventualmente chiedergli anche di abbassare il livello di tali sicurezze.
Per quanto rigurda i permessi 777 sono sia di scrittura lettura ed esecuzione..anche se gi di default dovrebbero andar bene quelli che c’erano …io credo sia un problema di compatibilita’ a questo punto del tema in ambiente netsons (se la terminologia che ho usato e’ corretta )
-
25 Gennaio 2012 alle 15:07 #92505Banjer71Partecipante
Allora , l-assistenza netsons mi ha risposto cosi>
Salve,
lato server e connettività NON riscontriamo alcun problema.
Può verificare lei stesso gli errori generati dal suo codice php o dagli applicativi web da lei in uso, leggendo il file error_log presente nella directory (cartella) che contiene lo script php in questione.
Per farle un esempio, se viene generato un errore all’indirizzo http://www.dominio.net/admin/index.php, allora troverebbe il file errro_log nella cartella /home/nomeaccount/public_html/admin/
In alternativa la invito a rivolgersi presso l’assistenza di chi le ha fornito lo script/CMS
be io di file error?log ne ho diversi ma non ci capisco molto…ne posso postare uno ?
-
25 Gennaio 2012 alle 15:27 #92512TittiModeratore
Postalo… per chi lo sa leggere… basta che non sia lungo mezzo metro.
Ma quale versione hai del tema, la free o la premium? Se è la seconda, hanno la loro assistenza.
E, soprattutto, è aggiornata la versione del tema in uso?
-
25 Gennaio 2012 alle 15:40 #92514Banjer71Partecipante
Ho la versione free… ora ne posto uno il piu lungo , gli altri che ho trovato in vaire cartelle sono appena di una riga ma questo credo sia quello piu utile in quanto ha lo storico degli ultimi tre giorni e contiene le prime prove….
[23-Jan-2012 11:27:59 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:27:59 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:27:59 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:28:06 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:28:06 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:28:06 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:06 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:06 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:06 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:07 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:07 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:07 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:08 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:08 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:08 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:18 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:18 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:18 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:39 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:39 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 11:29:39 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 21:04:38 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 21:04:38 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 21:04:38 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 22:02:07 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 22:02:07 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 22:02:07 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 22:02:19 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 22:02:19 UTC] PHP Warning: require(./wp-blog-header.php) [function.require]: failed to open stream: No such file or directory in /home/naftjazi/public_html/index.php on line 17
[23-Jan-2012 22:02:19 UTC] PHP Fatal error: require() [function.require]: Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
[24-Jan-2012 12:27:51 UTC] PHP Parse error: syntax error, unexpected ‘;’ in /home/naftjazi/public_html/htdocs/wp-content/themes/itheme2/functions.php on line 37
[24-Jan-2012 12:28:05 UTC] PHP Parse error: syntax error, unexpected ‘;’ in /home/naftjazi/public_html/htdocs/wp-content/themes/itheme2/functions.php on line 37
[24-Jan-2012 12:28:13 UTC] PHP Parse error: syntax error, unexpected ‘;’ in /home/naftjazi/public_html/htdocs/wp-content/themes/itheme2/functions.php on line 37
[24-Jan-2012 12:42:18 UTC] PHP Parse error: syntax error, unexpected ‘;’ in /home/naftjazi/public_html/htdocs/wp-config.php on line 69
[24-Jan-2012 12:43:07 UTC] PHP Parse error: syntax error, unexpected ‘;’ in /home/naftjazi/public_html/htdocs/wp-config.php on line 69
[24-Jan-2012 12:43:25 UTC] PHP Parse error: syntax error, unexpected ‘;’ in /home/naftjazi/public_html/htdocs/wp-config.php on line 69
[24-Jan-2012 12:43:34 UTC] PHP Parse error: syntax error, unexpected ‘;’ in /home/naftjazi/public_html/htdocs/wp-config.php on line 69
[24-Jan-2012 15:25:53 UTC] PHP Warning: mysql_connect() [function.mysql-connect]: Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) in /home/naftjazi/public_html/htdocs/wp-includes/wp-db.php on line 1034
-
25 Gennaio 2012 alle 15:56 #92515TittiModeratore
Failed opening required ‘./wp-blog-header.php’ (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/naftjazi/public_html/index.php on line 17
Questo è abbastanza chiaro, secondo me hai sbagliato il percorso inserito nell’index.php al file suddetto
P.S.: non è un problema del tema quindi, l’errore principale è nell’index.php, perché wp-blog-header.php non riesce a caricare il tema.
-
25 Gennaio 2012 alle 16:09 #92516Banjer71Partecipante
si ma poi l ho corretto , la cosa strana e che io non capisco e’ che l-installazione pulita che ho fatto ieri , creato nuovo database, creata nuova cartella installato wordpress e poi itheme2 preso dal loro sito, quindi presumo aggiornata all ultima versione, non funziona lo stesso. Almeno quella installazione doveva partire, non ho modificato nessun index o altro in quanto ho lasciato il percorso intatto senza modificare nulla …vale a dire http://www.miosito.com/blog …e non funziona lo stesso!
Cacchio su tophost funziona tutto e su netsons non va boh …aiuto!!!!
-
25 Gennaio 2012 alle 16:12 #92517TittiModeratore
si ma poi l ho corretto
Non è corretto, altrimenti non ci sarebbe errore. Posta la riga in cui in index c’è il riferimento a wp-blog-header.php
Poi hai errori di sintassi nel wp-config.php
-
25 Gennaio 2012 alle 16:40 #92521Banjer71Partecipante
Allora quel file di errore non credo possa servire a tanto in quanto adesso sto cercando di operare solo su l-installazione pulita di wordpress per cercare di capire cosa non va nel tema, la cosa strana e che li non ho nessun log di errore quindi che cappero puo- essere che mi impedisce di salvare o cambiare le impostazioni????
Quesro e’ il file index
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require('./wp-blog-header.php');
?> -
25 Gennaio 2012 alle 16:42 #92523SteveAglAmministratore del forum
quello è ‘l’index di WP che conosciamo tutti forse titti fa riferimento alla index del tema
-
25 Gennaio 2012 alle 16:44 #92524TittiModeratore
Prova a togliere da ‘./wp-blog-header.php’ il . e il /
cioè fallo diventare
require(‘wp-blog-header.php’);
Assicurati che index, wp-config e wp-blog-header siano nella stessa directory, nel tuo caso nella root
-
25 Gennaio 2012 alle 16:46 #92526Banjer71Partecipante
si scusate …e che ormai sto nel pallone!!!
<?php get_header(); ?>
<?php if(is_front_page() & !is_paged()){ get_template_part( 'includes/header-slider'); } ?>
<?php
/////////////////////////////////////////////
// Setup Default Variables
/////////////////////////////////////////////
?>
<?php global $post_layout, $hide_title, $hide_image, $hide_title, $hide_meta, $hide_date, $display_content; ?>
<?php $layout = themify_get('setting-default_layout'); /* set default layout */ if($layout == '' ) : $layout = 'sidebar1'; endif; ?>
<?php $post_layout = themify_get('setting-default_post_layout'); /* set default post layout */ if($post_layout == ''): $post_layout = 'list-post'; endif; ?>
<?php $page_title = themify_get('setting-hide_page_title'); ?>
<?php $hide_title = themify_get('setting-default_post_title'); ?>
<?php $unlink_title = themify_get('setting-default_unlink_post_title'); ?>
<?php $hide_image = themify_get('setting-default_post_image'); ?>
<?php $unlink_image = themify_get('setting-default_unlink_post_image'); ?>
<?php $hide_meta = themify_get('setting-default_post_meta'); ?>
<?php $hide_date = themify_get('setting-default_post_date'); ?>
<?php $display_content = themify_get('setting-default_layout_display'); ?>
<?php $post_image_width = themify_get('image_width'); ?>
<?php $post_image_height = themify_get('image_height'); ?>
<?php $page_navigation = themify_get('hide_navigation'); ?>
<?php $posts_per_pages = themify_get('posts_per_page'); ?>
<?php
/////////////////////////////////////////////
// Set Default Image Sizes
/////////////////////////////////////////////
$content_width = 918;
$sidebar1_content_width = 600;
// Grid4
$grid4_width = 194;
$grid4_height = 140;
// Grid3
$grid3_width = 272;
$grid3_height = 180;
// Grid2
$grid2_width = 428;
$grid2_height = 250;
// List Large
$list_large_image_width = 600;
$list_large_image_height = 390;
// List Thumb
$list_thumb_image_width = 200;
$list_thumb_image_height = 200;
// List Grid2 Thumb
$grid2_thumb_width = 100;
$grid2_thumb_height = 90;
// List Post
$list_post_width = 908;
$list_post_height = 400;
///////////////////////////////////////////
// Setting image width, height
///////////////////////////////////////////
global $width, $height;
if($post_layout == 'grid4'):
$width = $grid4_width;
$height = $grid4_height;
elseif($post_layout == 'grid3'):
$width = $grid3_width;
$height = $grid3_height;
elseif($post_layout == 'grid2'):
$width = $grid2_width;
$height = $grid2_height;
elseif($post_layout == 'list-large-image'):
$width = $list_large_image_width;
$height = $list_large_image_height;
elseif($post_layout == 'list-thumb-image'):
$width = $list_thumb_image_width;
$height = $list_thumb_image_height;
elseif($post_layout == 'grid2-thumb'):
$width = $grid2_thumb_width;
$height = $grid2_thumb_height;
elseif($post_layout == 'list-post'):
$width = $list_post_width;
$height = $list_post_height;
else:
$width = $list_post_width;
$height = $list_post_height;
endif;
if($layout == "sidebar1" || $layout == "sidebar1 sidebar-left"):
$ratio = $width / $content_width;
$aspect = $height / $width;
$width = round($ratio * $sidebar1_content_width);
if($height != '' && $height != 0):
$height = round($width * $aspect);
endif;
endif;
?>
<!-- layout-container -->
<div id="layout" class="clearfix <?php echo $layout; ?>">
<!-- content -->
<div id="content">
<?php
/////////////////////////////////////////////
// Author Page
/////////////////////////////////////////////
?>
<?php if(is_author()) : ?>
<?php
$curauth = (isset($_GET)) ? get_user_by('slug', $author_name) : get_userdata(intval($author));
$author_url = $curauth->user_url;
?>
<div class="author-bio clearfix">
<p class="author-avatar"><?php echo get_avatar( $curauth->user_email, $size = '48' ); ?></p>
<h2 class="author-name"><?php _e('About','themify'); ?> <?php echo $curauth->first_name; ?> <?php echo $curauth->last_name; ?></h2>
<?php if($author_url != ''): ?><p class="author-url">"><?php echo $author_url; ?></p><?php endif; //author url ?>
<div class="author-description">
<?php echo $curauth->user_description; ?>
</div>
<!-- /.author-description -->
</div>
<!-- /.author bio -->
<h2 class="author-posts-by"><?php _e('Posts by','themify'); ?> <?php echo $curauth->first_name; ?> <?php echo $curauth->last_name; ?>:</h2>
<?php endif; ?>
<?php
/////////////////////////////////////////////
// Search Title
/////////////////////////////////////////////
?>
<?php if(is_search()): ?>
<h1 class="page-title"><?php _e('Search Results for:','themify'); ?> <?php echo $s; ?></h1>
<?php endif; ?>
<?php
/////////////////////////////////////////////
// Category Title
/////////////////////////////////////////////
?>
<?php if(is_category() || is_tag()): ?>
<h1 class="page-title category-title"><?php single_cat_title(); ?></h1>
<?php endif; ?>
<?php
/////////////////////////////////////////////
// Default query categories
/////////////////////////////////////////////
?>
<?php $query_cats = themify_get('setting-default_query_cats'); ?>
<?php if(($query_cats !="") && !is_search()): ?>
<?php query_posts($query_string . '&cat='.$query_cats); ?>
<?php endif; ?>
<?php
/////////////////////////////////////////////
// Loop
/////////////////////////////////////////////
?>
<?php if (have_posts()) : ?>
<!-- loops-wrapper -->
<div class="loops-wrapper <?php echo $post_layout; ?>">
<?php while (have_posts()) : the_post(); ?>
<?php if(is_search()): ?>
<?php get_template_part( 'includes/loop','search'); ?>
<?php else: ?>
<?php get_template_part( 'includes/loop','index'); ?>
<?php endif; ?>
<?php endwhile; ?>
</div>
<!-- /loops-wrapper -->
<?php get_template_part( 'includes/pagination'); ?>
<?php
/////////////////////////////////////////////
// Error - No Page Found
/////////////////////////////////////////////
?>
<?php else : ?>
<p><?php _e( 'Sorry, nothing found.', 'themify' ); ?></p>
<?php endif; ?>
</div>
<!--/content -->
<?php
/////////////////////////////////////////////
// Sidebar
/////////////////////////////////////////////
?>
<?php if ($layout != "sidebar-none"): get_sidebar(); endif; ?>
</div>
<!-- layout-container -->
<?php get_footer(); ?> -
25 Gennaio 2012 alle 16:47 #92527TittiModeratore
forse titti fa riferimento alla index del tema
Non sono cosଅ avanti
-
25 Gennaio 2012 alle 16:52 #92528SteveAglAmministratore del forum
E noi con duemila righe di codice di un tema che ci dovremmo fare? mah…
-
25 Gennaio 2012 alle 16:55 #92529Banjer71Partecipante
..eh immagino …
ad ogni modo ho fatto il cambiamento che titty mi ha detto ma non e’ cambiato nulla!!!
-
25 Gennaio 2012 alle 17:01 #92531TittiModeratore
Come dice Steve… guarda se dentro la cartella “themes” c’è un index… è un index diverso ma guarda se c’è
PS: E ogni tanto pulisci la cache…
-
25 Gennaio 2012 alle 17:05 #92532Banjer71Partecipante
si c’è :
<?php
// Silence is golden.
?> -
25 Gennaio 2012 alle 17:10 #92534TittiModeratore
Bè a questo punto pubblica anche wp-blog-header.php che vediamo se è come dev’essere. Non so come altro interpretare l’errore fatale, se non girando attorno a questi file.
-
25 Gennaio 2012 alle 17:29 #92537Banjer71Partecipante
Eccolo
<?php
/**
* Loads the WordPress environment and template.
*
* @package WordPress
*/
if ( !isset($wp_did_header) ) {
$wp_did_header = true;
require_once( dirname(__FILE__) . '/wp-load.php' );
wp();
require_once( ABSPATH . WPINC . '/template-loader.php' );
}
?> -
25 Gennaio 2012 alle 17:44 #92538TittiModeratore
Allora, vediamo… m’è venuta un’idea sarà inutile ma provare non costa niente.
Attiva il tema di default. Togli tutta la cartella del tema Itheme2 via FTP.
Dopodichè dall’amministrazione cerca il tuo tema e installalo da là¬, cioè fallo installare automaticamente da WP.
L’idea è quella che qualche file potrebbe non essere stato caricato correttamente, o le cartelle non al suo posto.
Che equivale a reinstallarlo manualmente via FTP ovviamente ma tentare cosଠnon nuoce.
Scusa sono un po’ nel panico ora, c’è appena stata un’altra grossa scossa di terremoto.
-
25 Gennaio 2012 alle 17:46 #92539SteveAglAmministratore del forum
Io dico che wp-blog-header.php non lo legge perchè quel server coi permessi a 777 (TROPPO PERMISSIVI) li interpreta come dei 000 è pratica comunissima su molti hosting fare questo perchè 777 apre la porta a mille problemi di sicurezza e su hosting condivisi è normale cercare di limitare i danni.. nemmeno su server privati si mette mai nulla a 777 a meno di cose particolarissime e necessarissime!
A naso alla fine dipende solo dai permessi… che magari si reimpostano da pannello in maniera automatica e corretta… altrimenti si chiede quali siano quelli di file e cartelle (che spesso sono diversi) al proprio provider.. solo DOPO avere i permessi giusti si prosegue con le indagini visto che 99,99% delle volte son quelli.
-
25 Gennaio 2012 alle 17:52 #92542Banjer71Partecipante
I file 777 li ho messi infatti ma solo dopo che si e’ presentato il problema, pensando appunto che poteva trattarsi di quello!
Titty ho rifatto anche quel tipo di installazione…
Non scusarti…vuoi mettere il terremoto!!!!
Ad ogni modo colgo l’occasione per ringraziarvi della vostra disponibilità e pazienza!!!
-
25 Gennaio 2012 alle 18:04 #92543Banjer71Partecipante
nella nuova installazione quella pulita solo il file nn ci sono permessi 777 ad eccezione di .htaccess ma l-ho aggiunto solo poco fa per fare una
prima era
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
ho provato a fare solo:
# BEGIN WordPress
# END WordPress
ma non è cambiato null -
27 Gennaio 2012 alle 10:04 #92578Banjer71Partecipante
Per la cronaca…dopo aver fatto controllare il sito ad un programmatore php e webdesigner , ed avendo ripulito tutto il mio spazio web, riprovato ad installare wp 3.3.1 ita + itheme2 il problema rimane, quelli di netsons dicono che per loro va tutto bene, anche se sono convinto invece dipenda da loro. Ho contatta gli autori del tema che mi hanno risposto subito dicendo che verificheranno di persona. Sono in attesa…..
Io comunque non spiego perchè su tophost funziona e su netsons no??? bah!!
-
27 Gennaio 2012 alle 10:31 #92580San PietroburgoPartecipante
..vale a dire miosito.com/blog ..
Se WordPress è sotto l’archivio “blog” nel file .htaccess dove leggi:
RewriteBase /
Sostituisci con:
RewriteBase /blog/
-
27 Gennaio 2012 alle 10:43 #92581Banjer71Partecipante
Veramente ho ripulito tutto adesso ed installato wp in vari cartelle provo con una, l’unico file .htaccess che ho nella root indica questo solo:
# BEGIN WordPress
# END WordPress
Riscrivo tutto cosi?
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /blog/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress -
27 Gennaio 2012 alle 10:51 #92583San PietroburgoPartecipante
Si, se WordPress è installato come avevi detto ieri nel post che ho citato e dove dici:
Almeno quella installazione doveva partire, non ho modificato nessun index o altro in quanto ho lasciato il percorso intatto senza modificare nulla …vale a dire http://www.miosito.com/blog …e non funziona lo stesso!
Da li io capisco che WordPress è in una directory di nome blog, quindi il file .htaccess deve avere la riga:
RewriteBase /blog/
e non
RewriteBase /
altrimenti non lo trova..
-
27 Gennaio 2012 alle 10:53 #92584Banjer71Partecipante
niente da fare non cambia nulla, ho anche provato a modficare dopo
RewriteRule . /index.php [L]
in
RewriteRule . /blog/index.php [L]
Ma nulla.... -
27 Gennaio 2012 alle 10:56 #92585TittiModeratore
Dal primo post io avevo capito che il blog è nella root, dato anche gli indirizzi che hai inserito.
Se ho capito bene tu hai spostato il sito da un server ad un altro cambiando provider e cambiando URL (da una sottocartella alla root). Sul Codex leggo che questo è il tipo di trasferimento al quale bisogna prestare maggiore attenzione.
Forse il fatto di non aver disattivato tema e plugin durante il passaggio, e magari di aver cambiato gli indirizzi in amministrazione dopo aver spostato i file invece che prima, può aver creato un po’ di intoppi all’inizio.
Però non si spiega come mai allora con il tema di default va tutto, se non dando la colpa al tema corrente o ad una mancanza di percorso corretto al tema corrente.
Mentre aspetti risposte concrete prova ad attivare un altro tema compatibile e affidabile scaricandolo dalla directory di WP, e prova a vedere come si comporta.
-
27 Gennaio 2012 alle 10:58 #92586Banjer71Partecipante
..a questo punto credo che ci sia qualcosa nel pannello themify che a mio avviso funziona com un plug in che permette di modificare senza sapere nulla di css, php e altro… anche perche’ pur modificando o ..addirittura eliminando il file htaccess i blog funzionano, posso scrivere articoli etc etc , insomma wp anche con altri temi installati va..solo quando attivo il tema itheme2 che ha questo pannello di controllo particolare non mi permette di salvare i cambiamenti.
Ripeto cosa strana pero’ che su tophost funziona…su netsons no!!
-
27 Gennaio 2012 alle 11:05 #92587Banjer71Partecipante
si wp con altri temi funziona..almeno quelli che ho provato sia quelli standar che altri free che ho preso in giro e che non mi stanno creando problemi, addirittura un tema mi chiedeva di installare un plug in chiamato “option tree menu” che assomiglia molto anche a themify e funziona.
Avvo pensato anche io di aver combinato casini durante l’eportazione ma alla fine ho abbandonato quella cartella, anzi l’ho cancella ta ripulito la root e creato una cartella dove ho fatto un installazione pulita di wp3.3.1 ita e installato successivamente ithem2. Anche li fa lo stesso difetto.
Ho anche rifatto in un altra cartella di top host un altra installazione, ho pensato che forse ero stato fortunato la prima volta, ed invece no..su tophost funziona!!!
-
27 Gennaio 2012 alle 11:19 #92588San PietroburgoPartecipante
A me non è chiaro lo spostamento. Ieri affermavi di aver spostato il sito da un servizio ad un altro; e che nel nuovo server (netsons) è posizionato sotto miosito.ltd/blog/, vedo .htaccess ed è ovvio che non può andare.
Ma idem non andrebbe (e non solo per colpa del file .htaccess) se sposti il CMS in un archivio diverso dal precedente.
Prima di proseguire la risposta è ovvia, riposiziona WordPress esattamente come stava (lo stesso nome archivio) quando il sito era su tophost.
Se invece hai deciso si cambiare l’archivio, allora dovrai procedere seguendo una guida su come spostare WordPress in una directory diversa.
-
27 Gennaio 2012 alle 11:35 #92589Banjer71Partecipante
Mi rendo conto di avervi confuso allora:
ho cancellato tutte le esportazioni e database , in pratica ho riportato tutto come al primo giorno di attivazione.
Ho creato un nuovo database pulito e in una cartella che adesso si chiama blog02 ho installato wordpress come da manuale e li l’ho lasciato quindi adesso ho http://www.miosito.com/blog02
Dopo aver fatto l’installazione di wp e verificato il suo funzionamento con il tema standard ho caricato tramite installazione temi-carica media il file zip del tema ithem2.
Wp funziona sempre, posso creare articoli, pagine, ma se voglio modificare il tema , il pannello di controllo themify ( http://themify.me/ ) c’e’ anche un video che mostra come funziona, non permette i salvataggi.
Nel file htaccess che ho nella root www ho scritto quello che mi avete indicato sopra sostituendo blog con blog02 ma non cambiato nulla.
-
27 Gennaio 2012 alle 11:56 #92590San PietroburgoPartecipante
E’ un tema premium, cioè a pagamento?
Non potrebbe essere che avendolo già installato ed utilizzato su tophost, sia proprio il tema che va in blocco? Probabilmente lo farei anche io se vendessi temi, altrimenti una persona lo compera e poi lo distribuisce ad altri. Se cosଠdovrai comunicare con il support di quel tema e dirgli del cambiamento di hosting.
-
27 Gennaio 2012 alle 12:06 #92591Banjer71Partecipante
No no un tema free… ho scritto loro quanto accaduto e mi hanno risposto ieri sera dicendomi che avrebbero controllato e chiedendomi i dati ftp per accedere e testare…ora speriamo mi risolvano la cosa!
-
27 Gennaio 2012 alle 17:47 #92618Banjer71Partecipante
Era il tema…o meglio era il server che bloccava alcuni file del tema, hanno aggiornato il framework e provvederanno a rilasciare la nuova versione.
Grazie a tutti per la vostra pazienza e disponibilita’
Banjer
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.