Author |
Message |
09/01/2003 13:29:17
|
Anonymous
|
Advanced Poll was running fine the last 3 Month, suddenly following error occurs:
Fatal error: Cannot redeclare set_max_bar_length() in /var/www/web286/html/php/poll/include/class_poll.php on line 116
What does this mean?
I tried also to install a secound copy but I can't chand my password it says on top of the page following:
Warning: fopen(/var/www/web286/html/umfrage/polldata/session.php) [function.fopen]: failed to create stream: Permission denied in /var/www/web286/html/umfrage/include/class_session.php on line 47
Warning: flock(): supplied argument is not a valid stream resource in /var/www/web286/html/umfrage/include/class_session.php on line 48
Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/web286/html/umfrage/include/class_session.php on line 49
Warning: flock(): supplied argument is not a valid stream resource in /var/www/web286/html/umfrage/include/class_session.php on line 50
Warning: fclose(): supplied argument is not a valid stream resource in /var/www/web286/html/umfrage/include/class_session.php on line 51
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web286/html/umfrage/include/class_session.php:47) in /var/www/web286/html/umfrage/admin/common.inc.php on line 15
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web286/html/umfrage/include/class_session.php:47) in /var/www/web286/html/umfrage/admin/common.inc.php on line 16
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web286/html/umfrage/include/class_session.php:47) in /var/www/web286/html/umfrage/admin/common.inc.php on line 17
Warning: Cannot modify header information - headers already sent by (output started at /var/www/web286/html/umfrage/include/class_session.php:47) in /var/www/web286/html/umfrage/admin/common.inc.php on line 18
|
|
13/01/2003 13:13:15
|
Anonymous
|
When I get these errors it's usually becsue of a config error I made or a chmod error.
|
|
15/01/2003 18:19:54
|
Anonymous
|
I was encountering this error when I installed the Advanced Poll software:
Cannot redeclare set_max_bar_length() [blah blah blah] on line 116
The issue was that, being new to PHP also, I had just installed the latest PHP (4.3). I installed the prior version of PHP and the error went away. If your polling app was working before but isn't now, it's probably because you upgraded to PHP 4.3.
I don't know enough about PHP to say whether there is a bug in the Advanced Poll scripts or it's a bug in the latest PHP. However, I PHP 4.2 clears up the problem.
Cheers,
Michael
|
|
25/01/2003 10:42:08
|
Anonymous
|
Well I guess it's the php 4.3 - but what can I do? My site is hosted and I don't thing he will downgrade just because of me...
|
|
|