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 
Advanced poll for a php dummy  XML
Forum Index » Support Forum
Author Message
Anonymous



Is there any way to get the Advanced Poll to work within a *.shtml file? I have SSI's, and my hosting company only scans for SSIs on files with .shtml extensions. Therfore, I think I need to keep the .shtml extension. At the same time, I want to add the advanced poll, except I have read some things about the poll which said that you must use a *.php extension in order for it to work. Any help? Thanks!

Jeff Snyder
http://www.TornadoCentral.com
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

looks at teh demo polls on the free scripts page under adv. poll.
Specifically demo poll 5, that's the one you want.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Thanks Auron...
However, it does't work... I get the "An error occurred while processing this directive". I currenlty have just after the bottom </body> tag, just as I have for my other SSI (the copyright bar/footer). Any help? Thanks!

Jeff Snyder
Http://www.tornadocentral.com
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Don't put it outside the <body> tags???

&tpl_set=simple remove that and see if it works.

If not i'm not sure whats up with it. Have you got all the
necessary files uploaded for the SSI stuff for the poll?

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Auron wrote:Don't put it outside the <body> tags???

&tpl_set=simple remove that and see if it works.

If not i'm not sure whats up with it. Have you got all the
necessary files uploaded for the SSI stuff for the poll?

Auron


Yes, the SSI is outsite the <body> tag. I have it placed just after the </body> tag (close body)... The SSI immediately after this poll_ssi works just fine.

All of the necessary files should be up and ready to go. I have messed around with the location of these, though, as there doesn't seem to be a detailed installation how-to. I currently have it "pollphp" folder set up inside my www (publichtml) folder, with the remaining structure exactly how it is when you download and unpack the script from this site... I must be missing something somewhere...

Thanks!

Jeff Snyder
www.TornadoCentral.com
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

do you have the correct path to the poll file?
does you server have php?

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Yes, server has php (as evidenced by the fact that the 'admin' page works). The path as it's set up to be right now is www/pollphp/textfile/{all other folders and files exactly as from download}.

I haven't changed any of the actual php files, so do I need to add/delete/change anything to account for the actual folder structure?

Jeff
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

Which setup are u using - db or textfile?
I presume textfile.

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
Anonymous



Yes, I am using textfile. I've been messing around with everything for a while, but still haven't gotten anywhere... I'm still trying though.... Thanks!

Jeff S.
Anonymous



Ok... I have no idea what I did, but it is working now. Thanks Auron for your help!

Jeff Snyder
http://www.tornadocentral.com
Auron
Expert
[Avatar]

Joined: 23/06/2003 22:02:17
Messages: 1053
Offline

no problem, glad it works now!

Auron

Visit my site @ www.ragnaru.com
Adv. Poll Install Guide NOW BACK ONLINE! (And also rather out of date I would of thought)
[Email] [WWW]
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum