If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Messages posted by: Anonymous
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Author Message
try this

/home/httpd/vhosts/nuttelozeinformatie.nl/httpdocs/vote/db/

I mean

<?php
include_once "/home/httpd/vhosts/nuttelozeinformatie.nl/httpdocs/vote/db/poll_cookie.php";
?>

<html>
<body>
<?php
include_once "/home/httpd/vhosts/nuttelozeinformatie.nl/httpdocs/vote/db/booth.php";
echo $php_poll->poll_process(4);
also i got this error:

Warning: mysql_connect(): Too many connections in /home/stadiosk/public_html/guestbook/lib/mysql.class.php on line 30
Connection Error
--------------------------------------------------------------------------------

MySQL Error : Connection Error
Error Number: 1040 Too many connections
Date : Mon, May 10, 2004 23:15:36
IP : 200.64.231.160
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; DigExt)
Referer : http://www.mypage.com/entrada.php
PHP Version : 4.3.5
OS : Linux
Server : Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.5 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.7a
Server Name : www.mypage.com
Hi I had problems initially but its working great now. First thing you need php at least version 4.3.6 for Win32. It comes with GDN support. Open php ini in notepad or similar and un comment the line for gnd and save.Edit config.inc . Give name to database ect. If you have PHPadmin you can make your database easlily. I use IBserver which has apache,MysSQL.PHP admin intergrated its great. Anyway best of luck
I am trying to make the poll dynamic based on a variable set in the path of the page.

Here is how I'm passing the variable:http://www.xyz.com/poll/db/test.php?ThePollValue=10&ThePollSize=10

THE PROBLEM:
I get the poll questions, but when I click on "view results" or "vote" I lose the variable value and get the following error: "Poll ID does not exist. "

Here is the code in my php page:

<?php

$string = $_SERVER['QUERY_STRING'] ;
$var = explode("&", $string);
$varA = explode("=", $var[0]);
$ThePollValue = $varA[1];
$ThePollSize = $varA[2];

$ThePollValuePass = strval($ThePollValue);

/* path */
require "./booth.php";

$php_poll = new poll();

$php_poll->set_template_set("plain");
$php_poll->set_max_bar_length($ThePollSize);
echo $php_poll->poll_process($ThePollValuePass);

?>
I appreciate the free scripts....but they are complicated and prone to bugs. With that in mind.....some support would be in order.

This is hands down ...... THE WORST.....forum I have ever come across for help. I posted for days and never got 1.....response.

I see that I am not alone.

Im warning those of you looking for help....look elsewhere.....you are wasting your time here!!!
Hi, I am using Advanced Guestbook right now. It's very good, but I have one question. At the top, it says:

"Thank you for stopping by my site. Here you can leave your mark."

How can I change this text?
Is there a way for me to integrate this guestbook into my layout?

Thanks!
Hi can anybody help me as I can't get it to work. Got perl set up and edited Stat.pl and Log.pl as readme. Pasted Java script in my main index htm and edited paths ect. I am using Apache to try out the program
hey i put the guestbook script in my page, so, it worked good for the first days then i got this error:

Query Error
--------------------------------------------------------------------------------

MySQL Error : Query Error
Error Number: 1030 Got error 28 from table handler
Date : Sun, May 9, 2004 06:52:59
IP : 200.64.231.249
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; DigExt)
Referer : http://www.mypage.com/
PHP Version : 4.3.5
OS : Linux
Server : Apache/1.3.29 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.5 FrontPage/5.0.2.2634 mod_ssl/2.8.16 OpenSSL/0.9.7a
Server Name : www.mypage.com


what can be wrong ?
I want to have to where if somone posts a picture....that it will be displayed on the left side of the table (where the name and email is) rather than displaying on the right side (where the comments are). Does anybody know how to do this? Any help is greatly appreciated.
I have a problem...

I want to put 2 polls on my site but one of them must have 150px width and the second one 120px width

