Pagina 1 di 1
HeaderTags_SEO_V_3.0.9 e problemi
Inviato: 22/11/2008, 17:09
da 3dstudiomax
Ho installato HeaderTags_SEO_V_3.0.9 va tutto bene solo che non riesco ad aprire la scheda prodotto, mi da pagina bianca...dove sbaglio ?
Inoltre facendo il test ottengo questi errori:
Missing Code in File
The Header Tags head code for the product_reviews.php file cannot be found.
The Header Tags head code for the product_reviews_info.php file cannot be found.
The Header Tags head code for the product_reviews_write.php file cannot be found.
The Header Tags head code for the specials.php file cannot be found.
Language Mismatch Error:
Language ID 1 in default Header Tags table does not exist in the shops languagesi
Mi date una mano ?
Grazie
Re: HeaderTags_SEO_V_3.0.9 e problemi
Inviato: 22/11/2008, 19:07
da hsg26
la pagina bianca è dovuta al 99% ad un tuo errore di installazione nella product_info...
il resto sono normali avvisi...
il language mismatch error dovresti poterlo correggere con un bottone che c'è in admin...
Re: HeaderTags_SEO_V_3.0.9 e problemi
Inviato: 22/11/2008, 20:51
da 3dstudiomax
Io nel product_info.php ho apportato le seguente modifiche come da file leggimi:
Codice: Seleziona tutto
======================================================================================================
4) In product_info.php
FIND (around line 33)
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
ADD UNDER IT:
<?php /*** Begin Header Tags SEO ***/ ?>
<a name="<?php echo $header_tags_array['title']; ?>"></a>
<?php /*** End Header Tags SEO ***/ ?>
=============================================
FIND (around line 102)
<td class="pageHeading" valign="top"><?php echo $products_name; ?></td>
<td class="pageHeading" align="right" valign="top"><?php echo $products_price; ?></td>
REPLACE with
<?php /*** Begin Header Tags SEO ***/ ?>
<td valign="top"><h1><?php echo $products_name; ?></h1></td>
<td align="right" valign="top"><h1><?php echo $products_price; ?></h1></td>
<?php /*** End Header Tags SEO ***/ ?>
NOTE: In any page in which you make the change to the title for Header Tags,
you should also locate the line containing HEADING_TITLE, remove the
pageHeading class and add the h1 tags as above.
=============================================
FIND (around line 222)
<td class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_REVIEWS, tep_get_all_get_params()) . '">' . tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS) . '</a>'; ?></td>
<td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td>
<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
ADD BELOW it:
<!--- BEGIN Header Tags SEO Social Bookmarks -->
<?php if (HEADER_TAGS_DISPLAY_SOCIAL_BOOKMARKS == 'true')
include(DIR_WS_MODULES . 'header_tags_social_bookmarks.php');
?>
<!--- END Header Tags SEO Social Bookmarks -->
=============================================
FIND (around line 240)
</table></form></td>
<!-- body_text_eof //-->
ADD ABOVE it:
<?php /*** Begin Header Tags SEO ***/ ?>
<tr>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<tr>
<td class="smallText" align="center"><?php echo TEXT_VIEWING; ?>
<?php echo '<a title="' . $header_tags_array['title'] . '" href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $product_info['products_id'], 'NONSSL') . '"/# ' . $header_tags_array['title'] . '">' . $header_tags_array['title']; ?></a></td>
</tr>
<?php /*** End Header Tags SEO ***/ ?>
NOTE: The placement of this is not critical. Anywhere neat the bottom of the
page is fine. You can also change or remove the TEXT_VIEWING text to
fit your site.
C'è forse qualcosa che non dovevo apportare ?
Re: HeaderTags_SEO_V_3.0.9 e problemi
Inviato: 22/11/2008, 20:54
da 3dstudiomax
Ho provato adesso a ripristinare il file product_info.php allo stato originale (senza la suddetta modifica per intenderci) e la pagina si apre perfettamente.
Adesso mi chiedevo... è fondamentale questa modifica ? oppure basta avere solo index.php modificato ?
Grazie
Re: HeaderTags_SEO_V_3.0.9 e problemi
Inviato: 23/11/2008, 2:48
da Simona67
Ciao 2dstudiomax,
se vuoi che ti vengano indicizzati correttamente tutti i prodotti devi riuscore a far funzionare la contrib anche in product_info.php.
Ciao Simona
Re: HeaderTags_SEO_V_3.0.9 e problemi
Inviato: 23/11/2008, 3:05
da 3dstudiomax
Ciao Simona sono riuscito a modificare il product_info secondo il readme.txt
Adesso però se faccio il test mi da questi errori:
Missing Code in File
The Header Tags head code for the product_info.php file cannot be found.
The Header Tags head code for the product_reviews.php file cannot be found.
The Header Tags head code for the product_reviews_info.php file cannot be found.
The Header Tags head code for the product_reviews_write.php file cannot be found.
The Header Tags head code for the specials.php file cannot be found.
Language Mismatch Error:
Language ID 1 in default Header Tags table does not exist in the shops languages.
dove sbaglio ?
Re: HeaderTags_SEO_V_3.0.9 e problemi
Inviato: 23/11/2008, 13:49
da hsg26
non hai installato la parte di codice che va tra head e head in quelle pagine...
e per language mismatch cerca in google... sicuro trovi la soluzione. la guida per cercare in google è in alto in questa sezione.
Re: HeaderTags_SEO_V_3.0.9 e problemi
Inviato: 23/11/2008, 16:53
da 3dstudiomax
hsg26 oggi provo a fare come mi hai suggerito te.... intanto grazie