| Author |
Message |
|
|
Ich hab heute den Advanced Poll ohne Probleme istalliert, konfiguriert und die Umfrage in eine *.php eingebaut und über ein iFrame mit meiner Homepage verlinkt.
Allerdings hab ich dabei zwei Probleme entdeckt zu denen ich auch im Forum (auf Deutsch und Englisch) keine Lösung gefunden habe. Ich habe bei den Umfragen zuerst mal das default-Template verwendet und obwohl die Vorschau des Templates im Admin Bereich ganz normal ausgesehen hat(alle Spalten links ausgerichtet) sieht die fertige Umfrage (egal ob über iFrame oder direkt aufgerufen) wild durcheinander gewürfelt aus. Manche Zeilen sind auf einmal rechts ausgerichtet, manche sind auch zentriert... Keine Ahnung wie ich das beheben kann...
Das zweite Problem ist dass ich trotz alles Einstellungen im Admin-Bereich (bei der Umfrage "loggen aus", bei Einstellungen "keine Überprüfung" Zeitlimit "0 Stunden" nicht in der Lage bin mehrmals für eine Umfrage zu voten.
Der Poll ist frisch installiert und bis auf minimale Einstellungen im (alles eingedeutscht) hab ich an keinem Script / php-File rumgebastelt.
Ihr könnt Euch das Ganze auch gerne unter http://areafw.funpic.de/poll/poll1.php
selbst anschauen...
Bin für jede Antwort dankbar...
VG AreaFW
|
 |
|
|
I also tried the above, and get this error:
Query Error
MySQL Error : Query Error
Error Number: 1064 You have an error in your SQL syntax near 'http://faithtabernacleupc.net, 20' at line 1
Date : Sat, June 26, 2004 20:05:38
IP : xx.xxx.xxx.xxx
Browser : Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; MyIE2)
Referer : http://www.faithtabernacleupc.net/Guestbook/index.php
PHP Version : 4.3.6
OS : FreeBSD
Server : Apache/1.3.28 (Unix) FrontPage/5.0.2.2510
Server Name : www.faithtabernacleupc.net
SYNTAX in my gb.class.php
function generate_JumpMenu() {
$menu_array[] = "<select name=\"entry\" class=\"select\">";
$menu_array[] = "<option value=\"http://faithtabernacleupc.net/\" class=\"select\">Home Page</option>"; (this is what I added)
$menu_array[] = "<option value=\"0\" selected>".$this->db->LANG["FormSelect"]."</option>";
Was this the correct place to put it?? I am totally new to this (as of this morning ...)
After making the changes, I did notice that in the status bar of IE6, after clicking the "GO" button, it says "Opening page: http://www.faithtabernacleupc.net/Guestbook/index.php" instead of the page I "thought" I requested...
Does this mean anything?
Thanks,
mastersmurfie
|
 |
|
|
Solution of my problem I find on this page when you talk about inserting cookies before anything else.
Thank you, Auron, for this help.
|
 |
|
|
Anonymous wrote:well, you can resize the poll in the admin pannel. and the code i used to put it in my main page is
<?php
include_once "/var/www/html/admin/db/booth.php";
echo $php_poll->poll_process("newest");
?>
you need the absolute path?
|
 |
|
|
Hi im pooped im now getting a blank page tried every step you said you siad copy the second pathh to the header php diong that and my page disapearss got to keep reloaded a back up copy ofthe header php file this crazy im going to try agian its just that every bodies explanation seems to miss some thing i dont seem to get Thanks what must i be doing wrong
man this is taking me the whole day got so much to do and this the worst no link back lolIm going to end up in the G House thats Gifted and nuts
|
 |
|
|
|
Hi all can some one give me an explained and understandable way for me to link my guest book to my homepage or make more links on the book to nav to different parts on my site i tried something from a post but it ended me up in error message something about me needing the rite syntax to put near the www.mydomain.com Thanks im going to pull my head off i just know it new to php .
|
 |
|
|
|
forgot to add, remove all links to the admin. otherwise it will show the new name for the admin file in the link
|
 |
|
|
Here is a very simple quick fix. Just rename the admin.php file to something different
for example
54RtFgvb.php
and then update line 25 in /admin/config.inc.php
|
 |
|
|
|
I'm guessing that nobody has an answer for this problem?
|
 |
|
|
Well maybe its because you are being generic in your bot terms. It wouldnt let me do it since I mentioned a specfic bot.
# robots, msnbot
User-agent: *
Disallow: /cgi-bin
Disallow: /gallery
Disallow: /index.html
Disallow: /images
Disallow: /public_html
If I added the backslash at the end it rejected mine.
|
 |
|
|
I been hacked into... can someone help???
Someone has hacked into my guestbook & changed my password, and changed the language settings.
What can I do to get back to where I need to be?
I have emailed the guys to this site here for help... and its been a couple times an no response from then at all...
here is the url:
http://classicgod.com/Forum/admin.php
Hope someone can help
|
 |
|
|
I don't see anything else showing guides or such information.
Are we required to register before we can access any information?
|
 |
|
|
well, you can resize the poll in the admin pannel. and the code i used to put it in my main page is
<?php
include_once "/var/www/html/admin/db/booth.php";
echo $php_poll->poll_process("newest");
?>
|
 |
|
|
|
portugal
|
 |
|
|
In case someone else finds this useful...
After the poll having worked just fine for months on end, I suddenly started receiving "connection error" along with the php error:
mysql_connect(): User xxx has already more than 'max_user_connections' active connections
The rest of the site is driven using php/mysql, and yet that was still working fine.
Turns out, that to fix the poll, I had to change line 31 of db/include/class_mysql.php from:
$this->conn_id = mysql_connect($this->db['host'].":".$this->port,$this->db['user'],$this->db['pass']);
to:
$this->conn_id = mysql_connect($this->db['host'],$this->db['user'],$this->db['pass']);
Still not sure what got changed on the server, possibly a minor php upgrade. Anyway, I'm happy, it's fixed!
|
 |
|
|