anshuwap / mollify

Automatically exported from code.google.com/p/mollify
0 stars 0 forks source link

Eternal Loading on small-icon and large-icon view #438

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
On the root folder's view the loading symbol will remain in the small-icon and 
large-icon view. If i click on one of my folder on the root folder's view 
(small-icon or large-icon), Javascript will throw following error instead of 
loading the content: 

Uncaught com.google.gwt.event.shared.UmbrellaException: One or more exceptions 
caught, see full set in UmbrellaException#getCauses (anonymous function)     
64D56528F8682C54A15CB40A77F471DC.cache.html:350

The folder where this will happen has subfolders. If there is no subfolder but 
just a file in it, the problem does not occure. This does not happen on the sub 
views (in the root folders) or for the list view (even on the root folder's 
view).

Mollify 1.8.9.3 runs on an Linux Appache with PHP 5.3.16

Original issue reported on code.google.com by christop...@gmail.com on 11 Feb 2013 at 10:57

GoogleCodeExporter commented 9 years ago
Unfortunately the "UmbrellaException" does not tell anything about what 
happened. Could you check the PHP error log if there is something?

For sure it's not "loading eternally", there's simply exception that prevents 
from rendering the icon view.

Original comment by samuli.j...@gmail.com on 14 Feb 2013 at 10:38

GoogleCodeExporter commented 9 years ago
Thank you for your reply. The php error_log file located in the backend folder 
fill have this line more than a few times:

[14-Feb-2013 14:43:14 UTC] MOLLIFY ERROR: PHP error #2, mysqli_connect() [<a 
href='function.mysqli-connect'>function.mysqli-connect</a>]: (HY000/1041): Out 
of memory; check if mysqld or some other process uses all available memory; if 
not, you may have to use 'ulimit' to allow mysqld to use more memory or you can 
add more swap space 
(/home/alpraus/public_files/backend/include/mysql/MySQLIDatabase.class.php:77)

Is this information usefull?

Original comment by christop...@gmail.com on 14 Feb 2013 at 4:23

GoogleCodeExporter commented 9 years ago
If that's the error you get every time, then certainly it's blocking it. 
However, I've never heard of "out of memory" in MySQL, and have no idea why it 
happens in icon view. Could you send me full logs so I can see what happens 
before this.

Original comment by samuli.j...@gmail.com on 16 Feb 2013 at 9:20

GoogleCodeExporter commented 9 years ago
I think the actual error here is the fact that you have "/" in file names, as 
this won't pass the filename validator (it checks that nobody tries to escape 
the folder by adding "/..." and that's why both slashes are forbidden). Try 
renaming files like this (outside Mollify).

The out of memory error is weird, you could ask your service provider why does 
it happen, never seen one before.

Original comment by samuli.j...@gmail.com on 16 Feb 2013 at 12:52

GoogleCodeExporter commented 9 years ago
I checked all folders and files for special character and had to remove some 
":". But the real problem was in the Naming of the  Published Folders in the 
Mollify Backend. I Used an "/" in the folder's visible name. Removing the "/" 
solved the problem.

Thank you for your help.

Original comment by christop...@gmail.com on 16 Feb 2013 at 4:23

GoogleCodeExporter commented 9 years ago
Great that you solved it

Original comment by samuli.j...@gmail.com on 17 Feb 2013 at 12:46