PEAK XOOPS - wraps installs ok, but no pages in englishin japanese

wraps installs ok, but no pages

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/25 23:30
carnuke  °ìÅùʼ   Posts: 13
Installatoin went ok and I uploadedan index.html file into the folder. In admin I updated the index and it reports "index has been updated from 1 file" this should be correct as there is only the index page in the wraps folder.

When viewing the module in the website the page loads and shows the following address

http://mydomain.com/modules/testwrap/index.php/index.html

which seems correct, but no page is showing.

I have checked that path_info is running and my server admins say yes, it is.

What else could be the problem?
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/26 4:30
GIJOE  ÀèǤ·³Áâ   Posts: 4110
Your report is the second.
I have to investigate the reason

First, tell me the core version.

Second, please check the path by adding a line into xoops_trust_path/modules/wraps/main/index.php

line 24:
$wrap_full_path = XOOPS_TRUST_PATH.'/wraps/'.$mydirname.'/'.$path_info ;

var_dump( $wrap_full_path ) ; exit ;

if( ! file_exists( $wrap_full_path ) ) {
	header( 'HTTP/1.0 404 Not Found' ) ;
	exit ;
}
After checking it, remove the line.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 .2 | Posted on 2006/8/27 3:35
carnuke  °ìÅùʼ   Posts: 13
Thanks for your comment

My environment is as follows

xoops 2.0.13.2 no core hacks.

server details from phpinfo.php

SERVER_SOFTWARE Apache/1.3.36 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635.SR1.2 mod_ssl/2.8.27 OpenSSL/0.9.7a PHP-CGI/0.1b

added the line as requested which gives this result in user page

string(71) "/home/something/public_html/xoops_trust_path/wraps/something/index.html"

Thanks for your help, this is potentially such a useful module!

Richard

[edited]
Votes:0 Average:0.00
Previous post - Next post | Parent - No child | Posted on 2006/8/27 4:49
Wardick  ¾åÅùʼ   Posts: 38
Nothing intelligent to contribute.

Just a heads up that it works with xoops 2.0.15.

Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/27 6:56
GIJOE  ÀèǤ·³Áâ   Posts: 4110
hi carnuke.

Quote:
string(71) "/home/something/public_html/xoops_trust_path/wraps/healthnotes/index.html"
It looks good. (Can you find the file?)

Try access image files like ...

XOOPS_URL/modules/healthnotes/index.php/(any_path).gif

If it can be displayed, check the template "healthnotes_index.html".
It should be ...
<{$main_contents}>
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/27 20:52
carnuke  °ìÅùʼ   Posts: 13
Here is the run down... I am now running this on a new installation on XOOPS 2.0.14

The module is on this URL
http://mydomain.com/modules/healthnotes/index.php/index.html
Which shows an empty page with no index file.

However The file exists on this URL

http://mydomain.com/xoops_trust_path/wraps/healthnotes/index.html

When called it displays but outside of the xoops path.If I call an image
http://mydomain.com/modules/healthnotes/index.php/test.jpg
it displays but outside the xoops site.

I do not have the template "healthnotes_index.html".

I do have templates/index.html and it contains <{$main_contents}>

Here is debug output

Warning: filemtime(): Stat failed for /home/something/public_html/modules/something/templates/healthnotes_index.html (errno=2 - No such file or directory) in file /class/smarty/xoops_plugins/resource.db.php line 32


[edited for security]
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/28 6:40
GIJOE  ÀèǤ·³Áâ   Posts: 4110
OK.
It must be a trouble on installing the template.

I'll check codes around there.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/29 0:57
carnuke  °ìÅùʼ   Posts: 13
Thanks, looking forward to using this.
Votes:0 Average:0.00
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/30 12:56
GIJOE  ÀèǤ·³Áâ   Posts: 4110
I've just found the reason.

In XOOPS 2.0.14/15, use the template set other than default.
Also you'd better read this:
http://www.peak.ne.jp/xoops/md/news/index.php?page=article&storyid=354
Votes:0 Average:0.00

question Re: wraps installs ok, but no pages

msg# 1.1.1.2.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2006/8/30 15:19
carnuke  °ìÅùʼ   Posts: 13
I report success!

1- Cloned default template set
2- set cloned set as default
3- Debug reports No errors now
4- Wrap index now shows in page!


Well spotted GIJOE and thanks for your help to sort this problem.
Votes:0 Average:0.00

question Re: wraps installs ok, but no pages

msg# 1.1.1.2.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2006/9/13 8:18
wilson  ÆóÅùʼ   Posts: 7
Well, that module just rocks

As IŽ´ve wrote on xoops.org, one of the most important features( IMHO) is the cabalities of indexing htmlŽ´s files making them searchable by xoops search.

Another dimension into content modules.

Thanks for sharing onother great one, GIJOE
Votes:0 Average:0.00

question Re: wraps installs ok, but no pages

msg# 1.1.1.2.1.1.1.1.1.1.1
Previous post - Next post | Parent - Children.1 | Posted on 2006/10/26 2:49
phasar  ¾åÅùʼ   Posts: 28
I'm having a similar problem with WRAPS. I am running Xoops 2.0.15.

If I click on the link in the main menu I get a blank page. But if I do a search, I can find the pages. There's just no index.

Also, the notifications options do not appear on the pages.

Can someone advise me on what is going wrong?

Thanks
Frank
Votes:0 Average:0.00

question Re: wraps installs ok, but no pages

msg# 1.1.1.2.1.1.1.1.1.1.1.1
Previous post - Next post | Parent - No child | Posted on 2006/10/27 4:26
GIJOE  ÀèǤ·³Áâ   Posts: 4110
Quote:
Also, the notifications options do not appear on the pages.

Just because there is no feature about notifications in wraps

Votes:0 Average:0.00

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!