1
spyblaster91
Host Change problems

Hi there
i changed my host yesterday and im experiencing problems. most of the modules are working like a charm including: news, content, site map, TDMDownloads and whats new module. but i get an error when i go to extgallery module as a user:

Error : Smarty error: [in db:extgallery_index.html line 16]: syntax error: unclosed tag \{foreach} (opened line 10). (Smarty_Compiler.class.php, line 317)

it only happens when i open the modules home page. every thing works fine when i open my albumes and images from the browser's history.

i have given my new database name, user name and password and my new physical path to the related files.

2
Mamba
Re: Host Change problems
  • 2012/6/27 0:40

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Please read the comments to this article, and see if it can help you...

There is another article with comments that might be helpful

Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

3
spyblaster91
Re: Host Change problems

i dont get it...

4
Mamba
Re: Host Change problems
  • 2012/6/27 9:01

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


What do you mean by "not getting"?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

5
spyblaster91
Re: Host Change problems

i mean i couldn't find the solution to solve my problem

6
Mamba
Re: Host Change problems
  • 2012/6/27 9:32

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


So, based on the two links, what did you do?
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

7
spyblaster91
Re: Host Change problems

i didn't find anything related to my problem in the 2nd link. based on the 1st link, i removed my browser's cache and added this lines to .htaccess file:
RewriteEngine on
RewriteRule ^Petites_annonces/([a-z]+)([0-9]+)(-(.+))? modules/extgallery/seo.php?seoOp=$1&seoArg=$2&seoOther=$4&%{QUERY_STRING} [L]
RewriteRule ^Petites_annonces(/)? modules/extgallery/?%{QUERY_STRING} [L]

and i have no comments on my images to edit.

8
Mamba
Re: Host Change problems
  • 2012/6/27 12:55

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:
i didn't find anything related to my problem in the 2nd link

He he he! I think, you didn't really look

Just search for the "unclosed tag" term in comments for both articles, and then read the comments/advise afterwards, as it relates to it.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

9
Alanbax
Re: Host Change problems
  • 2012/6/27 19:25

  • Alanbax

  • Just popping in

  • Posts: 23

  • Since: 2012/4/21


@spyblaster91
I had a similar issue a while back.
Discovered that the template had corrupted and part of the file was missing.

Try pasting this into the file extgallery_index.html and see if it helps.
Alan

<div class="extgallery">   <a title="<{$extgalleryName}>" href="<{xoAppUrl modules/extgallery/}>"><{$extgalleryName}></a>    <table class="outer">     <tr>       <th><{$lang.categoriesAlbums}></th>       <th class="txtcenter"><{$lang.nbAlbums}></th>       <th class="txtcenter"><{$lang.nbPhotos}></th>     </tr>     <{foreachq item=child from=$cats}>     <tr class="<{cycle values="even,odd"}>">       <{if $child.cat_nb_album == 0}>         <td colspan="2">       <{else}>         <td>       <{/if}>        <!-- Category/album image -->       <{if $disp_cat_img == }>         <{if $child.cat_imgurl != "" }>           <div class="catThumb">             <{if $child.cat_isalbum}>               <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$child.cat_imgurl}>" alt="<{$child.cat_name}>" title="<{$child.cat_name}>" /></a>             <{else}>               <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-categories.php?id=<{$child.cat_id}>"><img src="<{$child.cat_imgurl}>" alt="<{$child.cat_name}>" title="<{$child.cat_name}>" /></a>             <{/if}>           </div>         <{else}>           <{if $child.photo}>             <div class="catThumb">               <{if $child.cat_isalbum}>                 <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>               <{else}>                 <a title="<{$child.cat_name}>" href="pu<{$extgalleryName}>blic-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>               <{/if}>             </div>           <{/if}>         <{/if}>       <{else}>         <{if $child.photo}>           <div class="catThumb">             <{if $child.cat_isalbum}>               <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>             <{else}>               <a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_title}>" title="<{$child.photo.photo_title}>" /></a>             <{/if}>           </div>         <{/if}>       <{/if}>        <{if $child.cat_isalbum}>         <h2><a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-<{$display_type}>.php?id=<{$child.cat_id}>"><{$child.cat_name}></a></h2><br /><h3><{$child.cat_desc}></h3></td>       <{else}>         <h2><a title="<{$child.cat_name}>" href="<{xoAppUrl modules/extgallery/}>public-categories.php?id=<{$child.cat_id}>"><{$child.cat_name}></a></h2><br /><h3><{$child.cat_desc}></h3></td>       <{/if}>       <{if $child.cat_nb_album != 0}>       <td class="txtcenter"><{$child.cat_nb_album}></td>       <{/if}>       <td class="txtcenter"><{$child.cat_nb_photo}></td>     </tr>     <{/foreach}>       <!--<tr class="even">       <td><a href="user-categories.php">User categories</a><br />You can find here all user categories</td>     </tr>-->   </table>    <{if $show_rss}>   <div id="rss">     <a href="<{xoAppUrl modules/extgallery/public-rss.php}>" title="<{$smarty.const._MD_EXTGALLERY_RSS}>">       <img src="<{xoAppUrl modules/extgallery/images/feed.png}>" alt="<{$smarty.const._MD_EXTGALLERY_RSS}>" />     </a>   </div>   <{/if}>    <{include file='db:system_notification_select.html'}> </div>

