View Full Version : PHPLD Error?
SecureWebDev
Apr 28th 2008, 10:26 am
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
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
mikey1090
Apr 28th 2008, 10:29 am
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?
SecureWebDev
Apr 28th 2008, 10:33 am
Im not sure I understand what you mean by the 'v' being capital... Im trying to fins it in the .tpl file
Ive also found the same problem on these directories:
http://www.addurlsfree.com/add-url.php
http://www.simplesitelist.info/submit.php
http://www.pixelmatortutorials.com/submit.php
http://www.elinkuri.ro/submit.php
looks like its common :S
mikey1090
Apr 28th 2008, 10:42 am
http://forums.digitalpoint.com/showthread.php?t=230381
This guy had similar problems.
Posting the issue in the phpLD forums will probably get your issue sorted within minutes. This isn't really a good forum to discuss bugs and errors in a script.
an0n
Apr 28th 2008, 11:12 am
Im not sure I understand what you mean by the 'v' being capital... Im trying to fins it in the .tpl file
Ive also found the same problem on these directories:
http://www.addurlsfree.com/add-url.php
http://www.simplesitelist.info/submit.php
http://www.pixelmatortutorials.com/submit.php
http://www.elinkuri.ro/submit.php
looks like its common :S
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.
hyper
Apr 28th 2008, 11:21 am
use the "user agreement rules" part from the original template...in the submit.tpl
SecureWebDev
Apr 28th 2008, 11:24 am
use the "user agreement rules" part from the original template...in the submit.tpl
Can you explain a little bit more?
hyper
Apr 28th 2008, 11:26 am
Can you explain a little bit more?
send me your submit.tpl file, I will try to see wtf is happening for you :)
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.