Message Text |
i have updated my sites from 4.0.42 to 6.0.19 and tested on subfolder, and everything is working smoothly.
then, I manually edited the URLs on the settings from the DB, and changed the paths on config and htaccess, then moved the site to root.
I tried adding couples of sites, but after clicking the submit button, i received errors as the folowing. Any idea what I can do to fix?
Error occurred at www.urlz.net/suggest.php?ac...rocessform=1&sponsorthis=1 on 2011-03-21 14:52:43. Error text: Error #2: 'mysql_fetch_row(): supplied argument is not a valid MySQL result resource' in databases/mysql.php on line 82.
Last SQL error: 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 'LIKE '/czrbusesz.com/%' OR LIKE '.czrbusesz.com/%' OR LIKE '%/czrbusesz.com' OR LIK' at line 1
Debug info:
Load time so far: 0.124 seconds.
Query 1: SET CHARACTER SET 'utf8', character_set_server = 'utf8', CHARACTER_SET_CLIENT=utf8, CHARACTER_SET_RESULTS=utf8, CHARACTER_SET_CONNECTION=utf8
Query 2: SELECT [huge field list omitted] FROM wsnlinks_links WHERE deleted=0 AND alias=0 AND ( LIKE '/czrbusesz.com/%' OR LIKE '.czrbusesz.com/%' OR LIKE '%/czrbusesz.com' OR LIKE '%.czrbusesz.com')
Step 1 of backtrace:
File: databases/mysql.php
Line: 82
Function: mysql_fetch_row
Arguments:
Step 2 of backtrace:
File: classes/database.php
Line: 152
Function: row
Arguments:
Class: db
Step 3 of backtrace:
File: classes/database.php
Line: 179
Function: row
Arguments:
Class: database
Step 4 of backtrace:
File: classes/database.php
Line: 350
Function: rowitem
Arguments:
Class: database
Step 5 of backtrace:
File: includes/addeditfuncs.php
Line: 1078
Function: selectcount
Arguments: linkstable
Class: database
Step 6 of backtrace:
File: classes/onelink.php
Line: 302
Function: isduplicate
Arguments: http://www.czrbusesz.com
Step 7 of backtrace:
File: classes/onelink.php
Line: 3067
Function: isduplicate
Arguments:
Class: onelink
Step 8 of backtrace:
File: includes/addlink.php
Line: 265
Function: iscomplete
Arguments:
Class: onelink
Step 9 of backtrace:
File: suggest.php
Line: 105
Function: require
Arguments: includes/addlink.php |