CMS MADE SIMPLE FORGE

Guestbook

 

[#7003] No compatible 1.10

avatar
Created By: rams (Rams)
Date Submitted: Mon Oct 24 04:46:48 -0400 2011

Assigned To: Gab.Matias (Gaby)
Version: 1.3.3.1
CMSMS Version: 1.10
Severity: Critical
Resolution: None
State: Closed
Summary:
No compatible 1.10
Detailed Description:
Fatal error: Call to a member function Execute() on a non-object in
/public_html/dev-beta/modules/Guestbook/lib/classes/module/class.Guestbook.php
on line 609


History

Comments
avatar
Date: 2011-10-24 17:27
Posted By: Gab.Matias (Gaby)

I'm not able to reproduce this bug.
Please add few informations about how you managed to get the error.

Thanks to report!
      
avatar
Date: 2011-10-25 07:17
Posted By: rams (Rams)

J'ai installé cmsms 1.10 + guestbook 1.3.3.1 + plugin last entry guestbook.

Le bug c'est produit comme ça :(
      
avatar
Date: 2011-10-26 05:48
Posted By: Stephan (10010110)

I can confirm this bug, it happens to me, too, with CMS version 1.10 and
Guestbook 1.3.3.1. I just upgraded both, at first the guestbook module, then the
CMS. Resetting all templates didn’t help either.
      
avatar
Date: 2011-10-26 07:24
Posted By: rams (Rams)

With the tag like this in my page that causes the bug:
{cms_module module="Guestbook" showaddform="1" mode="form" shownow="1" smiley=1
textleng="1200" captcha="1" hide_insertbutton_after_post="1"
mailnoti=test@test.com dateformat="%d-%m-%Y %H:%M"}

But captcha disable this m'affiche more fatal error.

{cms_module module="Guestbook" showaddform="1" mode="form" shownow="1" smiley=1
textleng="1200" captcha="0" hide_insertbutton_after_post="1"
mailnoti=test@test.com dateformat="%d-%m-%Y %H:%M"}

The problem is that: captcha = "1"


      
avatar
Date: 2011-10-30 05:37
Posted By: rams (Rams)

It is the function ModuleIsInstalled ($ modulename) problematic file
class.Guestbook.php

Can you fix this?

thank you

      
avatar
Date: 2011-11-07 14:55
Posted By: Gab.Matias (Gaby)

It's fixed!
The Guestbook class needed to be initialized (running the __construct method) to
get the DB's var defined.. So direct access need to be prohibited maybe like
with a private flag when function is declared.

Thanks for report!
      
Updates

Updated: 2011-11-07 14:55
state: Open => Closed

Updated: 2011-10-24 17:27
resolution_id: => 5