Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-06-17 08:00:23

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

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

#2 2010-06-17 08:55:10

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: minishowcase gallery for txp

or some way to call from txp index.php of this gallery


<txp:txp_me />

Offline

#3 2010-06-17 17:07:05

Timid&friendly
Member
From: The Netherlands
Registered: 2006-05-28
Posts: 252
Website

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

#4 2010-06-17 18:18:51

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: minishowcase gallery for txp

hm. but other files in this path with this tag (<txp:site_url/> ) find correctly…


<txp:txp_me />

Offline

#5 2010-06-17 18:59:36

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

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

#6 2010-06-18 06:09:22

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

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

#7 2010-06-18 06:51:09

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: minishowcase gallery for txp

You need to use the correct path that points to the actual file (/path/from/root/to/libraries/general.bootstrap.php).

Offline

#8 2010-06-18 07:21:10

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

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

#9 2010-06-18 07:42:56

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: minishowcase gallery for txp

Post the code you are using.

Offline

#10 2010-06-18 07:52:55

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

Re: minishowcase gallery for txp

what code you mean?)
You mean main code of this gallery?


<txp:txp_me />

Offline

#11 2010-06-18 08:46:30

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: minishowcase gallery for txp

The code you are using in your Textpattern pages to include the files.

Offline

#12 2010-06-18 09:04:01

Katalonian
Member
From: Baku, Azerbaijan
Registered: 2010-04-18
Posts: 219
Website

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

Board footer

Powered by FluxBB