Author |
Message |
20/01/2010 02:24:45
|
username
Beginner
Joined: 20/01/2010 02:10:36
Messages: 8
Offline
|
Ive made a page that works on the test-server on my own pc.
But the polls doesnt work on one host...
2 problem:
1: I see the colored bars only for the first poll !
2: The first 2 polls are big (demo4) and they display correctly....
The other polls should be small(demo 1, 1st) but they are big, just without the comments...
Look like it inerhit the "$php_poll->set_template_set("plain");" attribute
from the big ones.
Any ideas ?
|
|
20/01/2010 16:40:37
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Did you do a fresh install on the server or just copied everything from the test server ?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
20/01/2010 21:27:04
|
username
Beginner
Joined: 20/01/2010 02:10:36
Messages: 8
Offline
|
Fresh installation. All inside the Poll folder and the db is new.
|
|
20/01/2010 21:44:22
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Got a link?
Probabaly be tomorrow before I get to have a look.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
20/01/2010 22:09:34
|
username
Beginner
Joined: 20/01/2010 02:10:36
Messages: 8
Offline
|
dunno... im shy...
the code is the same of the demos...
|
|
20/01/2010 22:17:19
|
username
Beginner
Joined: 20/01/2010 02:10:36
Messages: 8
Offline
|
I forgot a thing about the 2nd problem:
If i add the line "$php_poll->set_template_set("simple");" to the small
polls, it works they look like the demo1, 2nd ! but i dont like it, i want the basic version(demo1, 1st)
And a question, what is better to set Register Globals for your script, on or off ?
|
|
20/01/2010 22:28:50
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
Register globals should be off to prevent the possibility of security risks. This is why it comes turned off by default.
I'm not that familiar with the Poll script. That's more Auron's area and I'm more guestbook and general PHP. You can always PM me the link if you wish.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
22/01/2010 01:35:14
|
username
Beginner
Joined: 20/01/2010 02:10:36
Messages: 8
Offline
|
Ok I am an idiot! I fixed the first problem: I just havent set the color when creating the poll... If someone doesnt set the colors shouldnt it be random or 1 standard color ? ...anyway...
OK, lets go on with the second problem !
|
|
22/01/2010 12:00:21
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
You checked the templates ?
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
22/01/2010 15:24:15
|
username
Beginner
Joined: 20/01/2010 02:10:36
Messages: 8
Offline
|
what do you mean ?
|
|
22/01/2010 15:29:51
|
Carbonize
Master
Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline
|
See if it's not something in the templates making it big.
|
Carbonize
I am not the maker of the Advanced Guestbook
get Lazarus |
|
22/01/2010 23:49:48
|
username
Beginner
Joined: 20/01/2010 02:10:36
Messages: 8
Offline
|
I didnt modified the templates...
|
|
23/01/2010 00:18:41
|
username
Beginner
Joined: 20/01/2010 02:10:36
Messages: 8
Offline
|
I fixed the second problem !
I just added the line
once before the 3 small polls and after the 2 big ones.
funny cos i didnt needed that line when the site was running on the old server...
Ok, thankyou carbonize anyway
|
|
|