Discuss experience with latest git-version 1.5x - part4

Status: finished.
Here you can find pre-releases of JoomLeague, Errors and problems with these versions should only be discussed in this board.
NOTICE: BETA and RC versions should not be used on a live site! No support on upgrading to the final version!

Moderator: And_One

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Discuss experience with latest git-version 1.5x - part4

Postby timoline » Tue Oct 05, 2010 10:53 am

Part-4

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby johncage » Tue Oct 05, 2010 11:33 am

ok, @teddy and all others... as far as performance is concerned i am rather frightened about matrix view... my local apache/mysql took 101% of granted memory and for a short time i had a hovercraft laptop, but i'm not sure what exactly causes this... maybe 2night i can have a look

User avatar
teddy
.
Posts: 305
Joined: Wed Feb 28, 2007 12:01 pm

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby teddy » Tue Oct 05, 2010 11:40 am

Answering Carsten last post
you mean hard / overkill because of server performance?

since you've published the resultsranking view new code I assume adding a next matches table besides results view (splitting 50%-50% horizontal space) would require additional work, so it would be hard (or not easy enough to justify the effort) to achieve, right?
Thanks anyway for your contribution, been waiting for this for months, you make things seem easy when they are not (not for me at least...).

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Tue Oct 05, 2010 11:51 am

Well,
as I explained before it shouldnt be that difficult,
It was just a matter of finding the correct way to do it..and Johncage have found it :thx:

I'll commit it tonight....as Kurt or And_one havent done it already

Ps. Now It shouldnt be so hard to do the same for resultsmatrix and resultsrankingmatrix....

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby johncage » Tue Oct 05, 2010 12:28 pm

teddy wrote:since you've published the resultsranking view new code I assume adding a next matches table besides results view (splitting 50%-50% horizontal space) would require additional work, so it would be hard (or not easy enough to justify the effort) to achieve, right?
Thanks anyway for your contribution, been waiting for this for months, you make things seem easy when they are not (not for me at least...).

i'm not really sure i'm getting you right... you mean sth. like in attached image?

or do you just mean round 4 (actual round) and round 5 on one page?
You do not have the required permissions to view the files attached to this post.

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby johncage » Tue Oct 05, 2010 12:45 pm

timoline wrote:Part-4

as far as your former question about controller is concerned, the controller in resultsranking view and eg matrix view isn't executed anyway... i deleted both controllers and nothing changed... ;)

:thx: you will put view into this f****** git... maybe you still can improve the files in tmpl folder... i just quickndirty copied from results' resp. ranking's tmpl folders

User avatar
teddy
.
Posts: 305
Joined: Wed Feb 28, 2007 12:01 pm

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby teddy » Tue Oct 05, 2010 1:10 pm

The attachment should clear any doubt:
above, there's the ranking (cropped a bit here, but should resemble one very well)
below there are:
results (matches played last sunday)
next matches (upcoming matches, to be played next sunday)
What do you think about it?

resrank.jpg
You do not have the required permissions to view the files attached to this post.

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby johncage » Tue Oct 05, 2010 2:16 pm

teddy wrote:The attachment should clear any doubt:
above, there's the ranking (cropped a bit here, but should resemble one very well)
below there are:
results (matches played last sunday)
next matches (upcoming matches, to be played next sunday)
What do you think about it?

maybe not a bad idea... but status quo of results view and -model makes this not an easy thing to do...

there are some things in tmpl files of results entries which... let's say: prevent me from wanna touch their boobies... ;)

maybe a work-around with using a module showing next round's result on this view in addition to component would make you happier for approximately the next 99 years.... ;) :motz: :help:

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby johncage » Tue Oct 05, 2010 2:37 pm

we should also expand second third (sorry) parameter of

JoomleagueModelResults::formatTeamName()

with maybe id of match, so instead of
't'.$team->id
't'.$team->id.'_m'.$game->id
for example, because if a team has more than one game a round not the right box with icons appears (and of course html-validator sings his own song)

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Tue Oct 05, 2010 2:43 pm

what is default_assignRefs.php used for?

And I'm also curious if this resultsranking view works with extensions?

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby johncage » Tue Oct 05, 2010 3:04 pm

timoline wrote:what is default_assignRefs.php used for?

And I'm also curious if this resultsranking view works with extensions?

only copied from view/ranking/tmpl/

where it still is... i didn't plan to read all coding so i just copied it... don't know where it came from or what it is meant for. :)

and i have neither an extension to test nor do i know where joomleague loads the extensions... but if extensions work with results view and ranking view it should do also for this view, shouldn't it?

