Page 1 of 1
Re: Warning guestbook by upgrading.
Posted: 24 May 2010, 13:04
by TopCop
Got the same message showing up after upgrading on my page.
When trying to submit a new entry I get this:
Warning: strstr() [function.strstr]: Empty delimiter in /XXXX/components/com_phocaguestbook/controllers/phocaguestbook.php on line 277
TopCop
Re: Warning guestbook by upgrading.
Posted: 24 May 2010, 17:35
by myrtus
I have removed the error with the following changes in file components/com_phocaguestbook/views/phocaguestbook/view.html.php:
line 303
before:
Code: Select all
// if ($post['ip'] == trim($value)) {
after:
Code: Select all
if ($post['ip'] == trim($value)) {
line 305
before:
Code: Select all
if (strstr($post['ip'], trim($valueIp)) && strpos($post['ip'], trim($valueIp))==0) {
after:
Code: Select all
// if (strstr($post['ip'], trim($valueIp)) && strpos($post['ip'], trim($valueIp))==0) {
Re: Warning guestbook by upgrading.
Posted: 24 May 2010, 20:24
by Jan
Hi, this should be solved now. Download and upgrade with the same version 1.4.1 but with date 24.5.2010
Jan
Re: Warning guestbook by upgrading.
Posted: 24 May 2010, 21:27
by myrtus
Now it works correctly. Thank you very much.

Re: Warning guestbook by upgrading.
Posted: 30 May 2010, 14:56
by Jan
Ok