Warning after I click on "View unread posts" (v130
 
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    phpMiX.org Forum Index -> mxBB Modules -> mxBB Module: mx_tinies
View previous topic :: View next topic  
Author Message
Flash
Junior Member
Junior Member


Joined: 03 May 2004
Posts: 29
Location: Vxj, Sweden

PostPosted: Tue Aug 17, 2004 12:04 pm    Post subject: Warning after I click on "View unread posts" (v130 Reply with quote

I' m getting this after i click on "View unread posts"

Code:
Warning: main(../modules/mx_sitestats/collector.php): failed to open stream: No such file or directory in C:\Program\Apache Group\Apache2\public\phpbb2\includes\page_header.php on line 493

Warning: main(): Failed opening '../modules/mx_sitestats/collector.php' for inclusion (include_path='.;c:\php4\pear') in C:\Program\Apache Group\Apache2\public\phpbb2\includes\page_header.php on line 493


Some of the links on the top is gone too.
The search is probablly done correct, I also get:

Information
No topics or posts met your search criteria


I have added the code for phpbb "includes/page_header.php"
Code:
// ------------------------------
// MOD:mx_sitestats:begin
//
// Select (or edit) to match relative path to your mx root !!!
$mx_root_path = '../';

include_once( $mx_root_path . 'modules/mx_sitestats/collector.' . $phpEx );
//
//MOD:mx_sitestats:end
// ------------------------------


and mx includes/page_header.php
Code:
// ------------------------------
// MOD:mx_sitestats:begin
//
include_once( $mx_root_path . 'modules/mx_sitestats/collector.' . $phpEx );
//
//MOD:mx_sitestats:end
// ------------------------------


The link "View unread posts" is working when I have a unread post, but the counter for it is showing (0) while "Posts since last visit" is showing (1)

phpbb2: 2.08
mx: 2.73
Apache:2.0.45 (Win32)
PHP: 4.3.4
mySQL: 3.23.49

 
 
_________________
/Flash
http://www.rfactor.se
 
Back to top
View user's profile Send private message Visit poster's website
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Tue Aug 17, 2004 12:53 pm    Post subject: Re: Warning after I click on "View unread posts" ( Reply with quote

Please, try this:

HERE, markus_petrux wrote:
1) Create a new portal page.
2) Add the 'Tinies: View Topics' block.
3) Goto Welcome block settings, and enter the page number to the 'View Topic Page' field.

Then, the links (in the Welcome block) will be built pointing to that page, so you can use other block with the ViewTopics thingy.

Works?

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Flash
Junior Member
Junior Member


Joined: 03 May 2004
Posts: 29
Location: Vxj, Sweden

PostPosted: Tue Aug 17, 2004 2:00 pm    Post subject: Re: Warning after I click on "View unread posts" ( Reply with quote

markus_petrux wrote:
Please, try this:

HERE, markus_petrux wrote:
1) Create a new portal page.
2) Add the 'Tinies: View Topics' block.
3) Goto Welcome block settings, and enter the page number to the 'View Topic Page' field.

Then, the links (in the Welcome block) will be built pointing to that page, so you can use other block with the ViewTopics thingy.

Works?


oops, i'm really a moron. I forgot that I created a new block for it named "Tinies2: Welcome" ... sorry for got that. The default "Tinies: Welcome" block works.

This means I have to ask the question that I should have asked from the beginning. Embarassed

Can I create a new block for "Tinies: Welcome"? I want to have one horizontal and one Vertical block for this funktion. Everything works with the default block. Everything works with new new block I have added but not the link "View unread posts".

EDIT: All of a sudden it works Smile
On the frontpage I have the vertical version and in the forum I have the Horizontal version. hmmm Rolling Eyes

 
 
_________________
/Flash
http://www.rfactor.se
 
Back to top
View user's profile Send private message Visit poster's website
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Tue Aug 17, 2004 2:20 pm    Post subject: Re: Warning after I click on "View unread posts" ( Reply with quote

Flash wrote:
Can I create a new block for "Tinies: Welcome"? I want to have one horizontal and one Vertical block...

http://forums.phpmix.org/viewtopic.php?t=106#TIPSTRICKS

Wink

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Flash
Junior Member
Junior Member


Joined: 03 May 2004
Posts: 29
Location: Vxj, Sweden

PostPosted: Tue Aug 17, 2004 2:39 pm    Post subject: Re: Warning after I click on "View unread posts" ( Reply with quote

ok ... I'm sooo Lazy...

I forgot to write that I did everything you type:
Quote:

1) Create a new portal page.
2) Add the 'Tinies: View Topics' block.
3) Goto Welcome block settings, and enter the page number to the 'View Topic Page' field.

Then, the links (in the Welcome block) will be built pointing to that page, so you can use other block with the ViewTopics thingy.


and I entered the new portal page number in both blocks.
That must be the solution for the first problem I think.

thx Razz

 
 
_________________
/Flash
http://www.rfactor.se
 
Back to top
View user's profile Send private message Visit poster's website
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Tue Aug 17, 2004 4:33 pm    Post subject: Re: Warning after I click on "View unread posts" ( Reply with quote

So... anything else left to deal with, here?


Wink

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.   printer-friendly view    phpMiX.org Forum Index -> mxBB Modules -> mxBB Module: mx_tinies All times are GMT + 1 Hour
 
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum