Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
minishowcase gallery for txp
Hello all!
I want to use this flexible and easy gallery called minishowcase
But unfortunately i can’t integrate it into txp. Because i get error:
??? а��ИаБаКаА б�ЕаГаА ???: <txp:php> -> Warning: require_once(<txp:site_url/>libraries/general.bootstrap.php) [function.require-once]: failed to open stream: Invalid argument on line 49
Fatal error: require_once() [function.require]: Failed opening required ‘<txp:site_url/>libraries/general.bootstrap.php’ (include_path=’.;D:\xampp\php\PEAR’) in D:\xampp\htdocs\adiu\textpattern\publish\taghandlers.php(3127) : eval()’d code on line 49
There is someone who are integrated before this gallery or someone who can advice how to do.
Thank in advance!
Last edited by Katalonian (2010-06-17 08:00:43)
<txp:txp_me />
Offline
Re: minishowcase gallery for txp
or some way to call from txp index.php of this gallery
<txp:txp_me />
Offline
Re: minishowcase gallery for txp
It seems that you’re script can find the general.bootstrap.php file.
If i am reading your error correctly you have a <txp:site_url/> (unparsed) tag mixed in with the php. you need to get the real path in there
I think, therefore I AM, … … er … I think :-?
Offline
Re: minishowcase gallery for txp
hm. but other files in this path with this tag (<txp:site_url/> ) find correctly…
<txp:txp_me />
Offline
Re: minishowcase gallery for txp
Katalonian wrote:
hm. but other files in this path with this tag (<txp:site_url/> ) find correctly…
Please, post the code that you are currently using.
If you are using <txp: />
tags within PHP code, they won’t be parsed, and you can’t include PHP code with URLs anyway, only the output results (if any). If you could include code via http protocol, anyone could read your PHP file contents.
What you are probably looking (instead URL) is the internal server filesystem path (path/from/the/root/to/the/libraries/general.bootstrap.php).
Offline
Re: minishowcase gallery for txp
Gocom wrote:
Please, post the code that you are currently using.
What code you mean?
Same troube without tag <site_url>
а��ИаБаКаА б�ЕаГаА: <txp:php> -> Warning: require_once(libraries/general.bootstrap.php) [function.require-once]: failed to open stream: No such file or directory on line 49
Fatal error: require_once() [function.require]: Failed opening required ‘libraries/general.bootstrap.php’ (include_path=’.;D:\xampp\php\PEAR’) in D:\xampp\htdocs\adiu\textpattern\publish\taghandlers.php(3127) : eval()’d code on line 49
<txp:txp_me />
Offline
Offline
Re: minishowcase gallery for txp
OK.
I do. And i get error in all page:
pls take a look: http://www.katalonian.com/txp_err.txt
Ошибка Тега means Tag Error
Last edited by Katalonian (2010-06-18 07:22:00)
<txp:txp_me />
Offline
Offline
Re: minishowcase gallery for txp
what code you mean?)
You mean main code of this gallery?
<txp:txp_me />
Offline
Offline
Re: minishowcase gallery for txp
http://www.katalonian.com/minishow/index.txt
Last edited by Katalonian (2010-06-18 09:05:21)
<txp:txp_me />
Offline