View_Topics error - Could not obtain the block configuration
 
 
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
Woodstock
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 9
Location: Italy

PostPosted: Mon Aug 09, 2004 11:09 pm    Post subject: View_Topics error - Could not obtain the block configuration Reply with quote

Hello, i have installed the mx_tinies module, but when i try to read the "Topics you've started" or "View unread posts" i found this message:

Could not obtain the block configuration

DEBUG MODE

SQL Error : 1064 Syntax error into the query SQL next at '' line 11

SELECT blk.block_id , blk.block_title , blk.block_desc , blk.function_id , blk.auth_view , blk.auth_edit , blk.auth_delete , blk.auth_view_group , blk.auth_edit_group FROM mx_block blk WHERE blk.block_id =

Line : 316
File : d:\programmi\easyphp1-7\www\includes\mx_functions.php



S.O.S.! Crying or Very sad
 
Back to top
View user's profile Send private message Visit poster's website
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Mon Aug 09, 2004 11:39 pm    Post subject: Re: Syntax error Reply with quote

It seems as if the module was not correctly installed. Were there any strange messages when installing the module? Does the Object Integrity Check reports any [?] symbols?

Anyway, as a workaround, you could try this:
Code:
#
#---[ OPEN ]----------
#
modules/mx_tinies/view_topics.php
#
#---[ FIND ]----------
#
$block_config  = read_block_config($block_id);
#
#---[ REPLACE WITH ]----------
#
//$block_config  = read_block_config($block_id);
#
#---[ SAVE ]----------
#

Question

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Woodstock
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 9
Location: Italy

PostPosted: Tue Aug 10, 2004 12:24 am    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

Thanks for the reply,
now works, but in this two pages the background and the logo of the forum is missing...

i don't have any error message, and the integrity check is ok.
 
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 10, 2004 12:28 am    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

I still don't know why is that happening.

Anyway, solution to this is here:
http://forums.phpmix.org/viewtopic.php?t=146

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Tue Aug 10, 2004 12:39 am    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

markus_petrux wrote:
I still don't know why is that happening.

Hehe... Woodstock, I just figured the problem and posted the fix in that topic.

HTH+

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Woodstock
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 9
Location: Italy

PostPosted: Tue Aug 10, 2004 12:43 am    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

markus_petrux wrote:
I still don't know why is that happening.

Anyway, solution to this is here:
http://forums.phpmix.org/viewtopic.php?t=146

Sorry, i don't understand...
how i put the parameters under the welcome block setting?

The links that work have that address: http://localhost/forum/search.php?search_id=newposts (this is the link of post after last visit)
The links with problems have that address: http://localhost/modules/mx_tinies/view_topics.php?report_id=unread (this is the link of the messages not read).
 
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 10, 2004 12:49 am    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

Woodstock wrote:
how i put the parameters under the welcome block setting?

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.


...or you can apply the small MOD I posted in the other topic (use mx_message_die instead of message_die).

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Woodstock
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 9
Location: Italy

PostPosted: Tue Aug 10, 2004 1:32 am    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

Don't work... Crying or Very sad 
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 10, 2004 1:58 am    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

Woodstock wrote:
Don't work... Crying or Very sad

Question

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Woodstock
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 9
Location: Italy

PostPosted: Tue Aug 10, 2004 10:33 am    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

I have make the changes, but the two pages don't change...

another problem and another request:
i want to change the welcome text for guests ("Not a member? Click here and Register Now!"). I tried to change the register message into the welcome block, but the message don't change...
Is possible put a logout link into the welcome block?
 
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 10, 2004 11:51 am    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

Woodstock wrote:
I have make the changes, but the two pages don't change...

Still confused here. I suggested you 2 approaches:
a) Change message_die by mx_message_die.
b) Create a new page for the view_topics block.

If by "make changes" you mean (a), then try (b). It should work.


OFFTOPIC! --- markus wrote:
Woodstock wrote:
another problem and another request:

I can split a topic, but I can't split a post. So, please, open new topics for both. I believe it will help to keep things much better organized for other people asking similar questions.

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Woodstock
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 9
Location: Italy

PostPosted: Tue Aug 10, 2004 6:54 pm    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

markus_petrux wrote:
Woodstock wrote:
I have make the changes, but the two pages don't change...

Still confused here. I suggested you 2 approaches:
a) Change message_die by mx_message_die.
b) Create a new page for the view_topics block.

If by "make changes" you mean (a), then try (b). It should work.

I tried to change message_die: the only change is the cellpic that now i see.
I tried a making new page: nothing happens...

The settings are right? view topics page: type html pred. impost.: 5 function: blank
 
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 10, 2004 7:20 pm    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

Well, it seems the place where you set the page number was wrong.

Glad to see it works, now. Wink


PS: Solved via chat.

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
Woodstock
Apprentice
Apprentice


Joined: 09 Aug 2004
Posts: 9
Location: Italy

PostPosted: Tue Aug 10, 2004 7:30 pm    Post subject: Re: View_Topics error - Could not obtain the block configura Reply with quote

Thank you again for your great patience Very Happy Very Happy Very Happy 
Back to top
View user's profile Send private message Visit poster's website
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