template issue template issue
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

template issue

Started by nicopilami, December 19, 2013, 12:29:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nicopilami

Hi
I tried to modify the index.php file, with no luck.
Then, I removed all the modified line, and thought it was OK, but it was not.
Since this facts, I encount th following message when an anonymous user tries to come in the cpg homepage :
(logged users coming from my bridged phpbb are OK)


Template error
Failed to find block 'allow_memberlist' (#<!-- BEGIN allow_memberlist -->(.*?)<!-- END allow_memberlist -->#s) in :
<ul class="dropmenu">
         
                        <!-- BEGIN home -->
                        <li>
                            <a href="{HOME_TGT}" title="{HOME_TITLE}" class="firstlevel" ><span class="firstlevel">{HOME_ICO}{HOME_LNK}</span></a>
                            <ul>
                               
                               
                               
                       
                               
                            </ul>
                        </li>
                        <!-- END my_gallery -->
                       
                        <!-- BEGIN register -->
                        <li>
                            <a href="{REGISTER_TGT}" title="{REGISTER_TITLE}"  class="firstlevel" ><span class="firstlevel">{REGISTER_ICO}{REGISTER_LNK}</span></a>
                        </li>
                        <!-- END register -->
                        <!-- BEGIN login -->
                        <li>
                            <a href="{LOGIN_TGT}" title="{LOGIN_TITLE}"  class="firstlevel" ><span class="firstlevel">{LOGIN_ICO}{LOGIN_LNK}</span></a>
                        </li>
                        <!-- END login -->
                       
</ul>


Thanks for your help
Nico

ΑndrĂ©

Please restore the index.php file with a clean copy from the Coppermine package. I assume it won't fix your issue, as it's probably related to your theme. So please attach your whole theme as zip file to your next reply.

nicopilami

index.php & Curve theme restored, it works now

Thanks
Nico