View Full Version : Help Plz for Phpld Directory Integration WIth Paypall
prabha99
Apr 12th 2007, 1:06 am
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: xyz@yahoo.com
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
LeopardAt1
Apr 12th 2007, 1:09 am
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
}
Upload your functions.php with the new addition and try refreshing.
Cheers
deluxdon
Apr 12th 2007, 1:12 am
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: xyz@yahoo.com
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
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
prabha99
Apr 12th 2007, 1:26 am
Thanks LeopardAt1
I will try it out first.
Ones againg thanks.
Cheers,
Prabha99
SasaVtec
Apr 12th 2007, 1:29 am
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
}
Upload your functions.php with the new addition and try refreshing.
Cheers
How did you come up with this?
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: xyz@yahoo.com
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
Instead of using the free version 3.1 is well worth the money ***Highly recommended by a good friend and coder. :D
prabha99
Apr 12th 2007, 1:34 am
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
LeopardAt1
Apr 12th 2007, 1:34 am
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. :D
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 :)
LeopardAt1
Apr 12th 2007, 1:39 am
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.
prabha99
Apr 12th 2007, 1:39 am
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.
LeopardAt1
Apr 12th 2007, 1:51 am
prabha, let me know if it worked or not.
prabha99
Apr 12th 2007, 2:09 am
HI, Leopard At1
Thanks alot it worked for me.
Thanks ones again
Cheers,
Prabha99
jhnrang
Apr 12th 2007, 3:09 pm
How did you come up with this?
Why you ask so?
He helmed me previously --and it is just great now:cool: If you can't help yourself --you should not comment on others who help people.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.