is it possible to do it?
I can't get the thing to work. I have been staring at the "error" default for some time now. I'm assuming that if I am seeing an "error" I have something right and it is not a database error. Although I'm really new to this so I really need help. Am I missing something?
Any help would be greatly apprieciated.

Gypsy
Hallo,

ich setze Advanced Poll 2.02 ein und verzweifle an der Template-Systematik. Da stehen überall Font-Tags drin und sonstige Formatierungen... Mal abgesehen davon, dass vieles davon deprecated ist, es sieht einfach scheusslich aus. Ich habe eine Site, wo die Benutzer sich ihr Layout selbst wählen können, da darf im HTML-Markup einfach keine Formatierung mehr stehen. So ist es nicht mal möglich, der Tabelle einfach keine Hintergrundfarbe zu geben.

Ich habe alles aus den Templates gelöscht, was ich finden konnte, aber an einige Sachen komme ich einfach nicht ran, weil sie über die Datenbank eingefügt werden: die Formatierung, die über "allgemeine Einstellungen -> Tabellen, Schrift und Farbe" eingefügt werden und bei der Ausgabe der Ergebnisse wirksam werden. Ich habe mich schon durch die Datenbank-Tabellen gewühlt, in der DB ist es die Tabelle poll_config, in der diese Angaben gespeichert werden, aber an welcher Stelle ich in welchem PHP-Script etwas ändern muss, damit diese speziellen Daten aus der Tabelle nicht eingefügt werden, weiss ich nicht. Alle kann ich auch nicht killen, manche sind ja durchaus sinnvoll. Ich möchte nur die Formatierung löschen und stattdessen eine Klasse für das Stylesheet setzen.

Ich hoffe, es kann jemand helfen, sonst bin ich am Ende gezwungen, das Tool zu entfernen und mir ein anderes zu suchen, das flexibler ist.
The jump menu for navigating between pages within the Guestbook 1.5 isn't working. Any one have any ideas? Cheers

Error:

"A Runtime Error
Line 53
Error: Object Expected" (in IE, nothing in Mozilla)

Guestbook is here:

http://www.ifrider.com/book/guestbook.html

From the perls script:

# name of guestbook files
$book_file = "guestbook.html";
$id_count = "guest_id.txt";
$page_count = "page_id.txt";
$sample = "template.html";

# name of thread pages -> guest-1.html, guest-2.html, etc.
$sub_page = "guest-";

# this variable is used to find the jump menu
$jump_menu = "<option value=\"guestbook.html\" selected>Guestbook</option>";

# image files
$arrow_img = "point.gif"; # if not in same dir with guestbook.html
$mail_img = "mail.gif"; # specify correct url for each file
$url_img = "url.gif";
hallo an alle!

als erstes noch einmal sagen will das guestbook ist super!

bei meiner ersten homepage funktioniert alles einwandfrei.

jetzt habe ich eine neue homepage gemacht und das alte guestbook so wie es ist auf den neuen server installiert - danach die neuen sql daten eingegeben. die rechte vergeben ....

das funktioniert auch alles - nur ich habe auf einmal ein problem beim bild upload. wenn jemand einen beitrag schreibt und ein bild einfügt und auf vorschau geht - ist nur der text zu sehen - kein platzhalter mit dem roten X oder bild - einfach der text erscheint linksbündig.

kann mir jemand sagen was der grund ist?

danke noname
Hello - I've got a poll running on my site but when I vote I get this error

Warning: Cannot modify header information - headers already sent by (output started at /home/andrer/public_html/MainFrame.php:2) in /home/andrer/public_html/poll/poll_cookie.php on line 21

my test page is here

http://www.technicallyoverboard.com/MainFrame.php

anyone have any ideas? ... the poll works fine- I can't make it live though with that error showing up...

help!
 
Forum Index » Profile for Anonymous » Messages posted by Anonymous
Go to:   
Based on the open source JForum