Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Aiheen aloitti: sajfer - elokuu 27, 2019, 11:11:59 AP

Otsikko: Package installation error (Wrong value......)
Kirjoitti: sajfer - elokuu 27, 2019, 11:11:59 AP
Hi.
I get an error when installing any package

"Wrong value type sent to the database. Array of integers expected. (known_theme_list)"

I have also found this error in error logs, error appears on line 215 -  files in attached

Thank you for helping me solve the problem
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: sajfer - elokuu 27, 2019, 04:15:13 IP
replacing the file gave nothing, suggestions ?

Thanks in advance for your help
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: Shambles - elokuu 27, 2019, 04:33:09 IP
What themes do you have installed?

Of those you have, can you switch to each of them and operate your forum correctly within each?
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: sajfer - elokuu 27, 2019, 04:44:06 IP
Template - SUNRISE

This error also occurs when replacing with the default template, after which everything works

Thank you for helping me solve the problem
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: Shambles - elokuu 27, 2019, 05:07:28 IP
So is your problem solved now?
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: sajfer - elokuu 27, 2019, 05:34:42 IP
No :(

when changing the template to another error occurs - package installation


other functionalities work
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: sajfer - elokuu 28, 2019, 09:33:21 AP
Someone has an idea how to fix it ??
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: d3vcho - elokuu 28, 2019, 09:37:09 AP
Please, don't revive topics within 24 hours, we're all volunteers here. What packages are you exactly trying to install? And how are you trying to install them?
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: sajfer - elokuu 28, 2019, 12:26:09 IP
this error occurs when installing any package

np :

https://custom.simplemachines.org/mods/index.php?mod=1175

or

https://custom.simplemachines.org/mods/index.php?mod=3009
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: d3vcho - elokuu 28, 2019, 12:38:26 IP
I'll dig further into this. If you can, please send me via PM your forum's URL and login details for an admin account.
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: sajfer - elokuu 28, 2019, 12:54:31 IP
send You PM, :)
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: shawnb61 - elokuu 28, 2019, 12:57:06 IP
I think the value of knownThemes was stepped  on somehow.  I would make sure things look good under Manage & Install Themes. 
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: d3vcho - elokuu 28, 2019, 01:45:50 IP
Alright I think it's solved now. I checked what shawnb61 suggested. Under Manage and Install, I used the option "Reset everyone to" and applied SunRise. I tried installing both mods listed above and they're working fine.

I gotta admin it was quite tricky to figure out things in Polish until I figured how to change the language. Also, you should upgrade your forum to the latest SMF version 2.0.15, but I will leave that up to you so you can perform backups before upgrading.

I changed back your language to Polish, but please do change the password you sent me via PM once you've checked that everything is alright.

Let me know if it works well.
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: sajfer - elokuu 28, 2019, 02:43:39 IP
When I turned on the options

like :



I received an error

Fatal error: Cannot redeclare tidychildboards() (previously declared in /home/eksplora/www/Sources/Subs-BoardIndex.php:301) in /home/eksplora/www/Sources/Subs-BoardIndex.php on line 301
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: Sir Osis of Liver - elokuu 28, 2019, 09:09:38 IP
Sounds like you installed it twice and have duplicate code.  If so, you'll have to manually remove the mod code, or upload package backup if it's the last mod installed.
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: sajfer - elokuu 29, 2019, 02:10:42 AP
What to delete from the file ?
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: Sir Osis of Liver - elokuu 29, 2019, 04:54:03 IP
You'll have to manually remove all code edits made by the mod from all affected files.  You're headed for a clean install, may as well do it now rather than beat your brains out trying to fix a broken forum.
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: sajfer - syyskuu 01, 2019, 02:50:28 IP
these are two additions

Count descendant's posts

and

Tidy Child Boards

I don't think they work together

any idea ?
Otsikko: Re: Package installation error (Wrong value......)
Kirjoitti: Illori - syyskuu 01, 2019, 02:56:20 IP
you should post in the mods support topic so that the author can assist you further.