Page 1 of 1

Since Version 1.2.x

Posted: 18 Mar 2008, 17:41
by drfuture
Since Version 1.2.x and at aktuall 1.3.x the Guestbook can`t be opened

Joomla runs on Legacy-Mode + SEO

Warning: require_once(HTMLPurifier/Error.php): failed to open stream: No such fi
le or directory in /.../components/com_phocaguestbook/assets/library/HTMLPurifier/Con
figSchema.php on line 3 Fatal error: require_once(): Failed opening required 'HTMLPur
ifier/Error.php' (include_path='.') in /.../components/com_phocaguestbook/assets/libr
ary/HTMLPurifier/ConfigSchema.php on line 3


if i change the path manually in ConfigSchema.php the next failur becomes up. So it could be a never ending story if i fix it .... on next release it would be overwritten ;D

Hi, please let me kn

Posted: 18 Mar 2008, 22:50
by Jan
Hi, please let me know how you fixed it...

HTML Purifier is not my product, so I don't know it... I only use it because of XSS attacks (it works on mostly servers without problems)... I cannot use standard Joomla JRequest Clean method, becuase there is a problem with IMG tag... So if it is fixed in next Joomla! version, I will implement the Joomla! Clean method and HTML Purifier class will be removed and not used ...

First i tryed to pat

Posted: 19 Mar 2008, 17:04
by drfuture
First i tryed to patch all require-Pathes ... but thats a lot... and i have to change the whole file-structure from Purifier.

So the easy way is to copy the HTMLPurifier - Folder from /assets/libary to the webserver-html root.

then all Pathes right.

i dosen`t know how the Purifier could run on other surfers - because the pathes are very strange.... i think the compleate class is designt to run from webserver-root dir.

a 2. Idea could be to use the direct filepath-variable from joomla - but then the HTMLPurifier must be includet to joomla - to *see* the global variable??

I plan to write a peronal component for joomla but i havent found a usefull description how to write it... so is dosn`n know the object-structure from joomla 1.5 yet ;D

hmmm, so maybe it wi

Posted: 20 Mar 2008, 01:42
by Jan
hmmm, so maybe it will be better, we will wait for fixed Clean method in Joomla!


Jan

Re: require_once(HTMLPurifier/Error.php): failed to open stream:

Posted: 05 Oct 2008, 13:26
by ASFV
Hi,

I've got the same problem. But after paths corrections, now, i have
Warning: require_once(ConfigDef/Namespace.php) [function.require-once]: failed to open stream: No such file or directory in /mnt/103/sdb/f/3/ctsnlgd/ConfigSchema.php on line 5

Fatal error: require_once() [function.require]: Failed opening required 'ConfigDef/Namespace.php' (include_path='/mnt/103/sdb/f/3/ctsnlgd/include:.:/usr/php5/lib/php') in /mnt/103/sdb/f/3/ctsnlgd/ConfigSchema.php on line 5

here http://ctsnlgd.free.fr/index.php?option ... tbook&id=1

could you please help me ?

tks,

Re: require_once(HTMLPurifier/Error.php): failed to open stream:

Posted: 07 Oct 2008, 12:10
by Jan
only what I know is that the link is not correct but you know this too as you got the php error... :( no idea what is wrong :(

Jan

Re: require_once(HTMLPurifier/Error.php): failed to open stream:

Posted: 10 Oct 2008, 09:24
by ASFV
Hi Jan,

I deleted the guestbook. And now, i ve got the same error as dvfuture (with HTML purifier) but i don't understand how he resolved the bug.

could you help me ?

thanks

Re: require_once(HTMLPurifier/Error.php): failed to open stream:

Posted: 12 Oct 2008, 19:20
by ASFV
I solved this problem... I moved the HTML Purifier directory.

But now captcha doesn't work with SEF...

I go on search a solution :D

Re: require_once(HTMLPurifier/Error.php): failed to open stream:

Posted: 13 Oct 2008, 12:22
by Jan
:idea:

Re: require_once(HTMLPurifier/Error.php): failed to open str

Posted: 23 Mar 2010, 14:29
by Jan
Hi, great, thank you for the info.

Jan