Sql Error 1064

a complete banner management system, any number of banners can be added
Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Sql Error 1064

Postby lefteris on Wed 20. Aug, 2003 19:12

Couldn't update/insert into banners table

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 ' 'http://www.support-page.gr/logo.gif', '1', '0', 'Support', 'w

INSERT INTO phpbb_banner (banner_id, banner_name, banner_active, banner_spot, banner_description, banner_url, banner_click, banner_view, banner_owner, banner_level, banner_level_type, banner_timetype, time_begin, time_end, date_begin, date_end, banner_comment) VALUES (, 'http://www.support-page.gr/logo.gif', '1', '0', 'Support', 'www.support-page.gr', '100', '100', '2', '-1', '2', '0', '0', '0', '0', '0', '0')

Line : 540
File : C:\dokimi\phpbb2\admin\admin_banner.php



I have All Ready Run Db_update.php

My Sql Run Perfect.


What i have to do for this?
lefteris
Poster
Poster
 
Posts: 3
Joined: Wed 20. Aug, 2003 19:10

Postby Niels on Fri 22. Aug, 2003 10:48

It seam like the newly updated admin_banner.php have a bug, only new installations will show this error.

I have updated the file, and uploaded it to the zip, please update this file, and you should be up and runing
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby wakke on Thu 17. Mar, 2005 14:58

I get the same error. Tried to overwrite all files again without success:


Couldn't update/insert into banners table

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 ''50','50','0','600','50')' at line 2

INSERT INTO boardersforum_phpbb_banner (banner_id, banner_name, banner_active, banner_spot, banner_description, banner_url, banner_click, banner_view, banner_owner, banner_level, banner_level_type, banner_timetype, time_begin, time_end, date_begin, date_end, banner_comment, banner_type, banner_width, banner_height, banner_filter, banner_filter_time,banner_weigth) VALUES ('1','uploads/banner_small_test.jpg', '1', '5', 'banner small test', 'http://www.google.be', '0', '0', '2', '-1', '2', '0', '0', '0', '0', '0', 'banner small test','0',ø'50','50','0','600','50')

Line : 616
File : /usr/local/psa/home/vhosts/jeugdcontact.be/httpdocs/site/admin/admin_banner.php

wakke
Poster
Poster
 
Posts: 2
Joined: Thu 17. Mar, 2005 14:56

Postby wakke on Thu 17. Mar, 2005 15:03

I found it , I just removed this sign from the code:

ø
wakke
Poster
Poster
 
Posts: 2
Joined: Thu 17. Mar, 2005 14:56

Postby Billy2423 on Fri 18. Mar, 2005 21:05

Thank you wakke, I was looking for that also..
Billy2423
Poster
Poster
 
Posts: 16
Joined: Tue 27. Jan, 2004 00:47
Location: USA

Postby bacalhau_cnatas on Sat 19. Mar, 2005 13:39

You can find the solution for that problem here

http://mods.db9.dk/viewtopic.php?t=5891&start=0
bacalhau_cnatas
Poster
Poster
 
Posts: 4
Joined: Sat 05. Mar, 2005 23:34


Return to Complete banner [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 2 guests

cron