| Author |
Message |
|
|
|
No luck im afraid, i uploaded a fresh lib/gb.class.php file and it still shows the error.
|
 |
|
|
|
Maybe the solution is to just not answer these posts - and see how long they stay "chilled out" before they decide to do a search.
|
 |
|
|
What PHP code would you put there? I put my
<?php
include_once "/usr/home/zareba/public_html/poll/booth.php";
echo $php_poll->poll_process(4);
?>
There and it didn't work.
|
 |
|
|
hello
the link is http://www.moto-art-bollhalder.ch
and then "gästebuch"-link
|
 |
|
|
Thnaks for the heads up, but....
Yes we do know how to fix it. Right up above is alittle button called SEARCH
^ chill out man ..
|
 |
|
|
|
the guestbook works, but if you want to add a new entry, the error message appears that no name was entered. please help! i have added manually in the mysql-table some old entries, the rest was left unchanged.
|
 |
|
|
i got the script for the advanced guestbook but im not sure how to install it. so i need to alter the code's at all, would someone please help me out.
thanx
Jon
|
 |
|
|
I forgot the password(or username) to my guestbook
is there anyway to retrive it?
|
 |
|
|
Can I make a poll that is 2+ questions long? I got into the admin stuff, changed the password, etc. Got the graphics to load. I just got a poll to load on my webpage.
Please help me make a survey w/ 2 or more questions with only one submit button.
thanks.
|
 |
|
|
ok, ... I´ve just heard you are currently away ... meanwhile I´ve found the following line:
$GB_PG["base_url"] .= "/modules/$ModName";
...it´s in my "guestbook.php"
|
 |
|
|
unfortunately I am not able to find that phrase:
<?php
/* database settings */
$GB_DB['host'] = 'localhost';
$GB_DB['dbName'] = 'usr_XXX';
$GB_DB['user'] = 'XXX';
$GB_DB['pass'] = 'XXX';
/* tables */
$GB_TBL['data'] = 'book_data';
$GB_TBL['auth'] = 'book_auth';
$GB_TBL['cfg'] = 'book_config';
$GB_TBL['com'] = 'book_com';
$GB_TBL['ip'] = 'book_ip';
$GB_TBL['words'] = 'book_words';
$GB_TBL['ban'] = 'book_ban';
$GB_TBL['priv'] = 'book_private';
$GB_TBL['smile'] = 'book_smilies';
$GB_TBL['pics'] = 'book_pics';
/* guestbook pages */
$GB_PG['index'] = 'guestbook.php';
$GB_PG['admin'] = 'admin.php';
$GB_PG['comment'] = 'comment.php';
$GB_PG['addentry'] = 'addentry.php';
$GB_PG['indexforum'] = 'index.php';
/* guestbook templates */
$GB_TPL['adm_enter'] = 'admin_enter.tpl';
$GB_TPL['body'] = 'body.tpl';
$GB_TPL['entry'] = 'entry.tpl';
$GB_TPL['error'] = 'error.tpl';
$GB_TPL['form'] = 'form.tpl';
$GB_TPL['preview'] = 'preview.tpl';
$GB_TPL['prev_entry'] = 'preview_entry.tpl';
$GB_TPL['header'] = 'header.tpl';
$GB_TPL['footer'] = 'footer.tpl';
$GB_TPL['icq'] = 'icq.tpl';
$GB_TPL['url'] = 'url.tpl';
$GB_TPL['aim'] = 'aim.tpl';
$GB_TPL['com'] = 'com.tpl';
$GB_TPL['email'] = 'email.tpl';
$GB_TPL['success'] = 'success.tpl';
$GB_TPL['frm_icq'] = 'form_icq.tpl';
$GB_TPL['frm_aim'] = 'form_aim.tpl';
$GB_TPL['frm_gender'] = 'form_gender.tpl';
$GB_TPL['frm_image'] = 'form_image.tpl';
$GB_TPL['com_pass'] = 'com_pass.tpl';
$GB_TPL['com_form'] = 'comment.tpl';
$GB_TPL['image'] = 'user_pic.tpl';
/* misc */
define('IS_MODULE', false); /* running as POST-Nuke 0.x or PHP-Nuke 5.x addon? */
$DB_CLASS = 'mysql.class.php';
$TEC_MAIL = 'bp135@bigfoot.com';
$GB_UPLOAD = 'public';
$GB_TMP = 'tmp';
?>
|
 |
|
|
...
$agent=substr($agentAll, 0 , 69 );
|
 |
|
|
Problem:
I try to send comment, but database wont accept it.
Sollution:
browser field in database is omited on 70 chars. Some browsers (Mozilla firefox 0.9.2) generate string with more than 70 chars so Insert script get error.
open include/class_pollcomment.php
search for string $agent
replace line
$agent=@getenv("HTTP_USER_AGENT");
with
$agentAll=@getenv("HTTP_USER_AGENT");
$agent=substr($agent,0.6 ;
This will trim string to 69 characters
|
 |
|
|
I was wondering how I would go about changing the poll results. Instead of having the the bar next to the selection I would like to change it to do a (break) then show the bar.
so instead of :
choice1 - ||||||||
choice2 - |||
choice3 - |||||||||||||
i would like :
choice1
||||||||
choice2
|||
choice3
|||||||||||||
|
 |
|
|
Hi!
When I click on template button in 6 button menu I get error message like this:
....
Warning: pg_exec(): Query failed: ERROR: invalid input syntax for integer: "" in /usr/local/htdocs/secure/https.www.ekonerg.hr/Anketa/include/class_pgsql.php on line 55
Query Error
MySQL Error : Query Error
Message : ERROR: invalid input syntax for integer: ""
Date : Tue, October 12, 2004 10:32:04
....
I use Postgresql database 7.4.1 and I have make changes in class_pgsql.php
...
function query($query_strg)
{
$query_strg = eregi_replace("limit ([ 0-9]+]),([ 0-9]+)", "LIMIT \\2 OFFSET \\1", $query_strg);
.....
}
|
 |
|
|