PHPLD Error?

Discussion in 'Directories' started by SecureWebDev, Apr 28, 2008.

  1. #1
    Im working on designing this template for my directory when I finished on the submit page I got this error:

    Warning: Smarty error: validate: validator id 'v_AGREERULES' is not registered. in /home/******/public_html/directory/libs/smarty/Smarty.class.php on line 1095
    Code (markup):
    Im Using PHPLD and I got this problem after applying my custom template. The Other Templates do not show this error :S
    Can anyone help with this please?

    Greatly appreciated,
    Khaled
     
    SecureWebDev, Apr 28, 2008 IP
  2. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #2
    It will be an error with the smarty tag in your submit.tpl. Probably in the top half of the page somewhere. Does v_AGREERULES need a capital V?
     
    mikey1090, Apr 28, 2008 IP
  3. SecureWebDev

    SecureWebDev Active Member

    Messages:
    677
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #3
    SecureWebDev, Apr 28, 2008 IP
  4. mikey1090

    mikey1090 Moderator Staff

    Messages:
    15,869
    Likes Received:
    1,055
    Best Answers:
    0
    Trophy Points:
    445
    Digital Goods:
    2
    #4
    mikey1090, Apr 28, 2008 IP
  5. an0n

    an0n Prominent Member

    Messages:
    5,688
    Likes Received:
    915
    Best Answers:
    0
    Trophy Points:
    360
    #5
    1. make sure all of your files were uploading and *not corrupted* in any way.
    2. if not #1, then make sure your template is specific for the version you are using. Otherwise you will continue to see these errors.
    3. if not #1 or #2, then it's your .php file(s) that are not compatible because they aren't registering the rules.

    It's not the .tpl file(s), however, you could remove it from the tpl file(s), but then you wouldn't be correctly engaging the rule set put forth to ensure the integrity of the submission.

    Rob.
     
    an0n, Apr 28, 2008 IP
  6. hyper

    hyper Peon

    Messages:
    1,565
    Likes Received:
    214
    Best Answers:
    0
    Trophy Points:
    0
    #6
    use the "user agreement rules" part from the original template...in the submit.tpl
     
    hyper, Apr 28, 2008 IP
  7. SecureWebDev

    SecureWebDev Active Member

    Messages:
    677
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #7
    Can you explain a little bit more?
     
    SecureWebDev, Apr 28, 2008 IP
  8. hyper

    hyper Peon

    Messages:
    1,565
    Likes Received:
    214
    Best Answers:
    0
    Trophy Points:
    0
    #8
    send me your submit.tpl file, I will try to see wtf is happening for you :)
     
    hyper, Apr 28, 2008 IP