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: katie_lostsoul
Forum Index » Profile for katie_lostsoul » Messages posted by katie_lostsoul
Author Message
Ok I modified the .htaccess file because I am trying to put my poll on a html page.

I added the php/other code to the html page, and this is what I get when I load the page:

Warning: main(poll/poll_cookie.php): failed to open stream: No such file or directory in /home/tombra2/public_html/katie/poll_test.html on line 3

Warning: main(): Failed opening 'poll/poll_cookie.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tombra2/public_html/katie/poll_test.html on line 3

Warning: main(poll/booth.php): failed to open stream: No such file or directory in /home/tombra2/public_html/katie/poll_test.html on line 16

Warning: main(): Failed opening 'poll/booth.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/tombra2/public_html/katie/poll_test.html on line 16

Fatal error: Call to a member function on a non-object in /home/tombra2/public_html/katie/poll_test.html on line 17

Any idea why the heck it's not working? Thanks!
So can I add that line of code anywhere in the file? I see I've got a bunch of code already in it. Is it picky where it has to be?
But it doesn't actually rename your html files to php files? Just tells them to process it like a php file?
After posting I did some searching around on the forums and found that you can have it on a html or htm page if you mess around with the .htaccess file.

Now if I add the code to that file, will it make my html page into a php page? What exactly is that code doing?

AddType application/x-httpd-php .php .html

Thanks
I used Fantastico to install the poll. I created a new one using the admin page and it said to include a bit of php to embed the poll onto your page. Problem is, when I do that, it only shows the echo of the poll...not the poll itself.

Anyone know why it's not working? Thanks
Hello,

I am completely new at this and haven't a clue what I'm doing. I found this poll and I'd like to include it on my site. Would someone be so kind as to write me a walkthrough on how to get it there? Thanks!
 
Forum Index » Profile for katie_lostsoul » Messages posted by katie_lostsoul
Go to:   
Based on the open source JForum