Hi, I have a directory and I have created a paypall acount and I want to integrate the paypal account to my site. I went to my admin panel and I have added my paypal account in the payment tab. It is phpld 2.1 directory script LIKE: When i tested it is showing this result what should i do plz help me. Fatal error: Call to undefined function: disable_browser_cache() in /home/newyearg/public_html/a2zsitesdirectory/directory/payment.php on line 105 Please Help ME Out. Regards Prabha99
Hey, open up your "functions.php" inside your "/include" folder. Add this anywhere inside: /** * Disable any caching by the browser * @author Constantin Bejenaru / Boby <constantin_bejenaru@frozenminds.com> (http://www.frozenminds.com) * http://www.faqs.org/rfcs/rfc2616 */ function disable_browser_cache() { @ header ('Expires: Mon, 14 Oct 2002 05:00:00 GMT'); // Date in the past @ header ('Last-Modified: ' . gmdate ("D, d M Y H:i:s") . ' GMT'); // Always modified @ header ('Cache-Control: no-store, no-cache, must-revalidate'); // HTTP 1.1 @ header ('Cache-Control: post-check=0, pre-check=0', false); @ header ('Pragma: no-cache'); // HTTP 1.0 } Code (markup): Upload your functions.php with the new addition and try refreshing. Cheers
Try to contact an0n for this error. Definately Rob (an0n) solve your problem. BTW i got same error while trying to submit 1 regular listing (testing). Fatal error: Call to undefined function: disable_browser_cache() in /home/newyearg/public_html/a2zsitesdirectory/directory/payment.php on line 105
How did you come up with this? Instead of using the free version 3.1 is well worth the money ***Highly recommended by a good friend and coder.
When i click the buy now button it is showing the follwoing error plz help Notice: SmartyValidate: [validate plugin] form 'pay_link' is not registered. in /home/newyearg/public_html/a2zsitesdirectory/directory/libs/smarty/plugins/function.validate.php on line 46 what to do next ? Help plz prabha99
I helped a friend who had the same bug with his 2.1 version. I'm assuming if he fixes this bug, they'll be another 2-3 bugs that pop up afterwards---thats the annoying "pay_link" bug--if not good for him
Guess not good for you http://www.phplinkdirectory.com/forum/showthread.php?t=10466 Go there Prab. Scroll down a few posts or so and find Dawzz's "updated" version of payment.php. Download the zip he offers, and re-upload your payment.php inside the root directory.
hi LeopardAt1, Plz help as you said it is correct i have got another bug "pay_link" plz help me out waiting for your reply plz. Prabha99.
Why you ask so? He helmed me previously --and it is just great now If you can't help yourself --you should not comment on others who help people.