WebDev

Battle => Battle Support => Topic started by: Andrew on September 05, 2021, 04:54:43 PM

Title: Invalid default value for 'gold'
Post by: Andrew on September 05, 2021, 04:54:43 PM
When I try and install v1.17.1 I would get this error,
Invalid default value for 'gold'
File: /home/itcomp/public_html/Packages/temp/installScriptY.php
Line: 801

I get the same error when I try and install 1.17.4x and received the same error.

Using SMF 2.1 RC4, php 7.2 and php 7.4.
Title: Re: Invalid default value for 'gold'
Post by: Chen Zhen on September 05, 2021, 11:40:26 PM

Hi Andrew,

It sounds as though your DB is set to some sort of strict mode.

Have you tried the latest version of Battle 1.17.4?
Please try installing the latest version and if you still have this problem let me know in this thread.
Title: Re: Invalid default value for 'gold'
Post by: Andrew on September 06, 2021, 08:40:50 AM
I've tried Battle_v1.17.4x I get the same error, would you happen to know what kind of strict mode i'm currently using 10.2.40-MariaDB
Title: Re: Invalid default value for 'gold'
Post by: Chen Zhen on September 06, 2021, 05:31:57 PM
Uninstall that version and try the attachment.
Please let me know if it installs properly.

Thanks.
Title: Re: Invalid default value for 'gold'
Post by: Andrew on September 06, 2021, 06:23:21 PM
It gave me a 503 error from my varnish cache server, but i just had to refresh and it completed properly, and i'm not receiving any log errors either. Thank you!
Title: Re: Invalid default value for 'gold'
Post by: Chen Zhen on September 06, 2021, 09:12:15 PM

You're welcome.

EhPortal 1.39.6 © 2024, WebDev