New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All websites html rendering fails with many websites #3715
Comments
My issue seems similar to Mati's, and I want to give more specifics about how to reproduce and fix. First, some general info: OS: RHEL 5.9 Problem: All Websites link returns blank page after only 1-3 seconds. None of the solutions offered by matt and others in the forum to similar reports worked for me. My PHP settings are ideal. No errors ever appear on the page nor in apache error logs. Just a blank page. Reproduce:
So my temporary fix is to change either the 5th or 6th paramater to the setRowData call to $site.idsite (instead of $site.name or $site.main_url) on line 13 of index.tpl. Now I can load All Websites fine with any number of sites, in my case all my 791 sites, even though I lose either the site's name or url on the page. This agrees with Mati's findings above that reducing the size of data in the allSites array fixes the All Websites blank page issue. Total length of piwik.p_site.name for all 791 sites:15307 Let me know if any other data would be helpful. |
Can you please contact me at matt@piwik.org as I would like to investigate this issue. PLease update to1.10.1 prior and contact me! |
please give more information about the bug so we can help (contact me and Id be happy to fix this bug!) |
A blank page, have you tried "View source" to check if it's really blank page? otherwise a blank page should really log some kind of errors. If you install piwik in a new database, then if you copy the "site" table with your 800 sites into this new Piwik DB, canyou replicate the issue? If so, send me the "site" table dump and ill try reproduce on my Piwik and fix the bug. thx! |
This was fixed in 2.0 |
Hello,
I have 500+ (and growing over time) websites with long urls and names (important fact). Since a few days ago I cannot view the "all websites" page anymore - it returns a empty result.
I've done some debugging and managed to see that its a Smarty related issue. Specifically with the MultiSites/templates/index.tpl template file. Even more specifically, the following code (shortened to be readable):
{foreach from=$sitesData key=i item=site}
allSites[{$i}] = new setRowData({$site.idsite}, ...
{/foreach}
The failure is due to the output size. If I change the code into:
{foreach from=$sitesData key=i item=site}
all[{$i}] = set({$site.idsite}, ...
{/foreach}
Then it works. The difference being, I removed some characters, making the output smaller.
I believe it is a Smarty issue, perhaps related to my php configuration. However, I am unfamiliar with Smarty and don't know how to debug it further.
Please assist and instruct.
Kind regards,
Mati Skiba
The text was updated successfully, but these errors were encountered: