Webmastersite.net
Register Log In

Error on processing submission form
testing all right on subfolder, but moving to the root gets error.

Comments on Error on processing submission form

mc19
Forum Regular

Usergroup: Customer
Joined: May 14, 2006

Total Topics: 41
Total Comments: 103
mc19
Posted Mar 21, 2011 - 8:17 AM:

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
Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Mar 22, 2011 - 5:26 AM:

Bug with the disallow reuse of domain name option, fixed in 6.0.20.
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



Sorry, you don't have permission to post posts. Log in, or register if you haven't yet.