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

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

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.