Simcountry
Forum Problems New issue - charts & graphs missing

New issue - charts & graphs missing

G
Gog

All worlds
19 Jan 2015 20:46Link
Hi again, thanks for fixing game funds transfer problem. The 2.8 Trillion I lost overnight - I suppose will never see again. NEW Issue: When trying to build new corps on MAGOG I cannot see the chart that tells me # or employees available.
Also when adding schools - I could not see the chart. I cleared cache and rebooted - but still gone. Adrian
A
Andy

All worlds
19 Jan 2015 21:30Link
We will look into it first thing Tuesday morning.
Thanks for the message.

The 2.5T were not lost.
Nothing is lost!

you mean that cash moved to your corporations? This is only an issue of timing.
If more was moved now, it means you will not need any cash in the corporations later.

Check your cash log.
Nothing is lost so please don't make it sound like you have lost.
R
RoboCop

All worlds
20 Jan 2015 09:52Link
<!-Attachment: screenshot_png.unk-!>
image/pngscreenshot
screenshot.png (48 k)
<!-/Attachment-!>

@Gog. Doesn't your screen look like the above screenshot? If not, which browser are you using?
A
Adam

All worlds
28 Jan 2015 21:42Link
I get this issue with firefox (charts and graphs entirely missing)

Some addition charts graphs and general website bugs on top here.

This morning. (UK time)

The interface bar along the top and a number of other links ceased to function (or appear, its just black space and the links have the hover over but no function). This is in Chrome. I logged into firefox successfully and all bars appeared immediately. This bug happens with chrome only.

Next, Chrome again.
Opened a corporation type details page (any, household products, electric etc etc) and clicked for a graph, none of the graphs popped up (neither did that popup).
Firefox was able to pop up the page and I copied the link to the graphs to chrome and they worked but the popup still ceased to function.

I really don't want to have to switch between 2 browsers just to use this site (and the mobile app is to
A
Andy

All worlds
29 Jan 2015 19:56Link
we will look into it tomorrow morning.
A
Adam

All worlds
29 Jan 2015 23:05Link
Just checked for popup bug and is still in effect so thank you for investigating, I await your results.
R
RoboCop

All worlds
30 Jan 2015 12:26Link
@Adam: There was a problem with the number of javascript events fired by the country map. Firefox choked on it.
We just fixed that.

This definitely explains why the menu bar was not displayed.

I am not sure if this fixes your problem with the graphs.
The graphs seem to work fine.

Can you please test the current situation?
If the graphs are still not displayed, can you make screenshots
that show where you click and what happens?
Thanks!
A
Adam

All worlds
30 Jan 2015 22:11Link
sure ok right.

Testing mode.

Menu Bar - intermittent before, currently seems fine but time will tell.

Firefox Graphs - Fail, No graphs display, see:

http://00freebuild.info/uploads/FirefoxGraphMissing.png

Chrome Graph Popup - Fail, see following for location of popup links:

http://00freebuild.info/uploads/ChromeCoalGraphPopups.png

My guess is JS for all these issues.

PS spent ages trying to figure out \ image and \ topurl to try to link them, is there a guide?
R
RoboCop

All worlds
02 Feb 2015 08:21Link
@Adam:

1. Regarding \image and \topurl: please check the "Formatting" link on the left.

2. My guess is also JS for the graphs problem, but I
cannot find a problem there. I have tested Chrome and Firefox on 4 different computers running Linux, Windows 7 and Windows 8.

3. Which version of Firefox are you running?

4. Are you familiar with the Developer Console?
If you open it (F12), are there any messages or errors
on the "Console" tab when you popup the graph?

@All:

5: Anyone else with this problem?

Thanks.
A
Adam

All worlds
03 Feb 2015 00:57Link
Thank you for investigating.

I will see if I can clear up any more for you.

Ok so on the main page the developer console says this:

An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing

I am going to ignore this as this is not where I am investigating.

Ok this is what it says when I try to open a graph in firefox:

SyntaxError: missing name after . operator graphs_jsvfw.js:1
ReferenceError: line_graph is not defined jsgraph:14


Firefox is v35.0.1

Chrome now, lets see if i can get some reports going here.

Chrome says this:
Uncaught SyntaxError: Unexpected end of input
(program):1 Uncaught ReferenceError: graph_window is not defined
cgi2nova:108 Uncaught ReferenceError: deskbutton_over is not defined <
R
RoboCop

All worlds
03 Feb 2015 15:30Link
Thanks Adam!

This is exactly the information I need!

I am puzzled because I also use Firefox v35.0.1 and I do not get these errors on the developer console.
Do you have a javascript plugin or extension installed?
If so, does it help to disable these plugins/extensions?

We have just installed an upgrade.
This upgrade should give more information on the developer console.
Could you test again and send me the output on the developer console again?

If it is more convenient you can also mail it to gamemaster@simcountry.com

Thanks!
A
Adam

All worlds
04 Feb 2015 01:01Link
My firefox is stock, i dont use it except for testing webpages i develop.

