[SOLVED] Guestbook not displaying properly

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

[SOLVED] Guestbook not displaying properly

Post by djkirstyjay »

Hi there,

Appologies if this has been mentioned elsewhere, however I did seash before posting and nothing came up.

The guestbook on one of the sites I have CMSMS on is not working.
Basically, it is causing the page to show as if it has no CSS.

HERE is a link to the page so you can see for yourself. Warning... it seems to also take a hell of a long time to load, which also indicates to me that there's something amiss.

I have just upgraded a site to the latest CMSMS 1.9.4.2 "Faanui" and the latest Guestbook 1.3.2 in order to see if that was the issue, but it's still the same.

I have also tried the guestbook as both a content type and as the smarty tag in the usual content area. No joy.

Does anyone have any suggestions that might shed some light on it?

I have comments in the guestbook, so I was a bit reluctant to uninstall and reinstall if it's not necessary.

Thanks in advance :)
Last edited by djkirstyjay on Thu Aug 18, 2011 10:31 pm, edited 1 time in total.
User avatar
opawaldburger
Forum Members
Forum Members
Posts: 94
Joined: Tue Nov 04, 2008 2:10 pm

Re: Guestbook not displaying properly

Post by opawaldburger »

Thank you! I didn't want to post that again, since I've already had a lot of troubles with previous versions of the guestbook module. Now again!

Got the same module and core version as you, mine looks like this:
http://benjamin-karl.com/cms/de/gaestebuch/

Would be great if someone could help.

-opa
uniqu3

Re: Guestbook not displaying properly

Post by uniqu3 »

Turn debug mode in config.php to see if there are any errors?
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: Guestbook not displaying properly

Post by djkirstyjay »

Debug mode on... I get the following :
Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_prev.php on line 34

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_prev.php on line 39

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_prev.php on line 43

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_middle.php on line 56

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_middle.php on line 61

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_middle.php on line 63

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_middle.php on line 64

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_middle.php on line 65

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_next.php on line 34

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_next.php on line 39

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_next.php on line 43

Notice: Undefined variable: paginate in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/modules/Guestbook/plugins/function.paginate_next.php on line 43

Fatal error: Cannot use object of type GuestbookEntry as array in /home/1/s/sh/shb3_150/9plusonline.com/public_html/electric-installation-survey-inspection-law-tenerife/tmp/templates_c/Guestbook^%%E5^E56^E5636B77%%module_db_tpl%3AGuestbook%3Bguestbook-entrylist.php on line 30
User avatar
opawaldburger
Forum Members
Forum Members
Posts: 94
Joined: Tue Nov 04, 2008 2:10 pm

Re: Guestbook not displaying properly

Post by opawaldburger »

Turn debug mode in config.php to see if there are any errors?
Nope, no errors here...

Special thing is, that the source-code starts with the </__body>-tag...
uniqu3

Re: Guestbook not displaying properly

Post by uniqu3 »

Ok i just tried it on my local install it looks like when using Guestbook as content type leads to a problem when entries are paginated.
Using {cms_module module="Guestbook" number=5 number='1' shownow=1 smiley=0 dateformat="%d-%m-%Y %H:%M"} worked however for me.
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: Guestbook not displaying properly

Post by djkirstyjay »

uniqu3 wrote:Ok i just tried it on my local install it looks like when using Guestbook as content type leads to a problem when entries are paginated.
Using {cms_module module="Guestbook" number=5 number='1' shownow=1 smiley=0 dateformat="%d-%m-%Y %H:%M"} worked however for me.
As I said in my original post, I have tried using the smarty tag (as you just posted) in the normal content type too. I get the error either way. In fact, as the moment that is how the guestbook is set up and it's not working now.

EDIT > This is the smarty code I have on the page :

{cms_module module="Guestbook" number=5 shownow=0 smiley=0 mailnoti=email@site.com dateformat="%d-%m-%Y %H:%M"}
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: Guestbook not displaying properly

Post by djkirstyjay »

uniqu3 wrote:Ok i just tried it on my local install it looks like when using Guestbook as content type leads to a problem when entries are paginated.
Using {cms_module module="Guestbook" number=5 number='1' shownow=1 smiley=0 dateformat="%d-%m-%Y %H:%M"} worked however for me.
Just pasted in your code to see if there was any difference... none :(
uniqu3

Re: Guestbook not displaying properly

Post by uniqu3 »

What is actually in tmp/templates_c/Guestbook^%%E5^E56^E5636B77%%module_db_tpl%3AGuestbook%3Bguestbook-entrylist.php on line 30?

Or can you paste your Guestbook template?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Guestbook not displaying properly

Post by Rolf »

Reset all guestbook templates to the default value.
That will do the trick.

grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
djkirstyjay
Forum Members
Forum Members
Posts: 206
Joined: Tue Oct 25, 2005 4:50 pm

Re: Guestbook not displaying properly

Post by djkirstyjay »

Thanks Rolf! That did it. The original templates had not been modified, but they must have changed in the upgrade, ao I did not think of that :)
User avatar
opawaldburger
Forum Members
Forum Members
Posts: 94
Joined: Tue Nov 04, 2008 2:10 pm

Re: [SOLVED] Guestbook not displaying properly

Post by opawaldburger »

It's a kind of magic... :)

Thanks, Rolf and Goran!
IvanVersluis
New Member
New Member
Posts: 6
Joined: Fri Aug 15, 2008 10:47 am

Re: Guestbook not displaying properly

Post by IvanVersluis »

Rolf wrote:Reset all guestbook templates to the default value.
That will do the trick.

grtz. Rolf
Bedankt/thanks Rolf!

After resetting all guestbook templates my fatal error issue was solved. I was running older version of CMSMS and upgraded to 1.9.4.2.

I don't know what happened with the latest upgrade but most of the Guestbook templates were changed after I reset them to default. My modifications were little.
Post Reply

Return to “Modules/Add-Ons”