I am installing this script into my website to create a poll. http://www.dbscripts.net/poll/
For now I am running test pages so I can get the poll up and running properly before I post it on my live website.
Sometimes I get part of the poll working and then other parts do not work such as viewing the results.
In this installation there are two sets of folders and both contain similiar files. I thought that I really did not need to make changes to anything except the config.php page but there must be something simple that I am overlooking. Is anybody available to help me figure out what I need to fix?
Here are some of the errors I am getting:
Warning: main(/home/content/b/e/n/benedizione/html/../class.php): failed to open stream: No such file or directory in /home/content/b/e/n/benedizione/html/config.php on line 9
Fatal error: main(): Failed opening required '/home/content/b/e/n/benedizione/html/../class.php' (include_path='.:/usr/local/lib/php') in /home/content/b/e/n/benedizione/html/config.php on line 9
Here is line 9 of config.php:
require_once(dirname(__FILE__) . '/class.php'); // For the Poll class definition
Warning: main(/test/): failed to open stream: No such file or directory in /home/content/b/e/n/benedizione/html/testpage013.php on line 218
Fatal error: main(): Failed opening required '/test/' (include_path='.:/usr/local/lib/php') in /home/content/b/e/n/benedizione/html/testpage013.php on line 218
Here is line 218 of testpage013:
<?php require_once('/test/');
show_vote_control('1'); ?>
The Line 218 script is supposed to be all I need to place on the page where I want the poll to be but it does not work at all.



Reply With Quote

Bookmarks