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
Warning guestbook by upgrading.
- myrtus
- Phoca Enthusiast
- Posts: 74
- Joined: 29 Jul 2009, 18:16
- Contact:
Re: Warning guestbook by upgrading.
I have removed the error with the following changes in file components/com_phocaguestbook/views/phocaguestbook/view.html.php:
line 303
before:
after:
line 305
before:
after:
line 303
before:
Code: Select all
// if ($post['ip'] == trim($value)) {
Code: Select all
if ($post['ip'] == trim($value)) {
before:
Code: Select all
if (strstr($post['ip'], trim($valueIp)) && strpos($post['ip'], trim($valueIp))==0) {
Code: Select all
// if (strstr($post['ip'], trim($valueIp)) && strpos($post['ip'], trim($valueIp))==0) {
Myrtus
- Jan
- Phoca Hero
- Posts: 48736
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning guestbook by upgrading.
Hi, this should be solved now. Download and upgrade with the same version 1.4.1 but with date 24.5.2010
Jan
Jan
If you find Phoca extensions useful, please support the project
- myrtus
- Phoca Enthusiast
- Posts: 74
- Joined: 29 Jul 2009, 18:16
- Contact:
- Jan
- Phoca Hero
- Posts: 48736
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning guestbook by upgrading.
Ok
If you find Phoca extensions useful, please support the project