Error on Save new quiz
(11 posts) (2 voices)-
I go to the page - Create New Quiz, and after I select 'SAVE' at the bottom, I get a 404 page not found. From what I can tell, it looks like the issue is with how the URLs are written for this plugin.
The Create New Quiz address is:
http://dpollitt.net/blog/wp-admin/edit. ... action=new
But the next page it is trying to access is:
http://dpollitt.net/wp-content/plugins/ ... action.php
Notice how it left off the /blog part. I tried just adding this in the URL but that doesn't work. Any suggestions on modifying the plugin code or using a workaround?
ThanksPosted 3 years ago # -
Try this - open up the quiz_form.php file in the plugin and find the 4th line...
$home = get_option('home');
Change that to
$home = get_option('siteurl');
Then try to create a quiz again. Let me know how it goes.Posted 3 years ago # -
I tried it using:
$home = get_option('http://www.dpollitt.net/blog/');
This gave the same result. I'm testing the plugin out on my other wordpress blog now. See if I can get it working on there.
Thanks for the help, I'll play around with it.Posted 3 years ago # -
If $home = get_option('siteurl'); don't work, try
$home = 'http://www.dpollitt.net/blog';
You don't need the 'get_option' call.Posted 3 years ago # -
Hi,
excellent plug in!
Following this post, I am experiencing this same isue. just installed latest version on WP 2.7
However I cannot create a quiz. Manually manipuating the url, I was able to get to the question screen, where I created a question but it would not save.
Please advise. Is there something in the code we need to chage in order to get it to work? I downlodaed the version from your website 1.01.0
thanksPosted 3 years ago # -
Please post these URLs here...
Blog URL
Admin URL
The URL where you got the question screen.Posted 3 years ago # -
blog: http:www.dineroycredito.com
manage quizes: http://www.dineroycredito.com/cms/wp-ad ... n/quiz.php
create noew quiz: http://www.dineroycredito.com/cms/wp-ad ... action=new
create new question: http://www.dineroycredito.com/cms/wp-ad ... =new&quiz=Posted 3 years ago # -
I am assuming you are using the latest version of Quizzin - 1.01.1. If not, get it from http://wordpress.org/extend/plugins/quizzin/
Now, open up the plugin folder - wp-content/plugins/quizzin
Open the quiz_action.php file in an editor. Edit this line(#12)...
wp_redirect($wpframe_home . '/wp-admin/edit.php?page=quizzin/quiz.php&message=updated');
to
wp_redirect($wpframe_siteurl . '/wp-admin/edit.php?page=quizzin/quiz.php&message=updated');
Also, line 17 - from
wp_redirect($wpframe_home . '/wp-admin/edit.php?page=quizzin/question.php&message=new_quiz&quiz='.$quiz_id);
to
wp_redirect($wpframe_siteurl . '/wp-admin/edit.php?page=quizzin/question.php&message=new_quiz&quiz='.$quiz_id);
After making this change, try creating the quiz once again.
Let me know how it goes - if it works, I have to make the changes permanent.Posted 3 years ago # -
I took the following actions:
1. I downloaded the latest version (although I did have it, just to be safe)
2. I mande the 2 changes you indicated
3. I tried to create a quiz.
After creating it, I got the following screen
URL: http://www.dineroycredito.com/cms/wp-ad ... quiz&quiz=
and the message on the screen
To add this quiz to your blog, insert the code [QUIZZIN ] into any post.
there appears to be still be a problem since there is no number after the quiz and the url looks incompete.Posted 3 years ago # -
Any word on this? I really would like to get this working and would be happy to make a donation if that would help. I think its a great plug in,
mike.Posted 3 years ago # -
Hi,
Sorry - but this one puzzles me way too much. I cannot help you from here. But if you can provide me with a temporary FTP and WP account, I may be able to debug the problem. If you have any security restrictions that prevents you from doing that, I understand. Sorry about the inconvenience.Posted 3 years ago #
Reply
You must log in to post.