HTTP ERROR

  • twinbo
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 9 months ago #1138 by twinbo
HTTP ERROR was created by twinbo
HI,
I filled the markes table with 17434 record, now when I try to show the map page the browser show HTTP 500 (Internal Server Error).

Any Idea ?

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #1139 by Dima
Replied by Dima on topic HTTP ERROR
Hi.
I don't try to check on this count of placemarks.
I think there are a few ways:
1 - check, if you load all data correctly, may be you load quotes otr apostropes. May be some errors
2 - change for placemark properties infowin content to no. After that the document will be less, may be it will be load
3 - on next week I want to read about jquery to load placemark content dynamically, and after that document will less size.

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #1140 by Dima
Replied by Dima on topic HTTP ERROR
As for #2, I want to check, that it caused by document size and DOM model

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

  • twinbo
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
11 years 9 months ago #1141 by twinbo
Replied by twinbo on topic HTTP ERROR

Dima wrote: Hi.
I don't try to check on this count of placemarks.
I think there are a few ways:
1 - check, if you load all data correctly, may be you load quotes otr apostropes. May be some errors
2 - change for placemark properties infowin content to no. After that the document will be less, may be it will be load
3 - on next week I want to read about jquery to load placemark content dynamically, and after that document will less size.


I've done a few tests:
1. Data are corrects
3. Changing infowin content to no, don't change nothing
2. It start to fail from 3746 record, if the table has 3745 records then work

Can I help you to debug ? Is there some logs to check ?

thanks

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago #1147 by Dima
Replied by Dima on topic HTTP ERROR
Hi
Today I load 3000 placemarks for tests.

And correct extensions not create extra unwanted data if placemarks not show infowin, ie not created data for inforwin.
And do some tests:
- enable infowin content, my document is 2.9M
- disable infowin content - 1.2M

May be you've got this error because document is very big. I'll add more placemarks to check, how it will be with 6000, 10000, 20000 placemarks.

Load time is about 27-30 sec without infowin, 40-45 sec with infowin.
Infowin contains placemark title

Don't forget support my developments: post review in JED , donate , help with translation ;)

Please Log in or Create an account to join the conversation.

More
11 years 9 months ago - 11 years 9 months ago #1148 by Dima
Replied by Dima on topic HTTP ERROR
OK, I've got it

I add 3000 placemarks again.
Total I've got 6000

And try to show map.
And have got an PHP error

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 5877761 bytes) in
....../components/com_zhgooglemap/views/zhgooglemap/tmpl/default.php
on line 8686

OK!
I got to web server admin panel, and change PHP settings, memory_limit from 64M to 128M

After that I restart web server and try again.

And map is displayed.

I think you should do like me.

For example, enable web server to show PHP errors and warnings and check, what error you've got.
I think - memory limit.


As for time
- With infowin content - 2 min 30 sec
- Without infowin content - 45 sec.

PS - on next week I want to implement JQuery request for placemark action by click and infowin content

Don't forget support my developments: post review in JED , donate , help with translation ;)
Last edit: 11 years 9 months ago by Dima.

Please Log in or Create an account to join the conversation.

Time to create page: 0.141 seconds

Donate


Go to top