Guestbook doesnt work
-
- Phoca Newbie
- Posts: 5
- Joined: 19 Oct 2008, 13:15
Guestbook doesnt work
I installed Phoca Guestbook to Joomla! 1.5.7, I created a menu link but it doesnt work good. I tried in the clear instalation of Joomla. Admistration section works good but site section isnt displays. What I do wrong?
- caro84g
- Phoca Hero
- Posts: 1369
- Joined: 11 Feb 2008, 17:52
- Location: Holland
- Contact:
Re: Guestbook doesnt work
Have you created a guestbook in the admin panel? And selected this guestbook in the menu item?
Carolien
Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
Backup before you do any major change to your website (and test first)
-
- Phoca Newbie
- Posts: 5
- Joined: 19 Oct 2008, 13:15
Re: Guestbook doesnt work
Yes, look at http://www3.mkpp.cz/caro84g wrote:Have you created a guestbook in the admin panel? And selected this guestbook in the menu item?
Carolien
Try it on this address.
Last edited by Rosta on 26 Oct 2008, 21:10, edited 1 time in total.
- Jan
- Phoca Hero
- Posts: 48428
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Guestbook doesnt work
Hi, it seems like there is some error, php error reporting on will help (to get the error)... try to find if your server supports ctype functions ...
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 19 Oct 2008, 13:15
Re: Guestbook doesnt work
Errors:
Warning: require_once(HTMLPurifier/Error.php) [function.require-once]: failed to open stream: No such file or directory in /u2/www/mkpp_cz/data/www3/components/com_phocaguestbook/assets/library/HTMLPurifier/ConfigSchema.php on line 3
Fatal error: require_once() [function.require]: Failed opening required 'HTMLPurifier/Error.php' (include_path='.:/usr/lib/php:') in /u2/www/mkpp_cz/data/www3/components/com_phocaguestbook/assets/library/HTMLPurifier/ConfigSchema.php on line 3
( This hosting is on http://www.isol.cz )
What can I do?
Warning: require_once(HTMLPurifier/Error.php) [function.require-once]: failed to open stream: No such file or directory in /u2/www/mkpp_cz/data/www3/components/com_phocaguestbook/assets/library/HTMLPurifier/ConfigSchema.php on line 3
Fatal error: require_once() [function.require]: Failed opening required 'HTMLPurifier/Error.php' (include_path='.:/usr/lib/php:') in /u2/www/mkpp_cz/data/www3/components/com_phocaguestbook/assets/library/HTMLPurifier/ConfigSchema.php on line 3
( This hosting is on http://www.isol.cz )
What can I do?
- Jan
- Phoca Hero
- Posts: 48428
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Guestbook doesnt work
The HTML purifier is an external method to protect the guestbook against e.g. XSS attacks ... it seems like on your server there cannot be created include path the the HTML purifier library ? but don't know why? maybe some files are missed? Try to download and install the guestbook again, maybe it helps
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 19 Oct 2008, 13:15
Re: Guestbook doesnt work
I htink that problam is in "include_path" setings. (files arent missed)
Warning: require_once(HTMLPurifier/Error.php) [function.require-once]: failed to open stream: No such file or directory in /u2/www/mkpp_cz/data/www3/components/com_phocaguestbook/assets/library/HTMLPurifier/ConfigSchema.php on line 3
When I create HTMLPurifier/Error.php in to
www3/components/com_phocaguestbook/assets/library/HTMLPurifier/
like this
www3/components/com_phocaguestbook/assets/library/HTMLPurifier/When I create HTMLPurifier/Error.php
I see next error:
Warning: require_once(HTMLPurifier/ConfigDef.php) [function.require-once]: failed to open stream: No such file or directory in /u2/www/mkpp_cz/data/www3/components/com_phocaguestbook/assets/library/HTMLPurifier/ConfigSchema.php on line 4
Configuration PHP Core -include_path
Local Value .:/usr/lib/php:
Master Value .:/php/includes:/usr/lib/php:/usr/share/pear/:/usr/lib/php/ZF/library
I need change this phat HTMLPurifier/Error.php => Error.php (without HTMLPurifier/)
Do you have any help for me?
Warning: require_once(HTMLPurifier/Error.php) [function.require-once]: failed to open stream: No such file or directory in /u2/www/mkpp_cz/data/www3/components/com_phocaguestbook/assets/library/HTMLPurifier/ConfigSchema.php on line 3
When I create HTMLPurifier/Error.php in to
www3/components/com_phocaguestbook/assets/library/HTMLPurifier/
like this
www3/components/com_phocaguestbook/assets/library/HTMLPurifier/When I create HTMLPurifier/Error.php
I see next error:
Warning: require_once(HTMLPurifier/ConfigDef.php) [function.require-once]: failed to open stream: No such file or directory in /u2/www/mkpp_cz/data/www3/components/com_phocaguestbook/assets/library/HTMLPurifier/ConfigSchema.php on line 4
Configuration PHP Core -include_path
Local Value .:/usr/lib/php:
Master Value .:/php/includes:/usr/lib/php:/usr/share/pear/:/usr/lib/php/ZF/library
I need change this phat HTMLPurifier/Error.php => Error.php (without HTMLPurifier/)
Do you have any help for me?
- Jan
- Phoca Hero
- Posts: 48428
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Guestbook doesnt work
I think, HTML Purifier has some method how to set the path to all its files but maybe this method doesn't work on your server...
maybe this can be problem ???
define('HTMLPURIFIER_PREFIX', dirname(__FILE__));
mabe this include should be changed:
require_once 'HTMLPurifier/Error.php';
in:
HTMLPurifier/ConfigSchema.php
???
Jan
maybe this can be problem ???
define('HTMLPURIFIER_PREFIX', dirname(__FILE__));
mabe this include should be changed:
require_once 'HTMLPurifier/Error.php';
in:
HTMLPurifier/ConfigSchema.php
???
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 5
- Joined: 19 Oct 2008, 13:15
Re: Guestbook doesnt work
Problem is here:
set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path() );
it doest work on my hosting.
I had to change all
require_once 'HTMLPurifier/????.php';
in dirctor HTMLPurifier for (absolute phat)
require_once '/u2/www/mkpp_cz/data/www3/components/com_phocaguestbook/assets/library/HTMLPurifier/????.php';
set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path() );
it doest work on my hosting.
I had to change all
require_once 'HTMLPurifier/????.php';
in dirctor HTMLPurifier for (absolute phat)
require_once '/u2/www/mkpp_cz/data/www3/components/com_phocaguestbook/assets/library/HTMLPurifier/????.php';
- Jan
- Phoca Hero
- Posts: 48428
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Guestbook doesnt work
yes, but there are a lot of require_once in HTML purifier
you can try the version without HTML Purifier (but it is not safe as version with HTML Purifier)
Jan
you can try the version without HTML Purifier (but it is not safe as version with HTML Purifier)
Jan
If you find Phoca extensions useful, please support the project