#1 (permalink)  
Old 08-24-2008, 05:00 AM
Registered User
 
Join Date: Jul 2006
Posts: 60
fish4carp is on a distinguished road
Default Add new link error

Hi

Been having a problem when people add new listings they are added ok to the site but get this error,

Warning: preg_match() [function.preg-match]: Unknown modifier 'd' in /home/ukcarper/public_html/lib/link.class.php on line 1584

Any one got any ideas as to why.

Cheers

Roger
Reply With Quote
  #2 (permalink)  
Old 08-24-2008, 09:06 AM
esm's Avatar
esm esm is offline
Active Member
 
Join Date: Apr 2003
Location: Atlanta GA
Posts: 3,411
esm is on a distinguished road
Default

since your version may be different than mine, can you post line 1584 of the link.class.php file (and maybe a few lines before and after)...?




.
__________________
esm
"The older I get, the more I admire competence, just simple competence, in any field from adultery to zoology."

.
Reply With Quote
  #3 (permalink)  
Old 08-24-2008, 01:22 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

And exactly what version are you using? I've never seen that error come up before.
Reply With Quote
  #4 (permalink)  
Old 08-25-2008, 11:52 AM
Registered User
 
Join Date: Jul 2006
Posts: 60
fish4carp is on a distinguished road
Default

Hi

I'm using version 5.40

Line 1584 and a few after below.

if (preg_match($pattern, $custom_fields_value, $match)) {
$spam = 1;
break;
}
}
if ($spam) {
$custom_fields_name = "spam," . $custom_fields_name;
$custom_fields_value = "'1'," . $custom_fields_value;
Reply With Quote
  #5 (permalink)  
Old 08-25-2008, 02:52 PM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

Do you have anything in your bad words filter?
Reply With Quote
  #6 (permalink)  
Old 08-26-2008, 02:20 AM
Registered User
 
Join Date: Jul 2006
Posts: 60
fish4carp is on a distinguished road
Default

Hi Bruceper

Yes I do have words in my bad words filter, should I delete these??

Thanks

Roger
Reply With Quote
  #7 (permalink)  
Old 08-26-2008, 03:12 AM
Bruceper's Avatar
Nicecoder Team
 
Join Date: Jun 2002
Location: Winnipeg Canada
Posts: 4,008
Bruceper is on a distinguished road
Default

Give it a try and see if that resolves the issue. If so then you had an incorrect entry in there.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spider Link Error Areastore v5.x 1 05-20-2008 05:44 PM
Error when searching in claim a link Mitchell INDEXU DELUXE v1.x 1 05-07-2008 12:56 AM
bad link error jagsinc v5.x 1 06-24-2005 04:09 AM

HACKER SAFE certified sites prevent over 99.9% of hacker crime.

All times are GMT -5. The time now is 02:05 PM.


Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO
SSL Certificate