thought it was meant as some kind of template overriding but i'm not deep inside this jl1.5 version yet so i don't know.

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Tue Oct 05, 2010 3:15 pm

Yes, extensions is exactly what you say it is: "some kind of template overriding"

Ok,thx, I'll check that too then

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby johncage » Tue Oct 05, 2010 3:40 pm

timoline wrote:And I'm also curious if this resultsranking view works with extensions?

as fas as my little test is concerned it works.

putted all called view templates to test folder in extensions and changed small things, all have been successfully overwritten for me

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Tue Oct 05, 2010 3:46 pm

johncage wrote:
timoline wrote:And I'm also curious if this resultsranking view works with extensions?

as fas as my little test is concerned it works.

putted all called view templates to test folder in extensions and changed small things, all have been successfully overwritten for me


thx for testing

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby johncage » Tue Oct 05, 2010 4:12 pm

timoline wrote:
thx for testing

but i have changed all necessary pathes in default.php of
'extensions'.DS.'test'.DS.'views'.DS.'resultsranking' directory,
not sure if this was the way it was meant to be...

seems $this->getName() in jlgview.php doesn't return a valid one... is this the reason you added a controller 4 every view?

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Tue Oct 05, 2010 4:23 pm

johncage wrote:
timoline wrote:
thx for testing

but i have changed all necessary pathes in default.php of
'extensions'.DS.'test'.DS.'views'.DS.'resultsranking' directory,
not sure if this was the way it was meant to be...

seems $this->getName() in jlgview.php doesn't return a valid one... is this the reason you added a controller 4 every view?


view commited...

I hope And_one can answer your question, I really don't know, these controllers are there for ages now

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby johncage » Tue Oct 05, 2010 10:23 pm

might someone plz confirm this as a bug...

when i add

Code: Select all

echo 'Number of results in matrix: ' .count($this->results);


on top of:

components/com_joomleague/views/matrix/tmpl/default_matrix.php

in output after about 108 seconds i get

Number of results in matrix: 34032

maybe this is the reason why my laptop became a hovercraft when calling matrix view... :whistling:

:thx: and ceyah next week! have fun!

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Wed Oct 06, 2010 7:22 am

Number of results in matrix: 531
with 12 teams

vegeta
.
Posts: 50
Joined: Fri Sep 21, 2007 5:45 pm

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby vegeta » Wed Oct 06, 2010 1:00 pm

Code: Select all

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY t.name LIMIT 0, 20' at line 20 SQL=SELECT tl.id AS projectteamid, tl.*, u.name AS editor, u.email AS email, t.name, t.club_id, c.email AS club_email, (SELECT count(id) FROM jos_joomleague_team_player WHERE projectteam_id = projectteamid ) playercount, (SELECT count(id) FROM jos_joomleague_team_staff WHERE projectteam_id = projectteamid ) staffcount, tl.info FROM jos_joomleague_project_team AS tl LEFT JOIN jos_joomleague_team t on tl.team_id = t.id LEFT JOIN jos_users u on tl.admin = u.id LEFT JOIN jos_joomleague_club c on t.club_id = c.id LEFT JOIN jos_joomleague_division d on d.id = tl.division_id LEFT JOIN jos_joomleague_playground plg on plg.id = tl.standard_playground WHERE tl.project_id = ORDER BY t.name LIMIT 0, 20



Error in backend, when selecting teams in project menu.

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Wed Oct 06, 2010 4:55 pm

vegeta wrote:

Code: Select all

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY t.name LIMIT 0, 20' at line 20 SQL=SELECT tl.id AS projectteamid, tl.*, u.name AS editor, u.email AS email, t.name, t.club_id, c.email AS club_email, (SELECT count(id) FROM jos_joomleague_team_player WHERE projectteam_id = projectteamid ) playercount, (SELECT count(id) FROM jos_joomleague_team_staff WHERE projectteam_id = projectteamid ) staffcount, tl.info FROM jos_joomleague_project_team AS tl LEFT JOIN jos_joomleague_team t on tl.team_id = t.id LEFT JOIN jos_users u on tl.admin = u.id LEFT JOIN jos_joomleague_club c on t.club_id = c.id LEFT JOIN jos_joomleague_division d on d.id = tl.division_id LEFT JOIN jos_joomleague_playground plg on plg.id = tl.standard_playground WHERE tl.project_id = ORDER BY t.name LIMIT 0, 20



Error in backend, when selecting teams in project menu.


I think you meant assigning a team to a project?
Just tested it, cant reproduce it.....

vegeta
.
Posts: 50
Joined: Fri Sep 21, 2007 5:45 pm

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby vegeta » Thu Oct 07, 2010 10:44 am

