Pagina 1 van 1

de fout (weer met de cash mod)?

Geplaatst: 25 aug 2004, 12:28
door sukkelaap

Code: Selecteer alles

Failed to update general configuration for points_name

DEBUG MODE

SQL Error : 1064 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 's' WHERE config_name = 'points_name'' at line 2

UPDATE phpbb_config SET config_value = 'funny's' WHERE config_name = 'points_name'

Line : 62
File : c:\appserv\www\notebored\phpbb2\admin\admin_board.php
Wat is er fout?

Geplaatst: 25 aug 2004, 12:38
door lordofhetringetje
ik zou hier is kijken:

Line : 62
File : c:\appserv\www\notebored\phpbb2\admin\admin_board.php

Geplaatst: 25 aug 2004, 12:39
door sukkelaap
Daar staat niet wta ik zoek:

Code: Selecteer alles

if( isset($HTTP_POST_VARS['submit']) )
		{
			$sql = "UPDATE " . CONFIG_TABLE . " SET
				config_value = '" . str_replace("\'", "''", $new[$config_name]) . "'
				WHERE config_name = '$config_name'";
			if( !$db->sql_query($sql) )
			{
				message_die(GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql);
			}
		}
Dit is lijn 62 precies:

Code: Selecteer alles

message_die(GENERAL_ERROR, "Failed to update general configuration for $config_name", "", __LINE__, __FILE__, $sql);

hab je je

Geplaatst: 25 aug 2004, 12:50
door svenn
heb je je database geupdate zoals het stond?

svennson

Geplaatst: 25 aug 2004, 14:52
door Podium4
Probeer eens funny\'s in te vullen in plaats van funny's als punten naam...

Geplaatst: 25 aug 2004, 19:48
door sukkelaap
zo is die ook ingevoerd.

Geplaatst: 25 aug 2004, 19:58
door sukkelaap
is al opgelost ik had iets verkeerd ingesteld :S