Widget suddenly stopped working, 404 error?
Can you please tell me why my widget will not display this page anymore: http://www.mybabybe.com/widg.php.
As you can see it is working perfectly fine in a browser, but when I check my widget the URL displays a 404 error and re-directs back to the index. This is because I have put all my error pages to re-direct.
Why is the 404 occuring though when the URL is working fine?... It's been running fine for a couple of month until now.
Thanks!
As you can see it is working perfectly fine in a browser, but when I check my widget the URL displays a 404 error and re-directs back to the index. This is because I have put all my error pages to re-direct.
Why is the 404 occuring though when the URL is working fine?... It's been running fine for a couple of month until now.
Thanks!
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
The best answer from everyone
-
No worries, Dean!
So, it looks like you're seeing a common error that users pointing to PHP pages tend to see. When we iframe in your page, we include our query string on it, which has any config params that you set up as well as the normal ones that we use to define the widget. It looks like this:
http://www.mybabybe.com/widg.php?widg...
Sometimes, this makes PHP freak out, since it can't handle these QS parameters that it doesn't understand. So it'll 404. So in the end, you'll need to dig into that PHP to make it not freak out if you want to use it within a widget.
Hope this helps!
The company says
this answers the question
-
Inappropriate?Hi Dean,
I don't know where you have created this widget on widgetbox, but clicking on the links in your PHP above work. If you're asking to look at the widgetbox widget, I'll need a link.
-
Inappropriate?oops!
I forgot to add it, lol. Here you go:
http://www.widgetbox.com/widget/mybab...
Cheers for the reply.
I’m thankful
-
Inappropriate?No worries, Dean!
So, it looks like you're seeing a common error that users pointing to PHP pages tend to see. When we iframe in your page, we include our query string on it, which has any config params that you set up as well as the normal ones that we use to define the widget. It looks like this:
http://www.mybabybe.com/widg.php?widg...
Sometimes, this makes PHP freak out, since it can't handle these QS parameters that it doesn't understand. So it'll 404. So in the end, you'll need to dig into that PHP to make it not freak out if you want to use it within a widget.
Hope this helps!
The company says
this answers the question
-
Inappropriate?Great stuff, thanks for the reply!
Okay... I will have a dig around in the code tomorrow, but if this is the case then how come the widget was working fine for a couple of months and then stopped working, is the iframe a new thing?
I don't suppose of the top of your head you'd know roughly what in the PHP I will be looking for to do with the QS parameters? I only just fluked to get the widget to work the first time, lol.
Any help appreciated and again thanks! -
Inappropriate?Hey Dean,
The iframe method has been used for the life of Widgetbox, so I'm not sure what changed. I had another user whose provider did an upgrade that resulted in a similar issue, which he had to resolve.
Unfortunately, I don't recall what his team fixed. Maybe try searching in our section of Get Satisfaction for PHP and see if you can track it down. If you do, you can reply and maybe that user can point you in the right direction.
Let me know if I can hep with anything else!
-
Inappropriate?Good point about the server... Within the last month they have upgraded. I'm guessing then that this is the cause.
As soon as I find out what I need to change I will add the fix here.
Thanks!
I’m thankful
Loading Profile...



