Results 1 to 7 of 7

Thread: Add new link error

  1. #1
    Join Date
    Jul 2006
    Posts
    62

    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

  2. #2
    Join Date
    Apr 2003
    Location
    Atlanta GA
    Posts
    3,395

    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."

    .

  3. #3
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    And exactly what version are you using? I've never seen that error come up before.

  4. #4
    Join Date
    Jul 2006
    Posts
    62

    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;

  5. #5
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    Do you have anything in your bad words filter?

  6. #6
    Join Date
    Jul 2006
    Posts
    62

    Default

    Hi Bruceper

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

    Thanks

    Roger

  7. #7
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

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

Similar Threads

  1. Spider Link Error
    By Areastore in forum v5.x
    Replies: 1
    Last Post: 05-20-2008, 04:44 PM
  2. Error when searching in claim a link
    By Mitchell in forum INDEXU DELUXE v1.x
    Replies: 1
    Last Post: 05-06-2008, 11:56 PM
  3. bad link error
    By jagsinc in forum v5.x
    Replies: 1
    Last Post: 06-24-2005, 03:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •