kaotik78
Forum Replies Created
-
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssMy thoughts exactly about posting but not knowing what to do with it. Don’t know enough about ajax but from my asp days, it makes perfect sense, if it’s missing the ID value. Glad to help!! It’s not a pain at all!
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultss11:41:13/12.07.11 – spSubmit()
11:41:13/12.07.11 – $_POST – Array
(
[action] => spAjaxSubmit
[poll] => 2
[answer] => 2
)11:41:13/12.07.11 – The int
2
has been accepted
11:41:13/12.07.11 – $answer – Array
(
[answer] => test 2
[vote] => 6
)11:41:13/12.07.11 – $json – {“answer”:{“answer”:”test 2″,”vote”:6},”pollid”:2}
11:41:13/12.07.11 – spResults()
11:41:13/12.07.11 – $_POST – Array
(
[action] => spAjaxResults
)11:41:13/12.07.11 – $results – Array
(
[polls] => Array
(
[0] => Array
(
[id] => 1
[question] => Which roast do you prefer
)[1] => Array
(
[id] => 2
[question] => test
))
)
11:41:58/12.07.11 – spSubmit()
11:41:58/12.07.11 – $_POST – Array
(
[action] => spAjaxSubmit
[poll] => 2
[answer] => 1
)11:41:58/12.07.11 – The int
1
has been accepted
11:41:58/12.07.11 – $answer – Array
(
[answer] => test 1
[vote] => 5
)11:41:58/12.07.11 – $json – {“answer”:{“answer”:”test 1″,”vote”:5},”pollid”:2}
11:41:59/12.07.11 – spResults()
11:41:59/12.07.11 – $_POST – Array
(
[action] => spAjaxResults
)11:41:59/12.07.11 – $results – Array
(
[polls] => Array
(
[0] => Array
(
[id] => 1
[question] => Which roast do you prefer
)[1] => Array
(
[id] => 2
[question] => test
))
)
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssMorning! I’ll give that a shot. It’s not a pain at all to help out! We’re getting somewhere ??
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssOk I’ve got it up on the site. It’s not displaying the poll results once submitted still. I’m wondering if something is not configured properly on my server if it’s working fine for you.
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssAwesome, can’t wait to give it a shot! I’m just glad I could have helped!
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssJust checking in to see when you’d like me to retest the poll.
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssSounds great! Just drop a line when you would like me to test ??
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssI realize your offline but I’m still plugging away. Thus far I’ve been able to get the poll to work but only by doing the following.
modifying wproot.php to include my subdirectory
$wpRoot = $_SERVER[‘DOCUMENT_ROOT’].’/wordpress_31′;
and changing the config.php lines to the following
define(‘SP_URL’, ‘https://’.$_SERVER[‘HTTP_HOST’].’/wordpress_31/wp-content/plugins/simply-poll/’);
define(‘SP_URI’, $_SERVER[‘DOCUMENT_ROOT’].’/wordpress_31/wp-content/plugins/simply-poll/’);You can vote, but the results do not show UNLESS you refresh the browser, then you can see the results.
A step in the right direction though I think!
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssThank you for your help!! Regardless of the outcome, I do appreciate it!
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssOk, give it a try.
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssI am running one for Firefox, I see the path is correct now in my console.
Still not coming up with results after submitting the vote.
—
[11:43:44.975] Use of getAttributeNode() is deprecated. Use getAttribute() instead. @ https://www.shaunnelson.com/wordpress_31/
[11:43:45.003] Use of attributes’ nodeValue attribute is deprecated. Use value instead. @ https://www.shaunnelson.com/wordpress_31/
[11:43:45.610] POST https://www.shaunnelson.com/wordpress_31/wp-content/plugins/simply-poll/page/user/poll-submit.php [HTTP/1.1 200 OK 281ms]
[11:43:45.807] POST https://www.shaunnelson.com/wordpress_31/ [HTTP/1.1 200 OK 547ms]It seems to point to the correct path now.
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssWhat console are you referring to, a Firefox console or a WordPress console?
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssI just changed the path in the config.php file but it still isn’t working.
define('SP_URL','https://'.$_SERVER['HTTP_HOST'].'/wordpress_31/wp-content/plugins/simply-poll/'); define('SP_URI',$_SERVER['DOCUMENT_ROOT'].'/wordpress_31/wp-content/plugins/simply-poll/');
Hmmm I’m determined to figure this out cause I like the simplicity of the poll.
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssStrange, I ftp’d into the directory and the file is there. I’ve uninstalled and re-installed the plugin. The plugin was installed by ftp’ing the folder to the plugins directory then activating it via the WP control panel. Funky path issue prehaps with the version of PHP I’m using?
The URL in the POST is missing the /wordpress_31/ directory. It should read like this below.
https://www.shaunnelson.com/wordpress_31/wp-content/plugins/simply-poll/page/user/poll-submit.php
Is there something in the poll code that assumes the wordpress installation is at root level?
Forum: Plugins
In reply to: [Simply Poll] Simply Poll not displaying resultssI appologize, I failed to also mention that when installing the plugin, I received this error.
“The plugin generated 506 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.”
The site can be viewed here: https://tinyurl.com/7t8uc2o