Graphs are now working on firefox.
Graphs from the popup window are now working in chrome too.

Now just get that spending space problem sorted :)

Thank you for your help.

P.S. Dev console is clear on both now.
R
RoboCop

All worlds
04 Feb 2015 10:30Link
Thanks Adam.
I am glad my changes have some effect :-)

I also disabled compression for this javascript file. Tomorrow we will install an upgrade (also for the spending space problem) in which I will enable compression again.

If the compression breaks the graphs again, please let us know.
A
Adam

All worlds
05 Feb 2015 00:00Link
Sure thing, I will let you know.
A
Adam

All worlds
06 Feb 2015 08:54Link
JS problems with the homepage on chrome:

Uncaught SyntaxError: Unexpected end of input
(index):1349 Uncaught ReferenceError: populatemarquee is not defined
visitor_Angel_v1.js:3 Uncaught ReferenceError: DesktopClass is not defined
(index):1353 Uncaught ReferenceError: installDesktop is not defined
(index):971 Uncaught ReferenceError: deskbutton_over is not defined
(index):971 Uncaught ReferenceError: deskbutton_out is not defined
(index):971 Uncaught ReferenceError: deskbutton_over is not defined
(index):971 Uncaught ReferenceError: deskbutton_out is not defined
(index):971 Uncaught ReferenceError: deskbutton_over is not defined
(index):971 Uncaught ReferenceError: deskbutton_out is not defined
(index):971 Uncaught ReferenceError: deskbutton_over is not defined
(index):971 Uncaught ReferenceError: deskbutton_out is not defin
R
RoboCop

All worlds
06 Feb 2015 11:26Link
Strange.
It looks like the JS page is not completely loaded (Unexpected end of input).
Does it help to clear the cache and reload?

What about firefox? Still okay? Also the graphs?
A
Adam

All worlds
06 Feb 2015 21:30Link
Firefox had a caching problem but on reload (ctrl f5) it cleared. (ctrl f5 failed on chrome multiple times to reload)

I noticed you have no-cache specified on the pages so it doesn't make sense to me either.

You will be pleased to know that chrome is following your orders to the letter ...

Cached files and links:

https://www.simcountry.com/
https://images.simcountry.com/chat16.gif
https://images.simcountry.com/cntr32.gif
https://images.simcountry.com/shares32.gif
https://images.simcountry.com/tsr-b.gif
https://images.simcountry.com/trade32.gif
A
Adam

All worlds
I am beginning to hate this cache problem.

I posted too soon.

Ok the very next page on opening my country the menu had vanished and at the top AGAIN

Uncaught SyntaxError: Unexpected end of input

Then followed by a whole load of errors again.

This time it can't be caching can it?

Back to the settings, clicked clear cache. YES IT IS THE CACHE AGAIN!

I may be leaving chrome at this rate. (First time since 2009)

.
.
.

Right so I "disabled" the cache on chrome and most pages instantly worked again.

Problem 1 has occurred again, the popup graph windows are producing the same errors they were at the start. The strange thing is I can see the function code for the bits it says are missing in the js file if i open that in chrome.

I think I may start going back to firefox after today. (and I like web programming!!!)

.
.
A
Adam

All worlds
07 Feb 2015 14:54Link
Ok ditching chrome to play this game now.

could not login because it wouldnt download the js file for the homepage properly!!
R
RoboCop

All worlds
10 Feb 2015 16:21Link
@Adam.

Don't understand what is going on here.

It looks like javascript files are only partially loaded.
That explains the "unexpected end of input" and the fact that functions
are missing.

As far as I know, nobody else is having this problem.
Am I wrong????

Are you maybe browsing via a proxy?

Where are you located? In the states?
The javascript files and style sheets are all coming from the amazon cloud.
Maybe there is something wrong in that area?
A
Adam

All worlds
10 Feb 2015 16:45Link
Possibly the cloud service I would guess. I am in the UK so the pond between us might be causing these issues.

I have never used proxys (except when in a works environment, not at home).

It is definitely to do with partially loaded scripts and the crazy thing is I can manually open the js scripts and they load completely fine. I am sure there is some issue in chrome where its caching the partial scripts but why it didnt download them in the first place properly I can't tell.
R
RoboCop

All worlds
10 Feb 2015 23:16Link
@adam,
I googled 2 possible solutions.
I don't understand how they would help but it is worth the try.

1. Use a different name server. For instance google name server 8.8.8.8

2. Disable IP version 6.

Does this make a difference?
A
Adam

All worlds
11 Feb 2015 08:56Link
I will let you know as it filters through. Some days I have better website functionality than others in chrome.

Its only ever been this site though.

I have updated my DNS names and disabled ipv6.
R
RoboCop

All worlds
18 Feb 2015 07:36Link
@adam. Everything still Okay?
A
Adam

All worlds
18 Feb 2015 09:03Link
getting a few dodgy goings on with the forum but nothing a refresh isnt solving.

Everything else (at the moment) seems ok.