You are required to register before you can post. This is via a custom verification system. Please post any problems you are encountering here and I`ll do my best to respond as soon as I can. Please note that a reply WILL be posted to all queries, so do not double post. There are no guarantees
when a reply will appear but I do my best to answer all within 3/4 days max. Bumping topics won`t make the slightest difference.
IMPORTANT: Posts in English ONLY please, thank you! Any other languages will be ignored and your message deleted.
SEARCH: Use the search option to see if your question has been answered on the forum before. Or check the relevant script docs.
CUSTOMER: If you have purchased a commercial version of any of my software, using the contact option at the licence centre ensures a faster response.
AUTO DELETION: Accounts older than 5 days, with no posts or topics, are automatically deleted. Only register if you are thinking of posting.
PRIVATE MESSAGES: Private messages are currently disabled.
LINKS: Any links posted are 'NOFOLLOW' and will not be picked up by search engines.
First - Thank you for a great script.
I have just discovered errors are being posted when executing the index.php page of the Friend script. I feel confident this relates to an upgrade of PHP my host recently performed on my web server.
Rather than attempting to explain, as I KNOW NOTHING about PHP, may I ask you to check it for yourself at http://www.cya2day.com/friend/index.php
If it is possible for you to tell me what to change I will be delighted to fix it.
Thanks very much.
It is from the upgrade as PHP added a development mode to flag deprecated functions. Its for developers only. To remove from your existing installation you need to open the main index.php file and set your error reporting to:
or re-download and use the latest version which fixes these errors.
Glad you like the script.
Thank you for a very timely reply. I will modify the file and see what develops.
I hope the donation was sufficient.
I modified index.php as you described above and turned off the error_reporting. I see a big improvement, however, there are now only two errors shown. They are:
Deprecated: Assigning the return value of new by reference is deprecated in /home/customap/public_html/cya2day/friend/index.php on line 29
Deprecated: Assigning the return value of new by reference is deprecated in /home/customap/public_html/cya2day/friend/index.php on line 195
You can see it in action here: http://www.cya2day.com/friend/index.php
FWIW - I downloaded the latest and copied just the index.php file from the root to my site and when the page loaded it was blank. Nothing showed at all. What is there now is the original index.php file that I modified per your suggestion.
Any guidance or suggestions will be most welcome.
I can`t think what might be different. To fix the above errors, find instances of the following in the index.php file:
$tpl &= new Savant2();
Remove the ampersand:
$tpl = new Savant2();
SPOT ON! Works perfectly now.
Thank you very much for your valuable time and assistance.