forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Themes/Skins/Templates => Topic started by: Feydakin on June 06, 2005, 05:57:37 pm

Title: Failed to find block 'my_gallery'
Post by: Feydakin on June 06, 2005, 05:57:37 pm
I played with the templates on Friday (ver 1.3.2) and got it looking how I liked.. Didn't touch it all weekend.. Came in to work this morning to find this error

Template error
Failed to find block 'my_gallery'(#(<!-- BEGIN my_gallery -->)(.*?)(<!-- END my_gallery -->)#s) in :

                <span class="topmenu">
<!-- BEGIN album_list -->
                        <a href="{ALB_LIST_TGT}" title="{ALB_LIST_TITLE}">{ALB_LIST_LNK}</a> ::
<!-- END album_list -->

.............

I have no idea what changed so I figured I'd update to 1.3.3 just to see if that would make my life easier.. No such luck.. Could this be a problem in the MySQL database?? If I could find the "my_gallery" call in the templates I'd just remove it since I don't allow users to have their own galleries anyway to see if I could just skim over the problem without really fixing it :)

Steve  -
Title: Re: Failed to find block 'my_gallery'
Post by: Nibbler on June 06, 2005, 08:26:30 pm
Switch to the original classic theme and see if that shows the same error. If the classic theme works then you have overmodded your theme, and we can track down the cause.
Title: Re: Failed to find block 'my_gallery'
Post by: Feydakin on June 06, 2005, 09:08:58 pm
Apparently that is exaclty what I did.. For some reason when I ftp'd the new files up they didn't overwrite the ones on the server like I expected and it left me busted..

I forced clean uploads of the classic theme and am now able to see everything and start trying to figure out how I broke it so I don't do it again...

Thanks -