Page 1 of 1

Gastbuch with version 0.12.1

Posted: Sat Apr 29, 2006 12:46 pm
by Gregor
Hi,

Does anyone managed to get Gastbuch working with version 0.12.1??

Thnkx

Re: Gastbuch with version 0.12.1

Posted: Sat Apr 29, 2006 2:14 pm
by katon
What kind of problems do you have with it? can you describe?

Re: Gastbuch with version 0.12.1

Posted: Sun Apr 30, 2006 6:11 pm
by Gregor
Via ftp I copied the Gastbuch to th e Modules directory. Went to the Modules menu, activated Gastbuch. The menu changed to a tree structure. Went to the Content menu and recieved this error:
Fatal error: Cannot redeclare class gastbuch in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/modules/gastbuch/gastbuch.module.php on line 34

??? ??? ???

Re: Gastbuch with version 0.12.1

Posted: Sun Apr 30, 2006 10:59 pm
by katon
This only means that you have the class gastbuch declared elsewhere.  Maybe you have a copy of this module uploaded to a different directory?  Like gastbuch and Gastbuch.

Re: Gastbuch with version 0.12.1

Posted: Mon May 01, 2006 11:35 am
by Gregor
Ehhhh, I looked for the excistence of gastbuch somewhere else than in the Modules Directory, and did not found any other installations. Any suggestions what I can do?

Re: Gastbuch with version 0.12.1

Posted: Mon May 01, 2006 4:40 pm
by katon
Since I don't have access to your system to investigate the problem, the only thing I can recommend is go inside the gastbuch module php code and mass replace the word 'gastbuch' with, for instance, 'guestbook'.  Then rename the php file and the module directory respectively.  Of course, you would need to uninstall the gastbuch module before this.  Then install the new module.

Re: Gastbuch with version 0.12.1

Posted: Mon May 01, 2006 9:10 pm
by MichaelK
Maybe GMOD your module directory to 777.
I have also version 0.12.1 and this Gastbuch module and it works fine. The only thing I've changed is the filename into: Gastbuch instead of gastbuch (lowercase).


Try this and delete your cache, log-out en login again. Install it!
I hope it will work for you!

Re: Gastbuch with version 0.12.1

Posted: Tue May 02, 2006 5:11 am
by Gregor
I uninstalled gastbuch, removed all files from tmp/cache, uploaded the gastbuch files, did a CHMOD on the modules directory, installed gastbuch via the menu (no errors), went to the menu Content -> Guestbook, clicked on the menu item, a new Guestbook menu shows up, clicked on 'Add guestbook item', and the follwing error appears:

----------------------
Notice: Uninitialized string offset: 0 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/modules/FCKeditorX/FCKeditorX.module.php on line 252

Notice: Uninitialized string offset: 0 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/modules/FCKeditorX/FCKeditorX.module.php on line 255

Notice: Uninitialized string offset: 0 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/modules/FCKeditorX/FCKeditorX.module.php on line 315

Notice: Uninitialized string offset: 0 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/modules/FCKeditorX/FCKeditorX.module.php on line 323

Notice: Uninitialized string offset: 0 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/modules/FCKeditorX/FCKeditorX.module.php on line 330

Notice: Uninitialized string offset: 0 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/modules/FCKeditorX/FCKeditorX.module.php on line 339

Notice: Uninitialized string offset: 0 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/modules/FCKeditorX/FCKeditorX.module.php on line 344

Notice: Uninitialized string offset: 0 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/modules/FCKeditorX/FCKeditorX.module.php on line 348

Notice: Uninitialized string offset: 0 in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/modules/FCKeditorX/FCKeditorX.module.php on line 359
------------------------------

Under these error, I see a lay out form. So, we're moving ;)

Next, if i create a content page and enter {cms_module module="gastbuch" number="5"}, and show an example, than the Gastbuch page occurs in my website and I can click the button 'Add guestbook entry'. Once done, the follwing error occurs:

------------------------
Warning: fopen(/home/httpd/vhosts/uisge-beatha.eu/httpdocs/tmp/cache/cmspreviewRMnXal): failed to open stream: No such file or directory in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php on line 276

Warning: filesize(): Stat failed for /home/httpd/vhosts/uisge-beatha.eu/httpdocs/tmp/cache/cmspreviewRMnXal (errno=2 - No such file or directory) in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php on line 277

Warning: fread(): supplied argument is not a valid stream resource in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php on line 277

Warning: fclose(): supplied argument is not a valid stream resource in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php on line 278

Warning: unlink(/home/httpd/vhosts/uisge-beatha.eu/httpdocs/tmp/cache/cmspreviewRMnXal): No such file or directory in /home/httpd/vhosts/uisge-beatha.eu/httpdocs/lib/content.functions.php on line 279
------------------------


What could be the reason for these errors?

I have changed the en_US.php to a Dutch-version nl-NL.php Anyone who wants to test (due to the above reason, not able myself) and where may I upload it to?

Re: Gastbuch with version 0.12.1

Posted: Wed May 03, 2006 6:56 pm
by Gregor
In addition to this subject, I noticed that the errors do not show up when you visit the site. They show up when I want te edit a page (@ the moment the editor starts???)