Poll errors (solved...
 
Notifications
Clear all

Poll errors (solved)

7 Posts
3 Users
0 Reactions
1,603 Views
(@msmelanie1)
Posts: 17
Active Member
Topic starter
 

URL to your eFiction: http://animetionacs.net/fic/index.php?skin=AlienGreenlo
Version of eFiction: 3.5
Have you bridged eFiction, if so with what?: No.
Version of PHP: 5.2.4
Version of MySQL: 5.0.27
Have you searched for your problem: Yes
If so, what terms did you try: poll, poll error, poll/admin.php on line 12 and anything I could think of.
State the nature of your problem:I cannot even make a poll. When I go to blocks to activate poll and hit options this appears (Debug is also on)


Warning: include(blocks/) [function.include]: failed to open stream: Success in /misc/25/000/060/570/6/user/web/animetionacs.net/fic/blocks/poll/admin.php on line 12

Warning: include(blocks/) [function.include]: failed to open stream: Success in /misc/25/000/060/570/6/user/web/animetionacs.net/fic/blocks/poll/admin.php on line 12

Warning: include() [function.include]: Failed opening 'blocks/' for inclusion (include_path='.:/usr/share/pear') in /misc/25/000/060/570/6/user/web/animetionacs.net/fic/blocks/poll/admin.php on line 12

Notice: Undefined variable: currentpoll in /misc/25/000/060/570/6/user/web/animetionacs.net/fic/blocks/poll/admin.php on line 40

Notice: Use of undefined constant _POLLQUESTION - assumed '_POLLQUESTION' in /misc/25/000/060/570/6/user/web/animetionacs.net/fic/blocks/poll/admin.php on line 47

Notice: Use of undefined constant _POLLOPTS - assumed '_POLLOPTS' in /misc/25/000/060/570/6/user/web/animetionacs.net/fic/blocks/poll/admin.php on line 50

Do you have a test account for us? Yes - Penname: baga  Password: hello

I have reloaded, deleted, and uploaded the poll folder and I still get the exact same thing. It is the same on all skins, whether the poll block is available on them or not. If this problem is simple, I'm sorry for bugging you but this has been bugging me for way too long. Also, the shoutbox, user online, etc. works with no problems. It's strictly just the poll. I'm not good at php at all so if the problem is staring me in the face, I just don't see it.

On line 12 it looks like this:

 include("blocks/".$blocks['poll']['file']);

line 40 is this:

 if($currentpoll && !isset($_POST['close_current'])) {

line 47 is this:

<label for="poll_question">"._POLLQUESTION."</label><textarea name='poll_question' cols='40' id='poll_question' rows='5'></textarea><br />";

<br>
line 50 is this:

$output .= "<label for="poll_opts">"._POLLOPTS."</label><textarea name='poll_opts' id='poll_opts' class='mceNoEditor' cols='40' rows='5'></textarea><br />";

Newbie glasses are hard to wear, but everyone has to start somewhere.If I messed up on something in this post too, please let me know.


Php 5.2.4| Mysql 5.0.27|Efiction 3.5.1|

 
Posted : 27/02/2009 9:08 am
(@becca)
Posts: 553
Honorable Member
 
Warning: include() [function.include]: Failed opening 'blocks/' for inclusion (include_path='.:/usr/share/pear') in /misc/25/000/060/570/6/user/web/animetionacs.net/fic/blocks/poll/admin.php on line 12

It looks like there's something possibly missing in your /blocks folder, maybe try re-uploading your /blocks folder with a different FTP program?


 
Posted : 27/02/2009 11:29 am
(@msmelanie1)
Posts: 17
Active Member
Topic starter
 

I've always used cuteftp and it has never let me down before. I did try what you said though. I went to my bravenet and used their ftp to download the blocks folder. It took a lot longer, but everything uploaded and it still says the exact same thing on my site. I even downloaded another fresh file for efiction 3.5 and did the same thing. It still didn't work.

Is there anything else it could be?


Php 5.2.4| Mysql 5.0.27|Efiction 3.5.1|

 
Posted : 27/02/2009 6:38 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

Quick question: If you turn debug off, do any of those warnings stick around?  Just trying to pinpoint which might be more important.


 
Posted : 27/02/2009 9:14 pm
(@msmelanie1)
Posts: 17
Active Member
Topic starter
 

All three warnings stick around, all three notices disappear.


Php 5.2.4| Mysql 5.0.27|Efiction 3.5.1|

 
Posted : 27/02/2009 11:30 pm
(@lyndsie)
Posts: 1263
Member Moderator
 

Hmm, that's what I would have guessed.  It really does look like it's having trouble accessing some of the files, though I think it must be getting to the admin file since it's got the line number references.  Maybe check that the blocks folder and the folder inside for polls are CHMODed to an okay setting.  Maybe your server doesn't like what it's got?

Also, you should check that fanfiction_blocks has the right entry for poll block.


 
Posted : 28/02/2009 12:25 am
(@msmelanie1)
Posts: 17
Active Member
Topic starter
 

Ha! How weird. poll/poll.php was the only block not in my fanfiction_blocks labeled in myadmin. I popped it in and now it works great. Thanks a bunch for your help and I'll mark this as solved. πŸ˜€


Php 5.2.4| Mysql 5.0.27|Efiction 3.5.1|

 
Posted : 28/02/2009 3:11 am
Share: