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