Small error when using nginx as webserver

oliverjoom
9 years, 7 months ago
Hi,

I'm currently trying out MobileJoomla 2.0.7 using Nginx 1.8 as webserver. While everything seems to work fine, I am seeing two kinds of errors in my nginx error logfile:


1. Regular attempts to access: /media/mj/images/ajax-loader.gif
2. Regular attempts to access various files in the /media/mj/images/icons-png/ directory
Files like bars-white.png home-white.png carat-r-white.png and many more

I see those files in the /templates/mobile_basic/vendor/jqm/images/icons-png/

directory.

Do I have to create symlinks to fix these errors? In the mj folder I only see what seems to be the cached versions of the website. But no image directory exists in there...

Thanks for a short feedback
dryabov
9 years, 7 months ago
Most likely it is the issue introduced in 2.0.7 (using of min.js files if presented), I'll fix it in 2.0.9 soon. Thank you for bugreport.
dryabov
9 years, 7 months ago
Released MJ 2.0.9, check it.
oliverjoom
9 years, 7 months ago
Ok this is not good: Before reading your last post I upgraded from 2.0.7 to 2.0.8 but this upgrade broke MobileJoomla completely: When I try to switch to the mobile version I get a "Bad Gateway 502" error. It is the same for 2.0.9, So this seems to be related to a change you mande from .7 to .8 I reinstalled 2.0.7 and now everything works fine again. I recommend you revert those two updates and stick with 2.0.7 until this is clarified.
dryabov
9 years, 7 months ago
Could you check attached version (2.0.10.pre)?
oliverjoom
9 years, 7 months ago
Just tried it but I still get a 502 bad gateway error
dryabov
9 years, 7 months ago
Fixed in MJ 2.0.10.
oliverjoom
9 years, 7 months ago
Yes version 2.0.10 is working again


I have one other short question: I have used MJ now just for 2 days but my /media/mj folder already has 750MB of data in it and it keeps growing fast. I'm thinking about disabling the server caching function just to see how much it impacts performance but the content of the folder does not get deleted when disabling server caching. Can I break anything by deleting all files in /media/mj or will missing files simply be replaced by new ones if I choose to enable server caching again lateron?
dryabov
9 years, 7 months ago
Most likely it means you have dynamically generated <script> tags in page. Try to
1) Disable "Load external" for Javascripts (Advanced section in MJ backend settings) if it is enabled
2) If above doesn't help, disable Server-side optimization and PM me URL of your website.
oliverjoom
9 years, 7 months ago
Actually "Load external" in the JS section was already set to "No". Again the question:

After I disable server caching - can I delete the content of /media/mj without breaking anything?
1

By continuing to use this site you consent to the use of cookies on your device as described in our cookie policy unless you have disabled them. This site will not function correctly without cookies.

I accept cookies from this site.