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: ElectionPoles
Forum Index » Profile for ElectionPoles » Messages posted by ElectionPoles
Author Message
i have the same problem....
I know there is a topic about this, but it is from so long ago!

the link to the outdated topic is here http://proxy2.de/forum/viewtopic.php?t=4736&highlight=shtml

I am trying to make my php become HTML for search engines and stuff.

I get an error everytime -

On my webpage, I get the following error;
  1. Warning: include_once(poll/poll_cookie.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/n/u/b/(my login id)/html/index.php on line 3  
  2.   
  3. Warning: include_once() [function.include]: Failed opening 'poll/poll_cookie.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/n/u/b/(my login id)/html/index.php on line 3  
  4.   
  5. Warning: include_once(poll/booth.php) [function.include-once]: failed to open stream: No such file or directory in /home/content/n/u/b/(my login id)/html/index.php on line 13  
  6.   
  7. Warning: include_once() [function.include]: Failed opening 'poll/booth.php' for inclusion (include_path='.:/usr/local/php5/lib/php') in /home/content/n/u/b/(my login id)/html/index.php on line 13  
  8.   
  9. Fatal error: Call to a member function poll_process() on a non-object in /home/content/n/u/b/(my login id)/html/index.php on line 14  


For the .htaccess part, I found several of these files in my directory. Most of them only contained the following "Deny all access" or something like that. I tried changing all of them to
  1. AddType application/x-httpd-php .php .html  
as is says in the instructions.


For the html part- I put this code
  1. <?php  
  2. // Important! You have to include it before your html code  
  3. include_once "poll/poll_cookie.php";  
  4. ?>   
above the code that I created for my poll.

Also, I added this below
  1. <?php  
  2. include_once "poll/booth.php";  
  3. echo $php_poll->poll_process(1);  
  4. ?>   
and I updated the poll_process accordingly.

Please help!!! I have been working on this for a long time.

I am not sure if this helps...but I use GoDaddy hosting, on the Linux server. (This application was automatically installed on my site)
 
Forum Index » Profile for ElectionPoles » Messages posted by ElectionPoles
Go to:   
Based on the open source JForum