Search the web
Sign In
New User? Sign Up
pn-mod-books
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Smarty Error   Message List  
Reply | Forward Message #904 of 908 |
Re: [pn-mod-books] Re: Smarty Error

Well the problem is clear : your random books block is not generating
the right url, for instance when I visited your website the link was :
http://bob.vancleef.org/modules.php?op=modload&name=books&file=index&bkid=47
And it should be :
http://bob.vancleef.orgindex.php?module=books&function=display&bkid=47
The first one is an "old style url" and it only works with "old style
PostNuke modules" (as were older books modules versions)
the second one is a "new style url" and is the only one to work with
books .76x and .8x
So why is your website not generating the right urls ?
- verify that there are no outdated books blocks files in
includes/blocks (You should have NO books files here !)
- verify that there are no outdated files in modules/books/pnblocks
(one way to tell that the random.php is generating the correct url is to
verify that it contain the line :
$booksitems[] = array('url' => pnModURL('books', 'user', 'display',
array('bkid' => $item['bkid'])),
- verify that the books_block_random.htm template in
modules/books/pntemplates is correct, it should be :
-------------------------------------------
<!--[* $Id: books_block_random.htm,v 1.1 2006/09/15 04:59:41 jmvedrine
Exp $ *]-->
<div style="text-align:center;">
<!--[section name="items" loop=$items]-->
<a href="<!--[$items[items].url]-->"><img
src="<!--[$items[items].cover|pnvarprephtmldisplay]-->" border="0"
alt="book cover"></a><br />
<a
href="<!--[$items[items].url]-->"><strong><!--[$items[items].title|pnvarprephtml\
display]--></strong></a><br
/>
<!--[/section]-->
</div>
-------------------------------------------
Try also to delete the block and to re-create it, sometimes it helps !
If all the files are correct it's more annoying because it's a rare case
of Postnuke faultly upgrade of an "old style module" to a "new style module"
and you will need to mail me so that I explain you how to correct the
problem using phpMyAdmin.

But try to locate an outdated file first because it's more likely to be
the cause of your problem. I have seems website with an atrocious mix of
new, old, and very old blocks files and this was causing a lot of problems !

Hope this will help you to fix this problem.
Jean-Michel Vedrine






Sun Apr 20, 2008 1:25 pm

jmvedrine
Offline Offline
Send Email Send Email

Forward
Message #904 of 908 |
Expand Messages Author Sort by Date

I was forced to move a key site to a new server and upgraded everything in the process, including upgrading to the SVN version of books. After running the...
Sakshale eQuorian
sakshale
Offline Send Email
Mar 28, 2008
5:46 am

... The key was copying the two files in the directory "modules/books/plugins for pnRender" to the folder "modules/pnRender/plugins". That magically cured the...
Sakshale eQuorian
sakshale
Offline Send Email
Mar 28, 2008
7:22 pm

The upgrade to the latest copy from subversion wasn't clean. I've gone through two different site upgrades so far, and both had the same results. 1 - When you...
Sakshale eQuorian
sakshale
Offline Send Email
Mar 30, 2008
5:35 am

... Hello, I was the developper of the books module. As you may know I doesn't do now a lot of Postnuke programming but I can certainly fix bugs when they are...
jmvedrine
Offline Send Email
Mar 30, 2008
8:18 am

Sorry.... For not replying sooner. I didn't see your reply until this evening. The problem is with the random book block. One site that I upgraded that can...
Sakshale Equorian
sakshale
Offline Send Email
Apr 20, 2008
1:55 am

Well the problem is clear : your random books block is not generating the right url, for instance when I visited your website the link was : ...
Jean-michel Védrine
jmvedrine
Offline Send Email
Apr 20, 2008
1:25 pm

Sorry there is a typo in one of my previous message's urls : http://bob.vancleef.orgindex.php?module=books&function=display&bkid=47 ...
Jean-michel Védrine
jmvedrine
Offline Send Email
Apr 20, 2008
1:31 pm

Well, I managed to break things completely. Note one -- like an idiot -- I didn't do a sql dump prior to messing around with things. (you know where this is...
Sakshale eQuorian
sakshale
Offline Send Email
Apr 22, 2008
4:07 am

Well, after regressing my database, I am back in business with books750RC4. I'll try another round of upgrading to the SVN daily when I get back from a...
Sakshale eQuorian
sakshale
Offline Send Email
Apr 22, 2008
4:19 am

great tx ... _____________________________________________________________________ Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! ...
jobst müller
floobee_man
Offline Send Email
May 24, 2008
3:35 pm
< Prev Topic  |  Next Topic >
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help