[x] Navigation

[x] Languages

[x] Design
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.

Some small errors & requests

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 Page     Forum Index ›  Guestbook 4U

View previous topic :: View next topic  
Author Message
yatesburg
Investigator
Investigator

Offline Offline
Joined: Jun 14, 2004
Posts: 14
Location: High Wycombe, UK
PostPosted: 16.06.2004 17:28
Post subject: Some small errors & requests

Hi

In lang_english.php line 169
define("_CONFIRMTXT", "We´ll publish your entry after its checked. ---etc.
changed to
define("_CONFIRMTXT", "We will publish your entry after its checked. ---etc.

In Admin Entry-Check
Array:
Fatal error: Call to undefined function: decode_bbcode()
in /myserverpath/admin/modules/guestbook4u.php on line 377

In Admin Edit (edit a message)
Array:
Fatal error: Call to undefined function: decode_bbcode()
in /myserverpath/admin/modules/guestbook4u.php on line 602

In lang-english.php line 36 change the spelling of entrys to entries.
In lang-english.php line 101 change the spelling of controll to control.
In lang-english.php line 137 change the spelling of allready to already.

It would be nice if visitors could select the number of records per page.

Sorry for the large number of problems, please accept that I am interested in the project.
If you wish further checks then please ask me.

_________________
ttfn BoB
nnnn

yatesburg please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website Photo Gallery
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 16.06.2004 20:44
Post subject: Re: Some small errors & requests

you are welcome

thanx for debugging

Array:
In Admin Edit (edit a message)
Quote:
Fatal error: Call to undefined function: decode_bbcode()
in /myserverpath/admin/modules/guestbook4u.php on line 602 [/quote

which version guestbook4u you use?

in guesbook4u.php in
function Guestbook4UEditEntry($id)

under require_once ("header.php");
this line should come !!
require_once("includes/nbbcode.php");[/b]

do you have this line?


rgds
ertan


Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
yatesburg
Investigator
Investigator

Offline Offline
Joined: Jun 14, 2004
Posts: 14
Location: High Wycombe, UK
PostPosted: 16.06.2004 21:56
Post subject: Re: Some small errors & requests

Hi

There is only one instance of "require_once" in guestbook4u.php, line 501.
Array:
function Guestbook4USubmitEntry($id)
{
global $hlpfile, $admin, $bgcolor2;
global $module_name, $gbook4uinfo;
global $db, $dbtable,$prefix;
require_once("includes/nbbcode.php");

No entry "require_once" in:-
Array:
function Guestbook4UDeleteEntry($id)
{
if (!$id)
{
header('Location: '.adminlink('Guestbook4UAdmin').'');
}
global $hlpfile, $admin, $bgcolor2;
global $module_name;
include ("header.php");

GraphicAdmin('_AMENU9');

The version is Guestbook 4U version 0.8 downloaded on the 14th June with the link you provided.

HI YATESBURG,

download aktuall version here :
cpgnuke.de/index.php?n...amp;lid=21

uninstall old version - clear table and delete files


then make a fresh install with new version


Hope this helps.

_________________
ttfn BoB
nnnn

yatesburg please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website Photo Gallery
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 17.06.2004 00:01
Post subject: Re: Some small errors & requests

hi bob.

i uploaded a full new version (15.6.2004 23:13)

www.cpgnuke.de/index.p...amp;lid=21

no database change needed only overwrite files

feedback Wink

rgds ertan


Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
yatesburg
Investigator
Investigator

Offline Offline
Joined: Jun 14, 2004
Posts: 14
Location: High Wycombe, UK
PostPosted: 17.06.2004 13:59
Post subject: Re: Some small errors & requests

Hi Ertan

lang_english.php, change entrys to entries on line 36 & 37.

I had to comment line 29 in index.php to get it to work, your recommendation in a previous post.

Sign guestbook
..enter details
....preview
......goback - all entered details removed.

Second attempt - all entered details remain.

Guestbook administration
take a look here link returns 'Sorry, such file doesn't exist'

When in [admin] [entry-check]
..click on [edit]
....there are two buttons [edit] & [go back]
[edit] returns this error
Array:
On /cpg/admin.php?op=Guestbook4UDisplayEntry&id=$id
While executing query "SELECT id, name, email, url, date, host, comment, user FROM cms_guestbook4u_queue WHERE id = "

the following error occured: You have an error in your SQL syntax near '' at line 1
Viewing entries - all have the same ident number
clicking on [next page] link returns 'Sorry, such file doesn't exist'

_________________
ttfn BoB
nnnn

yatesburg please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website Photo Gallery
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 17.06.2004 15:40
Post subject: Re: Some small errors & requests

check downloads i updated the zip

only overwrite files

only this bug left:

Sign guestbook
..enter details
....preview
......goback - all entered details removed.


feedback
Wink


Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
yatesburg
Investigator
Investigator

Offline Offline
Joined: Jun 14, 2004
Posts: 14
Location: High Wycombe, UK
PostPosted: 17.06.2004 17:43
Post subject: Re: Some small errors & requests

Hi Ertang - latest downloaded and uploaded to site.

Guestbook entry numbers.

These are correct whilst logged in as admin (god).

When viewed as a visitor or logged in as a member - all entries have the same number as the highest one on the page.

_________________
ttfn BoB
nnnn

yatesburg please enter your server specs in your user profile! Crying or Very sad
Back to top
View user's profile Visit poster's website Photo Gallery
Ertan
Webmaster
Webmaster

Offline Offline
Joined: Mar 19, 2004
Posts: 1264
Location: Germany
PostPosted: 17.06.2004 18:25
Post subject: Re: Some small errors & requests

thanx again bob,

yes a small bug;-)

in index.php line 182 : $g_id--;

move it before
line 185
PHP:
echo "<br />";

shoul look like :
PHP:

$g_id
--;
echo
"<br />";


download updated


Ertan's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Send e-mail Visit poster's website Photo Gallery
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 Page    Forum Index ›  Guestbook 4U
Page 1 of 1
All times are GMT + 1 Hour



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 cannot download files in this forum




Interactive software released under GNU GPL, Code Credits, Privacy Policy