coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: gosforth on August 09, 2007, 12:01:54 PM

Title: Cannot add new user in admin panel - template error.
Post by: gosforth on August 09, 2007, 12:01:54 PM
I try to add new user (http://host/cpg1412/usermgr.php?op=new_user) but after long time of inactivity I got error:

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

        <tr>
                <td class="tableb" align="center">
                        <font size="3"><b>{MESSAGE}</b></font>


                        <br /><br />
                </td>
        </tr>

If anyone could help.
Thanks a lot.

Gosforth

Title: Re: Cannot add new user in admin panel - template error.
Post by: Sami on August 09, 2007, 12:28:26 PM
Post a real link please
Title: Re: Cannot add new user in admin panel - template error.
Post by: gosforth on August 09, 2007, 12:50:14 PM
Quote from: Sami on August 09, 2007, 12:28:26 PM
Post a real link please

Real link is my corporate network not accessible from Internet.
Title: Re: Cannot add new user in admin panel - template error.
Post by: Nibbler on August 09, 2007, 01:31:45 PM
Disable strict mode in MySQL. Search the board for details.
Title: Re: Cannot add new user in admin panel - template error.
Post by: gosforth on August 09, 2007, 03:05:42 PM
Thank you very much indead - did help.

...if someone need answer how to disable strict mode - disable line in my.ini:
#sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
Title: Re: Cannot add new user in admin panel - template error.
Post by: Joachim Müller on August 09, 2007, 03:45:51 PM
Thanks for your readiness to share your insight, but let me clarify (for the benefit of others): strict mode is off by default. You should never have turned it on if you have no idea what the impact is.