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 with SSI  XML
Forum Index » Support Forum
Author Message
Maglok
Newbie

Joined: 30/10/2004 17:43:09
Messages: 4
Offline

Hi,

I am trying to get advanced poll to work (textfile).
I am in a bit of a strange position though. I have written my site in shtml. So I can add SSI's. The menu on the left is an *.html file that I include. I want my poll there. So I add it to the html file and change the html from html to *.php. Should work fine. and it does. But clicking on results or voting (bringing up another page) does not work. See for yourself: http://maglokmedia.gameproc.com/orkz/index.shtml

It's a strange site I know Oh and most of it is in Dutch
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Not knowing exactly how you did it or much about server side includes, I don't know if this helps, but...

In looking at your source code, it is looking for the file named "menu.php" to display the results on, but the error message says it can't find any file named "menu.php" on your server.

Maglok
Newbie

Joined: 30/10/2004 17:43:09
Messages: 4
Offline

That would be what I thought was the problem. See a SSI embeds code in another file. Basically you tell a file to include something. If I tell my index.shtml to include a menu.php it means I just have to change the menu.php to change it on ALL pages that embed it. But the problem is, the script reloads the page with the results... but on it's own the menu.php does not qualify as html. Since it has no <HTML> tags, since it is just a piece of code inserted.

I am sure the writers thought of this somehow, cause they are talking about using includes as an option. But I haven't gotten that to work yet.
amber222
Graduate

Joined: 07/05/2004 21:13:07
Messages: 586
Offline

Maybe try the forum on Carbonize's website. They have a forum for help with scripts and other stuff.
Auron
Expert
[Avatar]

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

Look at the demo polls on this site and include them that way.
The results should work automatically.

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]
Maglok
Newbie

Joined: 30/10/2004 17:43:09
Messages: 4
Offline

Auron wrote:Look at the demo polls on this site and include them that way.
The results should work automatically.

Auron


I have taken a look at the demo's and the demo 5 (wich is SSI) will not work for my code. I include the include in an include. Main file -> SSI file -> poll file. It won't work.

For the other forum. Where would that be? I thought this would be the place to ask.
Maglok
Newbie

Joined: 30/10/2004 17:43:09
Messages: 4
Offline

YES got it! I was messing up slashes with the SSI. Thanks.
Auron
Expert
[Avatar]

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

Maglok wrote:YES got it! I was messing up slashes with the SSI. Thanks.


glad you got it to work

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