Template install error

Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Locked
otherslost
Registered User
Posts: 2
Joined: Tue Feb 10, 2009 5:18 am

Template install error

Post by otherslost » Tue Feb 10, 2009 5:22 am

I downloaded a template from http://www.phpbb3styles.net/ and when I try to install it I get the following:

Code: Select all

General Error
SQL ERROR [ mysqli ]

Data too long for column 'theme_copyright' at row 1 [1406]

SQL

INSERT INTO capfbb_styles_theme (theme_name, theme_copyright, theme_path, theme_storedb, theme_data, theme_mtime) VALUES ('subGeoff', '� 2007 Geoffreak', 'subGeoff', 0, '', 1234173266)

BACKTRACE

FILE: includes/db/mysqli.php
LINE: 163
CALL: dbal->sql_error()

FILE: includes/acp/acp_styles.php
LINE: 3300
CALL: dbal_mysqli->sql_query()

FILE: includes/acp/acp_styles.php
LINE: 3101
CALL: acp_styles->install_element()

FILE: includes/acp/acp_styles.php
LINE: 2778
CALL: acp_styles->install_style()

FILE: includes/acp/acp_styles.php
LINE: 152
CALL: acp_styles->install()

FILE: includes/functions_module.php
LINE: 507
CALL: acp_styles->main()

FILE: adm/index.php
LINE: 74
CALL: p_master->load_active()
Anyone have any ideas what would be causing this and what I may be able to do to correct it?

I have no problems installing any other styles I have tried.

Thanks.

bolverk
I've been banned
Posts: 280
Joined: Mon Feb 02, 2009 5:39 pm

Re: Template install error

Post by bolverk » Tue Feb 10, 2009 4:10 pm

The style author has incorrectly inserted a copyright symbol in each of the .cfg files (style.cfg/imageset.cfg/template.cfg/theme.cfg) If you edit these files and replace the existing copyright symbol with

Code: Select all

&copy
or just leave his name there, it will import.

otherslost
Registered User
Posts: 2
Joined: Tue Feb 10, 2009 5:18 am

Re: Template install error

Post by otherslost » Wed Feb 11, 2009 3:42 am

Thank you. It solved the problem.

There is still a formatting issue with it but I should be able to fix that.

Locked