Welcome, Guest
Username Password: Remember me

Small error when using nginx as webserver
(1 viewing) (1) Guest
  • Page:
  • 1
  • 2

TOPIC: Small error when using nginx as webserver

Small error when using nginx as webserver 9 years, 3 months ago #19468

  • oliverjoom
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
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
Last Edit: 9 years, 3 months ago by oliverjoom.

Re: Small error when using nginx as webserver 9 years, 3 months ago #19471

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4863
  • Karma: 105
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.

Re: Small error when using nginx as webserver 9 years, 3 months ago #19472

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4863
  • Karma: 105
Released MJ 2.0.9, check it.

Re: Small error when using nginx as webserver 9 years, 3 months ago #19473

  • oliverjoom
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
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.

Re: Small error when using nginx as webserver 9 years, 3 months ago #19474

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4863
  • Karma: 105
Could you check attached version (2.0.10.pre)?
Attachments:

Re: Small error when using nginx as webserver 9 years, 3 months ago #19477

  • oliverjoom
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
Just tried it but I still get a 502 bad gateway error

Re: Small error when using nginx as webserver 9 years, 3 months ago #19478

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4863
  • Karma: 105
Fixed in MJ 2.0.10.

Re: Small error when using nginx as webserver 9 years, 3 months ago #19481

  • oliverjoom
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
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?

Re: Small error when using nginx as webserver 9 years, 3 months ago #19482

  • dryabov
  • OFFLINE
  • Administrator
  • Denis Ryabov, Lead Developer
  • Posts: 4863
  • Karma: 105
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.

Re: Small error when using nginx as webserver 9 years, 3 months ago #19484

  • oliverjoom
  • OFFLINE
  • Fresh Boarder
  • Posts: 11
  • Karma: 0
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?
  • Page:
  • 1
  • 2
Time to create page: 0.10 seconds

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.