Solar Guppy - All Things Solar Forum

It is currently Fri Apr 19, 2024 12:33 am GMT EthGMT

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: I guess that was not the problem
PostPosted: Sun Aug 19, 2007 10:22 am GMT EthGMT 
Offline
Fish Eggs
Fish Eggs
User avatar

Joined: Thu Aug 02, 2007 8:50 am GMT EndGMT
Posts: 9
Location: brooktondale, ny
It hung up at 12:32am last night, (or that is the time-stamp of the zero byte file on the godaddy webhost server.)

So, the offset between the two uploads did not keep the hang from occuring. :(

My next effort, is to stop using the PNG upload, and just write an excel macro to summarize the daily log file, and post a graph of that to the web every 30 minutes or so.

John

_________________
John Reed
Brooktondale, NY
Sunpower SPRx4000 x 2, Sunpower 220w x 36


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 19, 2007 6:21 pm GMT EthGMT 
Offline
Guppy
Guppy
User avatar

Joined: Mon Apr 16, 2007 1:47 am GMT EthGMT
Posts: 102
Location: San Diego, Ca.
I cant get GView #2 to post the PNG file any more. All else failed.


Fred


Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 19, 2007 10:17 pm GMT EthGMT 
Offline
Red Cobra Delta Guppy
Red Cobra Delta Guppy
User avatar

Joined: Sun Jun 02, 2002 1:01 am GMT EndGMT
Posts: 1159
Location: Lakeland Florida
sorry to hear some of you are having issues,

I have a single old 500mhz pc monitoring 3 GT inverters. I have three copies of GT-View running each in ther own folder uploading to godaddy without issue

Couple of things I do, I have the interval different so I don't get the concurrent login issue, I have the file names of the png files different and on my display script, I cache the pngs so if an internet user happen to displaying the image there isn't a lock conflict, IE an update to an actively displayed image. Also if there is a conflict, instead of just keeping a broken ping image displayed, the script will retry in one second ( instead of the 120 seconds ) to update the image

The script is here http://www.solar-guppy.com/realtime_status.htm

Here is an example of how to prefetch :

<title>Woodwind Hills Solar Status</title>
<script language="JavaScript">


function prefetch_pool() {

cached_image_pool = new Image();
cached_image_pool.scr = "http://www.solar-guppy.com/downloads/FishBowl_Current_Pool.png";
setTimeout("swap_pool()",5000);
}

function swap_pool() {

document.fishbowl_pic_pool.src = cached_image_pool.scr;

}

function woops_pool() {

prefetch_pool();
}

</script>
</head>

<body topmargin="0" leftmargin="0">

<img name="fishbowl_pic_pool" src="http://www.solar-guppy.com/downloads/FishBowl_Current_Pool.png" onError="setTimeout('woops_pool()',100);" onLoad="setTimeout('prefetch_pool()',120000);" width="557" height="185">

</body>
</html>

Also, if you want to make the status window a fixed size, call it from another html file ( like your main index file ) like so


<Script Language="JavaScript">
function openwindowlink() {
newwin = window.open("http://www.solar-guppy.com/realtime_status.htm","Solar","height=555,width=557,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0")
}

<font face="Verdana">Real Time Status</font></b> of our dual 2900 watt arrays via GT-View
<a href="JavaScript:openwindowlink()">REAL TIME STATUS</a> *, </p>


Last edited by Solar Guppy on Sun Aug 19, 2007 10:27 pm GMT EthGMT, edited 1 time in total.

Top
 Profile  
 
 Post subject:
PostPosted: Sun Aug 19, 2007 10:20 pm GMT EthGMT 
Offline
Red Cobra Delta Guppy
Red Cobra Delta Guppy
User avatar

Joined: Sun Jun 02, 2002 1:01 am GMT EndGMT
Posts: 1159
Location: Lakeland Florida
Wennfred wrote:
Yep, I have been having alot of problems with that so what I do is I go onto the FTP site and delete the PNG file hoping the next one is upload and corrected. If it has the Zero bites, it wont work.

I rebooted the computer, deleted the Zero Byte PNG file and Im still uploading a PNG file with no info, what can I do next?



Fred


Did you chmod 777 the file on the server before deleting? ... or try a new file name ... could be something odd is locking the file on the server


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page Previous  1, 2

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
Powered by phpBB © 2000 - 2020 phpBB Group

phpBB SEO

© SGT 2002 - 2020 Solar Guppy