View Full Version : Add new links from subcategories - Error
kosen
01-03-2007, 10:21 AM
When I submit a new link from subcategories (or subsubcategories):
- main categories
---- subcategories
------- subsubcategories
....I have this problem:
Warning: Cannot use a scalar value as an array in /links/addlink.php on line 424
When I submit a new link from main categories , I have not this problem...
How to correct this mistake?
Brian
01-03-2007, 03:12 PM
Just to be sure I understand you correctly... You're browsing into one of those sub-categories, clicking the "Submit A Link" link at the top, and then you get that message on the next page where you enter the URL and category?
kosen
01-03-2007, 03:32 PM
Yes. So...
Brian
01-03-2007, 03:57 PM
I've never heard of that happening, but if you'd like to submit a support ticket via the Members' Area here I'll be glad to take a look at things for you and see what the problem is.
kosen
01-03-2007, 04:46 PM
I am upset... :(
I have reinstalled the program... It has not helped.
The mistake has remained.
How you can help?
##################
After reinstallation I have received by mail the message on a mistake SQL.
The problem can be connected to it?
vBulletin 3.6.4:
Invalid SQL:
SELECT
userfield.*, usertextfield.*, user.*, UNIX_TIMESTAMP(passworddate) AS passworddate,
IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid,
language.phrasegroup_adv_links AS phrasegroup_adv_links,
language.phrasegroup_autopm_title AS phrasegroup_autopm_title,
language.phrasegroup_autopm_text AS phrasegroup_autopm_text,
language.phrasegroup_global AS phrasegroup_global,
language.options AS lang_options,
language.languagecode AS lang_code,
language.charset AS lang_charset,
language.locale AS lang_locale,
language.imagesoverride AS lang_imagesoverride,
language.dateoverride AS lang_dateoverride,
language.timeoverride AS lang_timeoverride,
language.registereddateoverride AS lang_registereddateoverride,
language.calformat1override AS lang_calformat1override,
language.calformat2override AS lang_calformat2override,
language.logdateoverride AS lang_logdateoverride,
language.decimalsep AS lang_decimalsep,
language.thousandsep AS lang_thousandsep
FROM vb_user AS user
LEFT JOIN vb_userfield AS userfield ON (user.userid = userfield.userid)
LEFT JOIN vb_usertextfield AS usertextfield ON (usertextfield.userid = user.userid) LEFT JOIN vb_language AS language ON (language.languageid = IF(user.languageid = 0, 2, user.languageid))
WHERE user.userid = 1;
Ошибка MySQL : Unknown column 'language.phrasegroup_adv_links' in 'field list'
Номер ошибки : 1054
Дата : Thursday, January 4th 2007 @ 12:27:40 AM
Скрипт : http://aikiforum.ru/links/
Реферрер :
IP адрес : 91.76.78.107
Имя пользователя :
Имя класса : vB_Database
######################################
I submit a support ticket from Members' Area...
kosen
01-04-2007, 04:49 AM
I've never heard of that happening, but if you'd like to submit a support ticket via the Members' Area here I'll be glad to take a look at things for you and see what the problem is.
It was possible to find out something?
kosen
01-05-2007, 03:53 AM
Brian,
Many thanks for the help!
All works perfectly!
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.