Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12424
Latest: serbenfiquista
New This Month: 5
New This Week: 0
New Today: 0
Stats
Total Posts: 40041
Total Topics: 7046
Most Online Today: 53
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 59
Total: 60

Author Topic: Many errors...  (Read 7209 times)

0 Members and 1 Guest are viewing this topic.

Offline vkot

  • Full Member
  • ***
  • Posts: 136
    • View Profile
Many errors...
« on: May 06, 2010, 05:02:51 am »
I have many of the following errors in my SMF's error logs:

Quote
http://xxx.xxx.xxx/index.php?action=classifieds;sa=editlisting2
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 'WHERE l.ID_TAG = t.ID_TAG AND l.ID_LISTING = '15302' AND t.tag = 'Korg'' at line 2
File: /xxxxxx/forum/httpdocs/Sources/classifieds2.php
Line: 7989
Quote
http://xxx.xxx.xxx/index.php?action=classifieds;sa=listingfiles;id=
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 '' at line 4
File: /xxxxxx/forum/httpdocs/Sources/Load.php(2087) : eval()'d code
Line: 2360
Quote
8: Undefined index: new
File: /xxxxxx/forum/httpdocs/cache/lang_classifieds_greek_default.php (main sub template - eval?)
Line: 250
Quote
http://xxx.xxx.xxx/index.php?action=classifieds&sa=delpic2
8: Undefined index: id
File: /xxxxxx/forum/httpdocs/Sources/classifieds2.php
Line: 3528
Quote
http://xxx.xxx.xxx/index.php?action=classifieds;sa=listall;type=recent
8: Undefined variable: orderby2
File: /xxxxxx/forum/httpdocs/Sources/classifieds2.php
Line: 6241
Quote
http://xxx.xxx.xxx/index.php?action=classifieds;sa=listall;type=recent
8: Undefined variable: sortby2
File: /xxxxxx/forum/httpdocs/Sources/classifieds2.php
Line: 6241
Quote
http://xxx.xxx.xxx/index.php?action=classifieds;sa=memberlistings;id=14990
8: Undefined index: class_listall_type
File: /xxxxxx/forum/httpdocs/Themes/default/classifieds2.template.php (member_listings sub template - eval?)
Line: 7220

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15023
    • View Profile
Re: Many errors...
« Reply #1 on: May 08, 2010, 12:14:15 am »
Fixed for 1.3.5 should be out in the next couple days
1.3.5
!Fixed possible keyword sql error on updating a listing.
!Fixed undefined error on sort change for member listings for SMF 2.0
!Added some other checking to prevent some undefined error
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline vkot

  • Full Member
  • ***
  • Posts: 136
    • View Profile
Re: Many errors...
« Reply #2 on: April 17, 2013, 12:05:17 am »
There is a problem with the apostrophes in a SQL query, it seems they are not escaped. I have a few of messages like these in my logs. All of them have an apostrophe in the query.

Quote
http://xxxxx/index.php?action=classifieds;sa=addlisting2
Σφάλμα βάσης δεδομένων: 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 'jimjj55's media' - s1207_photobucket_com_user_jimjj55_media_Fender%20New%20CS%20' at line 3
Αρχείο: /xxxxx/forum/httpdocs/Sources/classifieds2.php
Γραμμή: 9350

My SMF Classifieds version is 2.0.11
« Last Edit: April 22, 2013, 06:28:44 am by vkot »

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15023
    • View Profile
Re: Many errors...
« Reply #3 on: April 17, 2013, 09:47:23 am »
Is that when you add the it in the listing description?
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline vkot

  • Full Member
  • ***
  • Posts: 136
    • View Profile
Re: Many errors...
« Reply #4 on: April 21, 2013, 05:53:06 am »
The errors appeared from something that the users did. I am sorry, I could not reproduce it, I tried apostrophes in title, bodu text, image filename, and it works ok.
If I'll get more of there messages, I'll inform you.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15023
    • View Profile
Re: Many errors...
« Reply #5 on: April 21, 2013, 07:55:24 am »
Ok yeah I was trying the same thing will look into some more too.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 15023
    • View Profile
Re: Many errors...
« Reply #6 on: April 21, 2013, 08:18:14 am »
Think I figured it out. Issue was with image name of uploaded image. Have fixed for next major release.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

 

Related Topics

  Subject / Started by Replies Last post
4 Replies
3881 Views
Last post December 04, 2007, 09:27:54 pm
by SMFHacks
0 Replies
2293 Views
Last post May 01, 2008, 08:19:24 am
by newguyatthis
2 Errors

Started by m.ehm Support

1 Replies
1618 Views
Last post April 06, 2014, 11:01:10 pm
by SMFHacks
Errors

Started by Madirex Bugs

0 Replies
2452 Views
Last post February 18, 2016, 10:46:16 am
by Madirex
5 Replies
738 Views
Last post March 11, 2019, 08:31:47 am
by Ken.

+- Recent Topics

Order of photos by D4611001
Today at 12:06:36 pm

Cannot install by SMFHacks
January 18, 2020, 09:40:56 pm

Call to undefined function mysql_query() by SMFHacks
January 18, 2020, 02:06:47 pm

English British Translation file by HAL9000
January 17, 2020, 05:44:28 pm

Characters dispayed as boxes by SMFHacks
January 16, 2020, 07:21:51 am

Multiple adds where one used to be? by SMFHacks
January 07, 2020, 08:20:38 am

Ribbon Theme Logo Position by slizzie1986
January 06, 2020, 08:52:31 pm

System enhancement? by SMFHacks
January 03, 2020, 09:22:45 am

Pretty Url Pro Is it compatible with 7.2? by Rock Lee
January 01, 2020, 08:53:50 pm

SMF Cookie Change Compatibly by HDB
December 28, 2019, 03:33:49 pm

Powered by EzPortal