[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4699: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4701: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4702: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4703: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
Current Cost Support Forum • View topic - View Weekly - Blank?

Current Cost Support Forum

A support forum for Current Cost users, partners and developers. Covering hardware, software and web.
Site Announcements

The support forum is moderated Monday to Friday, UK time. To submit a support ticket, please email: helpme [at] currentcost .com

It is currently Wed Dec 01, 2021 7:44 pm

All times are UTC [ DST ]




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: View Weekly - Blank?
PostPosted: Thu May 24, 2012 9:38 pm 
Offline

Joined: Sat Apr 16, 2011 1:10 pm
Posts: 328
Location: East Sussex
When I try the "View Weekly" button I get a blank page and 1970.

File comment: Blank Weekly Data
View Weekly.jpg
View Weekly.jpg [ 131.58 KiB | Viewed 19793 times ]


Does your one work?

Automan.


Top
 Profile  
 
 Post subject: Re: View Weekly - Blank?
PostPosted: Fri May 25, 2012 1:29 am 
Offline

Joined: Mon Apr 18, 2011 5:26 pm
Posts: 138
Location: Melbourne, Australia
Ditto (not that I often use that function).

NB. You should turn Auto-refresh off when viewing history - but that is not our problem.

The problem is my.currentcost.com is getting a 500 return code ("Oops Something's broken...") when they make the call.
Here is the Cosm Debug
Get Weekly error.PNG
Get Weekly error.PNG [ 35.42 KiB | Viewed 19790 times ]

Since we are not getting the 500 when we go back to daily view something is wrong with the weekly request.
Looking at the request I see "...&function=average&..." This is not part of the documented api. My guess is that this is where it is falling down.
It seems unlikely that CC would just dream this up! Maybe there is an undocumented addition being tested by Currentcost?

_________________
Seeker
"The Truth is out there!"


Top
 Profile  
 
 Post subject: Re: View Weekly - Blank?
PostPosted: Fri May 25, 2012 3:00 am 
Offline

Joined: Mon Apr 18, 2011 5:26 pm
Posts: 138
Location: Melbourne, Australia
Interesting. Here is an example of the "function=average" that works. So I think I am right about the new function.

The major difference seems to be the extra Header with the API key. It has been working with two headers for some time, so I expect COSM have tightened up and CC were sloppy about removing the extra header from the weekly data request when they removed it from the daily data request.

Hmm... Not sure why the data request was for week old data?

Debugging didn't take long, I wonder how long the fix will take?


Attachments:
Get Daily working.PNG
Get Daily working.PNG [ 33.85 KiB | Viewed 19787 times ]

_________________
Seeker
"The Truth is out there!"
Top
 Profile  
 
 Post subject: Re: View Weekly - Blank?
PostPosted: Fri Jun 01, 2012 10:15 am 
Offline

Joined: Sat Apr 16, 2011 8:19 am
Posts: 12
Same problem :(
is there a way to correct ?


Top
 Profile  
 
 Post subject: Re: View Weekly - Blank?
PostPosted: Sun Jun 03, 2012 12:21 am 
Offline

Joined: Mon Apr 18, 2011 5:26 pm
Posts: 138
Location: Melbourne, Australia

_________________
Seeker
"The Truth is out there!"


Top
 Profile  
 
 Post subject: Re: View Weekly - Blank?
PostPosted: Wed Jun 27, 2012 12:05 pm 
Offline

Joined: Sat Apr 16, 2011 1:10 pm
Posts: 328
Location: East Sussex
Still seems to be an issue :(

Perhaps it will work next year?

Automan.


Top
 Profile  
 
 Post subject: Re: View Weekly - Blank?
PostPosted: Thu Jun 28, 2012 3:20 am 
Offline

Joined: Mon Apr 18, 2011 5:26 pm
Posts: 138
Location: Melbourne, Australia

_________________
Seeker
"The Truth is out there!"


Top
 Profile  
 
 Post subject: Re: View Weekly - Blank?
PostPosted: Thu Jun 28, 2012 3:18 pm 
Offline

Joined: Mon Apr 18, 2011 5:26 pm
Posts: 138
Location: Melbourne, Australia
Response from Cosm support is that "view weekly" is taking too long and being killed for it. They expect a solution in about a week.

The "function=average" is a new facility and it appears that it is being piloted by Current Cost.

Some patience seems to be warranted!

_________________
Seeker
"The Truth is out there!"


Top
 Profile  
 
 Post subject: Re: View Weekly - Blank?
PostPosted: Mon Jul 02, 2012 2:08 pm 
Offline

Joined: Sat May 28, 2011 5:42 pm
Posts: 13
I thought it was just me but cheers guys for the update i now know its not me lol


Top
 Profile  
 
 Post subject: Re: View Weekly - Blank?
PostPosted: Wed Aug 15, 2012 4:01 pm 
Offline

Joined: Sat Apr 16, 2011 1:10 pm
Posts: 328
Location: East Sussex
View weekly now works but I note PVOutput website has stopped working on the 06/08/12 and has been blank ever since.

Automan.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 11 posts ]  Go to page 1, 2  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group