Cannot add new user in admin panel - template error. Cannot add new user in admin panel - template error.
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Cannot add new user in admin panel - template error.

Started by gosforth, August 09, 2007, 12:01:54 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

gosforth

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


Sami

‍I don't answer to PM with support question
Please post your issue to related board

gosforth

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.

Nibbler

Disable strict mode in MySQL. Search the board for details.

gosforth

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"

Joachim Müller

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.