Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Issue with the Polls Plugin
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 1, 2012 - 11:57 am

It is probably worth removing just in case...

Go to the SP plugin list and use the 'uninstall' option and then really would be best to use ftp to clean out the polls plugin folder and re-upload a new copy.

Then see what happens....

andy-signature.png
YELLOW
SWORDFISH
Avatar
Maxime Bouquet
Paris, France
Rookie
Free Members
sp_UserOfflineSmall Offline
Aug 1, 2012 - 1:40 pm

thanks for the reply.

I have tried that already.

After uninstalling the plugin, (we are still able to enable it again) we remove the polls folder.

When installing it again, it's creating a poll1 folder and forum backend and frontend pages are unavailable.

Renaming polls1 with polls make the pages available again, but sql tables might be broken.

EDIT:

Do you have a manual way to remove sql too?

I'm not so familiar with wordpress. It seems that there is 3 polls tables but i assume that their is some new fields in post, topics... 

--

Guillaume

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 1, 2012 - 8:07 pm

if you uninstall the polls plugin, it will remove its db entries itself...  but if you reenable it, the db stuff is created again...

Avatar
Maxime Bouquet
Paris, France
Rookie
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2012 - 3:04 am

To continue

Polls is uninstall, folder removed too.

New Upload and installation. A new folder poll1 is created.

When activating forum gets broken:

August 2, 2012
8:35 am    php    file: /wordpress/wp-content/sp-resources/forum-plugins/polls1/sp-polls-plugin.php
line: 110
function: sp_polls_uninstall_option
Warning | include_once(): Failed opening '/blah/wordpress/wp-content/sp-resources/forum-plugins/polls/sp-polls-uninstall.php' for inclusion (include_path='blah/wordpress/wp-content/plugins/sliding-youtube-gallery/engine/lib')
August 2, 2012
8:35 am    php    file: /wordpress/wp-content/sp-resources/forum-plugins/polls1/sp-polls-plugin.php
line: 110
function: sp_polls_uninstall_option
Warning | include_once(blah/wordpress/wp-content/sp-resources/forum-plugins/polls/sp-polls-uninstall.php): failed to open stream: No such file or directory
August 2, 2012
12:01 am    php    file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
August 2, 2012
12:01 am    php    file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
August 1, 2012
7:29 pm    php    file: /wordpress/wp-content/sp-resources/forum-plugins/polls1/sp-polls-plugin.php
line: 204
function: sp_polls_load_admin_js
Warning | include_once(): Failed opening 'blah/wordpress/wp-content/sp-resources/forum-plugins/polls/library/sp-polls-components.php' for inclusion (include_path='blah/wordpress/wp-content/plugins/sliding-youtube-gallery/engine/lib')

This time after renaming polls1 to polls it seems to work.

We still have a problem, in permission access. guest are not able to vote in poll, but stey still can. Any lead ?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 2, 2012 - 5:00 am

It seems to me - or at least if this were me - I would want to know why it is creating a folder called 'polls1'. Our download zip does not create this. The only reason I have ever come across for this is that some OS's - such as OSX for example - will append a '1' (and then '2' etc) to a folder on unzipping if a folder of that name already exists. I would argue that there has to be something in your server environment responsible for this. And, of course, it is not something we can ascertain.

As to the permission question - I will test that this morning and see if there is a general problem we are unaware of.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 2, 2012 - 5:46 am

On the permission issue I am unable to replicate this. for me, accessing my forums as a guest, the polls just do not appear in the post thus not allowing me to vote - but I also see some of the other content removed so I will open a ticket to get it looked at more closely.

Actually - I better ask you to check to to make sure that the permission set in question is associated with the right user group at forum level... can you double check that please?

andy-signature.png
YELLOW
SWORDFISH
Avatar
Maxime Bouquet
Paris, France
Rookie
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2012 - 10:07 am

Yellow Swordfish said
It seems to me - or at least if this were me - I would want to know why it is creating a folder called 'polls1'. Our download zip does not create this. The only reason I have ever come across for this is that some OS's - such as OSX for example - will append a '1' (and then '2' etc) to a folder on unzipping if a folder of that name already exists. I would argue that there has to be something in your server environment responsible for this. And, of course, it is not something we can ascertain.

Yes that is strange, it is a standard debian system and the folder was not on the FS. Anyway, the problem should be on our side.

Yellow Swordfish said

Actually - I better ask you to check to to make sure that the permission set in question is associated with the right user group at forum level... can you double check that please?

To resume what we try to do: we want the guest to view the polls, but not able to vote on it.

on the forum level : Guests => Read Only Access

And on the Read Only Access: can vote in a forum poll within a post is disable

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Aug 2, 2012 - 11:51 am

I was coming back to add to my last answer anyway but you beat me to it!

I can not replicate this issue but it seems my colleague - who actually wrote the polls plugin - can. He has said he will look into it tonight - I am sure it will be an easy fix and we will get an update out ASAP. So apologies for that.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Aug 2, 2012 - 7:10 pm

maybe...  original poster not clear on how guests could vote...

The permissions are correct when the topic loads up... user wont be able to vote and will be shown poll results...  however, if the user has not voted (or is allowed multiple votes), there is a link at the bottom which allows them to load the poll for voting...  the display of that link needs a permission check too... so users/guests without permission to vote could vote if they clicked on the link..

but if its showing to vote on the original page load, then I would suspect incorrect permission set up...

Will get the polls update done tonight, but may be day or two before its released...

Avatar
almase
Member
Free Members
sp_UserOfflineSmall Offline
Nov 11, 2012 - 1:36 pm

Hello,

I also have a problem with the poll plugin (1.04)

When creating a poll, a box says "Error Creating Poll, Please check entries".

All the fileds are filled.

The same problem is suddenly back. :(

Polls works when i deactivate Contact Form 7, but i need this plugin. :(

version polls: 1.2

version contact form 7: 3.3.1

version SP: 5.1.4.

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625