Ticket #484 (new bug)

Opened 2 years ago

Last modified 2 weeks ago

Forum Development bugs 2 - Country/Region/City-Tags not working at all

Reported by: micha Owned by: jeanyves
Priority: critical Milestone: 0.6-long
Component: BW Forum Version: all
Keywords: forum bugs locations country city regions Cc: jeanyves
Follow up needed: release Frequently reported: >10
Announce on BW: no

Description

Before the modifications by JeanYves?, we could use the locations to order threads. Now that doesn't seem to work anymore. e.g.:

 http://test.bewelcome.org/forums/kAS-Asia/cAM-Armenia/a04-Geghark%CA%BCunik%CA%BC/g616874-Astghadzor

Loosing this feature would be a major downgrade in my opinion.

Change History

  Changed 2 years ago by micha

Any news on this?

  Changed 2 years ago by philipp

  • cc jeanyves added
  • milestone changed from 0.1.4 - improving userinterface for members and volunteers and start work on big 0.2 tasks to 0.5.2-short cleanup and framework

jean-yves, please comment if you have a clue about this

  Changed 2 years ago by jeanyves

I don't see where it can come from this is probably something to check on the new forum in test

I have'nt change the way forum are connected to location (at least theorically)

  Changed 9 months ago by micha

  • follow_up changed from none to test
  • version changed from test to all
  • freq_reported changed from 1 to >10
  • milestone changed from 0.5.2-short cleanup and framework to 0.6-long

That's a problem now laying in production..

  Changed 9 months ago by globetrotter_tt

  • owner set to jeanyves

This needs some more attention. There are many posts tagged with Europe->Niue now.  http://www.bewelcome.org/forums/kEU-Europe/cNU-Niue/

JeanYves?, could you check this, please?

  Changed 9 months ago by jeanyves

I have fixed it

It was some quite funny bug:

The code was doing update forums_threads set countrycode='NULL' ...

the consequence, since countrycode is only two chars whas that countrycode what receiving NU which is the code of the country Niue (I don't know where it is ?)

The right code was update forums_threads set countrycode=NULL ... (without the quotes) I have clean the bad values in the database, I just hope nobody intented to post something about this place ...

Please check, test and tellif positive close this trac issue (I have fixed it in Production too)

  Changed 9 months ago by globetrotter_tt

This is still not working for me. After i have choosen a continent, there should appea another combobox where i can choose a country, region, city.

This does not happen here.

BTW: Niue is small island state (less cititzen than bewelcome has members ;-) in the pacific ocean.

  Changed 8 months ago by crumbking

  • follow_up changed from test to review code

+1 still does not work. you can just choose a continent.

in reply to: ↑ description   Changed 4 weeks ago by jeanyves

  • follow_up changed from review code to test

Replying to micha:

In fact I think there is no such bug.

I subscribed a member in Astghadzor and the result is that the forum url you provide suddenly works. I think the reason is that the subscription created the entry in geonames, ans so no more missing geonameid->name (the notice error at line 815/830) occurs (because Astghadzor was founded).

Anyway, in case it occurs again, I initialized $geonameid->name to empty string to avoid further notice error. If we meet the case where the area doesn't exists, it will not result in notice errors.

Before the modifications by JeanYves?, we could use the locations to order threads. Now that doesn't seem to work anymore. e.g.:  http://test.bewelcome.org/forums/kAS-Asia/cAM-Armenia/a04-Geghark%CA%BCunik%CA%BC/g616874-Astghadzor Loosing this feature would be a major downgrade in my opinion.

  Changed 3 weeks ago by globetrotter_tt

  • follow_up changed from test to move to alpha

geo tags seems to work on test

  Changed 3 weeks ago by jeanyves

  • follow_up changed from move to alpha to test on alpha

  Changed 3 weeks ago by globetrotter_tt

There are errors when you reply to a post. This is also on test.

1	0.0002	72024	{main}( )	../index.php:0
2	0.0002	72144	main( )	../index.php:78
3	0.0022	327104	RoxLauncher->launch( )	../index.php:63
4	0.0205	709196	RoxLauncher->chooseAndRunApplication( )	../roxlauncher.php:22
5	0.0258	1213460	RoxFrontRouter->route( )	../roxlauncher.php:68
6	0.0331	1568332	RoxFrontRouter->route_normal( )	../roxfrontrouter.class.php:34
7	0.0387	1922100	RoxFrontRouter->runControllerMethod( )	../roxfrontrouter.class.php:224
8	0.0606	4182016	call_user_func ( )	../roxfrontrouter.class.php:341
9	0.0606	4182016	ForumsController->index( )	../roxfrontrouter.class.php:0
10	0.1833	4859092	ForumsView->replyTopic( )	../forums.ctrl.php:271
11	0.1992	5051212	require( '/home/bwrox/alpha.bewelcome.org/build/forums/templates/replyLastPosts.php' )	../forums.view.php:98
12	0.2077	5125540	require( '/home/bwrox/alpha.bewelcome.org/build/forums/templates/singlepost.php' )	../replyLastPosts.php:41

  Changed 2 weeks ago by globetrotter_tt

  • follow_up changed from test on alpha to release

Ok, i think JY fixed this. I could not find any further errors.

Note: See TracTickets for help on using tickets.