GetSimple Support Forum
nginx i18n_gallery - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16)
+--- Thread: nginx i18n_gallery (/showthread.php?tid=4140)



nginx i18n_gallery - valdiks - 2013-01-14

Hello! I have problem with nginx and i18n_gallery plugin.
I'm getting this:
[attachment=73]
but when I click to image it opens as fancybox.

Also link to this image is like this:
plugins/i18n_gallery/browser/pic.php?p=gallery%2Ftem2.jpg&w=160&h=120

Does some one have/had same problem?

Thank you.


RE: nginx i18n_gallery - valdiks - 2013-01-15

Okay,
i've changet
PHP Code:
fastcgi_param SCRIPT_FILENAME $document_root/index.php
to
PHP Code:
fastcgi_param SCRIPT_FILENAME $document_root/$fastcgi_script_name
in section location ~* \.php$ { ... } and it worked.


RE: nginx i18n_gallery - marrco - 2013-01-15

i0m using that plugin with a config very similar to the one posted here: http://get-simple.info/forums/showthread.php?tid=1269

hth