Solved with new install, dont know why...

in player view, player name in JL_PLAYER_INFORMATION - and others doesn't apear...

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Thu Oct 07, 2010 11:03 am

vegeta wrote:Solved with new install, dont know why...

in player view, player name in JL_PLAYER_INFORMATION - and others doesn't apear...

Screenshot please

vegeta
.
Posts: 50
Joined: Fri Sep 21, 2007 5:45 pm

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby vegeta » Thu Oct 07, 2010 3:35 pm

timoline wrote:
vegeta wrote:Solved with new install, dont know why...

in player view, player name in JL_PLAYER_INFORMATION - and others doesn't apear...

Screenshot please


Here you go (attach.)

And with latest git version, ranking table simply doesnt work, reinstalled like said in bugtracker, but nothing. Only blank page.
You do not have the required permissions to view the files attached to this post.

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Thu Oct 07, 2010 4:01 pm

well, the english languague file isnt even finished, so its very possible the language file you use is not uptodate or finished too...
We give a go to the translators if the english languague file is finished.......(read the frontpage!!!)

User avatar
johncage
.
Posts: 953
Joined: Fri May 11, 2007 11:49 pm
Location: Somewhere under the rainbow
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby johncage » Sat Oct 09, 2010 2:09 am

timoline wrote:Number of results in matrix: 531
with 12 teams

thnx 4 confirm this not only happens with my local copy (updating from server doesn't work every time i try)

so plz simply someone add respectively replace (if that's not already's been done):

//$query_WHERE = " WHERE m.project_id = ".$project_id;
with
$query_WHERE = " WHERE r.project_id = ".$project_id;

in matrix model function getMatrixResults( $project_id, $unpublished = 0 )...

then not ALL existing matches in db are loaded from db...
:whistling: .

though there is no ticket yet this is a bug... and it is fixed much faster than spanking the monkey... :thx:

it ain't easy erasing most all helpful db-fields for project or team, , is it?! >:D ;)

ps: russia deserved to win last night though 3rd goal really was a lucky shot!

good night.

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Sat Oct 09, 2010 9:32 am

Done, thx

And_One
Joomleague Project Manager, Donator
Joomleague Project Manager, Donator
Posts: 3610
Joined: Fri Sep 11, 2009 4:00 pm
Joomleague version: 2.0.x
Location: Graz
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby And_One » Sun Oct 10, 2010 12:44 pm

just to mention the jl_update_15_db_tables.php needs to be executed once with the latest git.

phiLphiLphiL
Newbie
Posts: 17
Joined: Sat Jul 17, 2010 2:44 am

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby phiLphiLphiL » Tue Nov 09, 2010 7:46 pm

i tried to update my Joomleague version to the newest one.

After installing the zip paket, screen was white and nothing happened. A 'new' Joomleague version was installed, but in components -> Joomleague is "JoomLeague - v0.0.0."

I tried several times, all the same result.

(Joomla 1.15.18)

Any ideas?


EDIT//

after executing jl_update_15_db_tables.php and reinstalling Joomleague build, its JoomLeague - v1.5.0.c7be02a, but i cant change anything in Frontendsetting. Save Button doesnt work...
Joomla 1.5.22
Joomleague v1.5.0.2e20276
http://www.fc-dahn.de

User avatar
timoline
Joomleague Core Developer, Donator
Joomleague Core Developer, Donator
Posts: 3331
Joined: Thu Mar 12, 2009 8:03 am
Contact:

Re: Discuss expences with latest git-version of JL 1.5.x - p

Postby timoline » Tue Nov 09, 2010 8:17 pm

I think we cant support your update, I think you need to do a new clean install,
there is so many changed in the db and in all files...........



We said it many times
IMPORTANT NOTE: JL1.5 is an early version and is not intended to run on any type of production site. It is intended to be used for evaluation purposes only !!!

phiLphiLphiL
Newbie
Posts: 17
Joined: Sat Jul 17, 2010 2:44 am

Re: Discuss experience with latest git-version 1.5x - part4

Postby phiLphiLphiL » Wed Nov 10, 2010 3:17 pm

Okay,

i installed a 2nd Version with Joomla 1.5.22 and newst Joomleague build.

So i have the old (working) installation and the new one for testing only (different domains).

Everything is fine now, only one problem: the referees list isn't working anymore. I created new persons and assigned them to 'referees'. If i choose 'referee list' page is empty. the 'one referee detail'-page works fine.
Joomla 1.5.22
Joomleague v1.5.0.2e20276
http://www.fc-dahn.de


Return to “1.5.0-a (Alpha)”

Who is online

Users browsing this forum: No registered users and 2 guests

cron