MATCHES MODULE: Gateway Timeout

Moderator: And_One

calciodonne
.
Posts: 102
Joined: Sat Aug 08, 2009 5:37 pm
Joomleague version: 2.0.x
Location: firenze
Contact:

MATCHES MODULE: Gateway Timeout

Postby calciodonne » Mon Aug 25, 2014 8:11 am

Good Morning,

I installed the latest release of jl 2.92.234 and all function very well. I have a problem with the module matches, does not make me open the module and I can not configure it. the server goes Gateway Timeout. this problem in all my sites.
I tried to change the php version from 5.3.28 to 5.4.30 or 5.5.14 but the problem remains. What is the problem?

with best regards

Walter
Walter Pettinati
JOOMLA 3.6.2
JoomLeague - v 3.0.16.5739060

Heart
Joomleague Core Developer
Joomleague Core Developer
Posts: 653
Joined: Fri Apr 23, 2010 10:27 am

Re: MATCHES MODULE: Gateway Timeout

Postby Heart » Tue Aug 26, 2014 8:38 am

hmmm error reporting set to true/display?

Do you have "thousands of matches" in your database and you didn't restrict the matches date range (x days) which should be shown!?

calciodonne
.
Posts: 102
Joined: Sat Aug 08, 2009 5:37 pm
Joomleague version: 2.0.x
Location: firenze
Contact:

Re: MATCHES MODULE: Gateway Timeout

Postby calciodonne » Tue Aug 26, 2014 9:06 am

I have thousands of games and do not know where I need to restrict the date range matches ..
the problem is that if I try to insert the new module: matches the site goes gateway timeout.
not open the module matches so I can not configure it
Walter Pettinati
JOOMLA 3.6.2
JoomLeague - v 3.0.16.5739060

Heart
Joomleague Core Developer
Joomleague Core Developer
Posts: 653
Joined: Fri Apr 23, 2010 10:27 am

Re: MATCHES MODULE: Gateway Timeout

Postby Heart » Tue Aug 26, 2014 12:28 pm

...but you can configure the matches module in the backend?

calciodonne
.
Posts: 102
Joined: Sat Aug 08, 2009 5:37 pm
Joomleague version: 2.0.x
Location: firenze
Contact:

Re: MATCHES MODULE: Gateway Timeout

Postby calciodonne » Tue Aug 26, 2014 12:41 pm

No, i cannot
this is the problem!
Walter Pettinati
JOOMLA 3.6.2
JoomLeague - v 3.0.16.5739060

Heart
Joomleague Core Developer
Joomleague Core Developer
Posts: 653
Joined: Fri Apr 23, 2010 10:27 am

Re: MATCHES MODULE: Gateway Timeout

Postby Heart » Sun Aug 31, 2014 10:57 pm

Hmmm, than it doesn't matter how much matches you have in the db (this must be another issue).
Error reporting set to max, any error output there (or in the server log)!?

(you can pm me your admin login then I will have a look at it)

calciodonne
.
Posts: 102
Joined: Sat Aug 08, 2009 5:37 pm
Joomleague version: 2.0.x
Location: firenze
Contact:

Re: MATCHES MODULE: Gateway Timeout

Postby calciodonne » Mon Sep 01, 2014 8:41 am

ok I send admin login by PM

You have recevied my private messagge? please confirm
Walter Pettinati
JOOMLA 3.6.2
JoomLeague - v 3.0.16.5739060

Heart
Joomleague Core Developer
Joomleague Core Developer
Posts: 653
Joined: Fri Apr 23, 2010 10:27 am

Re: MATCHES MODULE: Gateway Timeout

Postby Heart » Thu Sep 04, 2014 12:21 pm

...for the record

Ok, "fixed".... you can now make a new matches module and it should work.

Your problem was you have sooooooo many folders in your ./images/* folder. In the matches module we have a setting "Choose a folder where your country flags are located:" and here we check what folders you have in images and media folder and list it in a select dropdown box.

Because you have that much folders in your images folder this check what folders are there (and put it in an array) take way too much time (>120s) so you reach your ISP limit and that gateway error is written.

What I've done now is I changed the file

/modules/mod_joomleague_matches/fields/flagsfolder.php

and commented out some lines so this check which folders are there is only searching the media folder (and skip that check on your images folder).


Return to “matches”

Who is online

Users browsing this forum: No registered users and 1 guest

cron