Not all of the Widget previews display correctly on the admin page

KentBye - December 4, 2007 - 23:57
Project:Fivestar
Version:5.x-1.11-beta3
Component:Code
Category:bug report
Priority:minor
Assigned:Unassigned
Status:closed
Description

Not all of the fivestar widget previews are showing up properly in either FF 2.0.0.10 or Safari 3.0.4 on the /admin/build/modules/fivestar page.
Which previews show up often changes from page load to page load, but only 3-4 of the previews show up on any give time as shown in the attached photo.

AttachmentSize
fivestar_preview.jpg52.3 KB

#1

quicksketch - December 5, 2007 - 06:52

Hmm, looks like this could be caused by the number of requests to the server. It works fine on my boxes, but they might allow a higher number of simultaneous connections. Because each preview is actually an iFrame with a separate page, I'm guessing either the browser or server is giving up early serving that many simultaneous page requests. I could be totally off though.

#2

KentBye - December 5, 2007 - 18:00

I'm running on my Mac localhost environment. (OS X of 10.4.11 & FF 2.0.0.11)
For the first time ever, they all showed up in Firefox.
But then on the page reload, I see the same behavior.
Going over to Safari also only shows 3-4.

I can see each of them when I browse to each individual preview page of /fivestar/preview/widget/0

But you may want to see if others are seeing this.

#3

thetechguide - December 8, 2007 - 07:26
Version:5.x-1.x-dev» 5.x-1.8

Same problem is happening to me in Firefox 2.0.0.9, running locally on Windows XP SP2 using Uniform Server 3.5 as the AMP environment. I never see the fivestar image preview regardless of reloading the page.

#4

captcha - December 18, 2007 - 15:35
Version:5.x-1.8» 5.x-1.10

Using Fivestar 5.x-1.10 on FF 2.0.0.11 and WinXP SP2 previews show up fine, see attached. I am the only one accessing the local drupal test bed; server load could still be an issue. Would recommend you upgrade Fivestar and then check if there is still a problem.

AttachmentSize
Fivestar Settings - Drupal_1197991242676.png38.6 KB

#5

KentBye - January 18, 2008 - 09:41
Version:5.x-1.10» 5.x-1.11-beta3

I'm still seeing this on my localhost dev environment on MacBook Pro in both FF 2.0.0.11 & Safari 3.0.4
BTW, I'm not using MAMP.

#6

quicksketch - February 26, 2008 - 22:22

Marked http://drupal.org/node/226274 as duplicate, same problem only in Drupal 6.

We need to somehow figure a way that we can load the previews without iFrames, as it doesn't seem to work reliably on a lot of websites. The only way I can see how to do this would be load all the CSS files into PHP, then prefixing every CSS declaration with a unique DIV id. It'd be pretty cludgy, but probably not worse than iFrames that don't work half the time.

#7

quicksketch - March 14, 2008 - 03:08
Status:active» fixed

This was fixed when the color picker was added: http://drupal.org/node/232127.

Now all the sample widgets are displayed inline, and each CSS file is read in, rewritten for unique divs, then added to the page header.

#8

Anonymous (not verified) - March 28, 2008 - 03:11
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.