[FIXED] Serious LIMIT problem causes blank pages - Joomla! Forum - community, help and support


i have large website running on mambo looking upgrade joomla. on test-server installed same site on latest joomla version. discovered serious problem in (amongst others) components/com_content/content.php on latest versions of both mambo , joomla:

all of select queries not limited or limited @ all. causes serious problems large websites.

my site has on 1300 content items. when visiting front page or large blogsection such newssection, joomla returns blank page. caused memory-limit set on mysql server of hosting provider. single query not allowed generate more amount of data.

the queries in content.php never limited. means if site grows large enough , hosting provider has set memory limit on mysql database, parts of site go blank because server refuses perform query or returns error.

i first encountered when frontpage went blank while ago. solution remove "show on front page" check on oldest items. after removing enough items front page, worked again. same thing happened on blogsections. after putting "limit 500" after select queries in content.php blogsection page showed correctly again.

i think solution rewrite parts of content.php code. if user requests page 1 of blogsection of front page, mysql query should limit query items only. may prevent major performance issues on large websites if implemented.

i hope joomla developers find post useful , hope can , fixed in future version.

thanks,
mrzystem

(unfortunately lack of limiting found in other parts , lot of 3rd party components , modules. instance, can no longer use admin backend of ako_comment because there 13.000 comments items , queries aren't limited.)

moving thread "joomla! 1.0.x_q&t" board.





Comments

Popular posts from this blog

Convierte tu Raspberry en un NAS. Firmware fvdw-sl 15.3 - Raspberry Pi Forums

How to format a Get Request

avrdude: verification error, first mismatch at byte 0x0000 0x0c != 0x62