You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1, 4)' at line 3
File: /home/mhd-01/www.aumentostatura.it/htdocs/Sources/MessageIndex.php
Line: 102
I have done upgrade, but when I click on a board this error appear. None knows how can I solve this problem???
Have you tried re-uploading it and posting us lines 100 to 102 :D
you can upgrade from 1.08 to 1.1??? How do you do this? Do I need to change any server settings with my hosting?
Lunarpages is my host server.
I would try to reupload MessageIndex.php in the sources file with a copy from 1.1RC3
Does it happen on all boards in your forum? or just certain ones.
I have upload that file again, but nothing was changed :( this happen with all my boards; all them are empty.
Can you provide us lines 100-104 of the MessageIndex.php please?
Lines from 99 to 110:
db_query("
REPLACE INTO {$db_prefix}log_boards
(ID_MSG, ID_MEMBER, ID_BOARD)
VALUES ($modSettings[maxMsgID], $ID_MEMBER, $board)", __FILE__, __LINE__);
if (!empty($board_info['parent_boards']))
{
db_query("
UPDATE {$db_prefix}log_boards
SET ID_MSG = $modSettings[maxMsgID]
WHERE ID_MEMBER = $ID_MEMBER
AND ID_BOARD IN (" . implode(',', array_keys($board_info['parent_boards'])) . ")
LIMIT " . count($board_info['parent_boards']), __FILE__, __LINE__);
p.s.
when I click on a bord, the wearing change of value.
es.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1, 6)' at line 3
File: /home/mhd-01/www.aumentostatura.it/htdocs/Sources/MessageIndex.php
Line: 102
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' 1, 11)' at line 3
File: /home/mhd-01/www.aumentostatura.it/htdocs/Sources/MessageIndex.php
Line: 102
That seems like a valid query what MySQL version are you running?
Client API version 4.1.11
In phpmyadmin there is written 5.1 Debian and others...
Ok, I have understood it's better if I upload 1.1 and overwrite all :'(