10
spyblaster91
Re: Host Change problems

i already have these codes in extgallery_index.html
<div id="extgallery">
    <
a href="<{xoAppUrl modules/extgallery/}>"><{$extgalleryName}></a>

    <
table class="outer">
        <
tr>
            <
th><{$lang.categoriesAlbums}></th>
            <
th style="text-align:center;"><{$lang.nbAlbums}></th>
            <
th style="text-align:center;"><{$lang.nbPhotos}></th>
        </
tr>
        <{
foreachq item=child from=$cats}>
        <
tr class="<{cycle values="even,odd"}>">
            <{if 
$child.cat_nb_album == 0}>
                <
td colspan="2">
            <{else}>
                <
td>
            <{/if}>

            <!-- 
Category/album image -->
            <!-- 
Si l'option d'affichage de la photo de la catégorie est activéealors -->
            <{if 
$disp_cat_img == }>
                <{if 
$child.cat_imgurl != "" }>
                    <
div class="catThumb" style="float:left; margin-right:5px;">
                        <{if 
$child.cat_isalbum}>
                            <
a href="public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$child.cat_imgurl}>" alt="<{$child.cat_name}>" title="<{$child.cat_name}>" /></a>
                        <{else}>
                            <
a href="public-categories.php?id=<{$child.cat_id}>"><img src="<{$child.cat_imgurl}>" alt="<{$child.cat_name}>" title="<{$child.cat_name}>" /></a>
                        <{/if}>
                    </
div>
                <{else}>
                    <{if 
$child.photo}>
                        <
div class="catThumb" style="float:left; margin-right:5px;">
                            <{if 
$child.cat_isalbum}>
                                <
a href="public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_desc}>" title="<{$child.photo.photo_desc}>" /></a>
                            <{else}>
                                <
a href="public-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_desc}>" title="<{$child.photo.photo_desc}>" /></a>
                            <{/if}>
                        </
div>
                    <{/if}>
                <{/if}>
            <{else}>
                <{if 
$child.photo}>
                    <
div class="catThumb" style="float:left; margin-right:5px;">
                        <{if 
$child.cat_isalbum}>
                            <
a href="public-<{$display_type}>.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_desc}>" title="<{$child.photo.photo_desc}>" /></a>
                        <{else}>
                            <
a href="public-categories.php?id=<{$child.cat_id}>"><img src="<{$xoops_url}>/uploads/extgallery/public-photo/thumb/thumb_<{$child.photo.photo_name}>" alt="<{$child.photo.photo_desc}>" title="<{$child.photo.photo_desc}>" /></a>
                        <{/if}>
                    </
div>
                <{/if}>
            <{/if}>

            <{if 
$child.cat_isalbum}>
                <
a href="public-<{$display_type}>.php?id=<{$child.cat_id}>"><{$child.cat_name}></a><br /><{$child.cat_desc}></td>
            <{else}>
                <
a href="public-categories.php?id=<{$child.cat_id}>"><{$child.cat_name}></a><br /><{$child.cat_desc}></td>
            <{/if}>
            <{if 
$child.cat_nb_album != 0}>
            <
td style="text-align:center;"><{$child.cat_nb_album}></td>
            <{/if}>
            <
td style="text-align:center;"><{$child.cat_nb_photo}></td>
        </
tr>
        <{/foreach}>
        <!--<
tr class="even">
            <
td><a href="user-categories.php">User categories</a><br />You can find here all user categories</td>
        </
tr>-->
    </
table>

    <{include 
file='db:system_notification_select.html'}>
</
div>



i tried to replace it with the one you gave me but it didn't work.
thanx anyway

Login

Who's Online

183 user(s) are online (74 user(s) are browsing Support Forums)


Members: 0


Guests: 183


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Mar 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits