Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: ^{-reloaded54 on August 27, 2009, 01:08:10 AM

Title: Error while trying to install a mod
Post by: ^{-reloaded54 on August 27, 2009, 01:08:10 AM
I was trying to install a Simple Portal , it perfectly works on my localhost , but i can`t install it at my webserver,



An Error Has Occurred!
Wrong value type sent to the database. Array of integers expected. (known_theme_list)


Title: Re: Error while trying to install a mod
Post by: ^{-reloaded54 on August 27, 2009, 01:24:44 AM
this error is everywhere,

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

when i try to install any mods
Title: Re: Error while trying to install a mod
Post by: ^{-reloaded54 on August 27, 2009, 01:43:18 AM
knock knock!
Anybody home?
Title: Re: Error while trying to install a mod
Post by: Norv on August 27, 2009, 07:57:14 AM
Please do not bump posts before 24 hours. We are all volunteers here and will try to help, but in our free time and as possible.

How many themes do you currently have installed on your forum?

Note also that searching this forum for "known_theme_list" results in:
Re: Error updating to RC1.2 (http://www.simplemachines.org/community/index.php?topic=324292.msg2161196#msg2161196)
Check it out, it looks like you are having the same issue.
Title: Re: Error while trying to install a mod
Post by: ^{-reloaded54 on August 28, 2009, 03:11:59 AM
Quote from: Norv on August 27, 2009, 07:57:14 AM
Please do not bump posts before 24 hours. We are all volunteers here and will try to help, but in our free time and as possible.

How many themes do you currently have installed on your forum?

Note also that searching this forum for "known_theme_list" results in:
Re: Error updating to RC1.2 (http://www.simplemachines.org/community/index.php?topic=324292.msg2161196#msg2161196)
Check it out, it looks like you are having the same issue.

I check the link that you gave me, i followed the steps too , but i am having no success in it ,

There are three default themes which came in the same package of smf.
I followed the above process but it`s not working at all.

I have the same error,
here`s my result


MySQL returned an empty result set (i.e. zero rows). (Query took 0.0002 sec)
SQL query: SELECT *
FROM smf_settings
WHERE variable = 'knownThemes'
LIMIT 0 , 30;
Title: Re: Error while trying to install a mod
Post by: Norv on August 28, 2009, 08:11:40 AM
Please try:

INSERT INTO smf_settings (variable, value) VALUES ('knownThemes1', '1,2,3');

Title: Re: Error while trying to install a mod
Post by: ^{-reloaded54 on August 28, 2009, 08:42:56 AM
Quote from: Norv on August 28, 2009, 08:11:40 AM
Please try:

INSERT INTO smf_settings (variable, value) VALUES ('knownThemes1', '1,2,3');


i get this error when i type the above command


Error

SQL query:

INSERT INTO smf_settings( variable, value )
VALUES (
'knownThemes1', '1,2,3'
);

MySQL said: Documentation
#1046 - No database selected
Title: Re: Error while trying to install a mod
Post by: Norv on August 28, 2009, 09:05:49 AM
First select your forum database from the left column of the phpMyAdmin window, then try again the query.
Title: Re: Error while trying to install a mod
Post by: ^{-reloaded54 on August 28, 2009, 09:22:00 AM
Quote from: Norv on August 28, 2009, 09:05:49 AM
First select your forum database from the left column of the phpMyAdmin window, then try again the query.
thanks it didn`t work but i simply changed
INSERT INTO smf_settings (variable, value) VALUES ('knownThemes1', '1,2,3'); to
INSERT INTO smf_settings (variable, value) VALUES ('knownThemes', '1,2,3');
it is woking fine
Title: Re: Error while trying to install a mod
Post by: ^{-reloaded54 on August 28, 2009, 09:31:08 AM
i see another error with the stats

please check this link
http://nepalmania.com/portal/index.php?action=forum

check the info center , i tried to recollect stats from maintainence menu , but it didn`t work.
Title: Re: Error while trying to install a mod
Post by: Norv on August 28, 2009, 09:42:03 AM
Quote from: ^{-reloaded54 on August 28, 2009, 09:22:00 AM
Quote from: Norv on August 28, 2009, 09:05:49 AM
First select your forum database from the left column of the phpMyAdmin window, then try again the query.
thanks it didn`t work but i simply changed
INSERT INTO smf_settings (variable, value) VALUES ('knownThemes1', '1,2,3'); to
INSERT INTO smf_settings (variable, value) VALUES ('knownThemes', '1,2,3');
it is woking fine

Ah sorry. Sure, that was the right query.
/me throws the failing keyboard over the window.