Page 1 of 1

error

Posted: 24 Apr 2018, 09:37
by Anastasiya
After the transfer to another host and the update, an error occurred. how to fix? 

2 symlink() has been disabled for security reasons

file: /home...app/parsers/slir/slir.class.php

Re: error

Posted: 24 Apr 2018, 09:41
by Anastasiya
Anastasiya wrote: After the transfer to another host and the update, an error occurred. how to fix? 

2 symlink() has been disabled for security reasons

file: /home...app/parsers/slir/slir.class.php
Line 1195

Re: error

Posted: 24 Apr 2018, 11:01
by mjau-mjau
Where do you see that error? Try go to Settings > Advanced > Image Resizer, and disable "Symlink request cache":
Image

Re: error

Posted: 25 Apr 2018, 02:08
by Anastasiya
mjau-mjau wrote: Where do you see that error? Try go to Settings > Advanced > Image Resizer, and disable "Symlink request cache":
Image
Symlink request cache is disabled, but the error remains

Re: error

Posted: 25 Apr 2018, 05:41
by mjau-mjau
If you want efficient help:
  • I asked in my last email "where you see that error". Please answer.
  • If you want me to diagnose, please at least provide a LINK to your website with error.

Re: error

Posted: 25 Apr 2018, 05:45
by mjau-mjau
I am guessing this:
  • The message you are referring to is a WARNING, not an ERROR.
  • Although you have disabled SYMLINK for images, your server is displaying the warning because it sees the code, although it is not used.
  • Your server has "SHOW ALL WARNINGS" enabled.
  • Thus the above is a BAD combination of settings on your server. You can't have special server setting "disabled symlinks" AND have "show all warnings", and expect warnings not to show. We use symlinks in X3 to speed up image delivery.

Re: error

Posted: 25 Apr 2018, 06:30
by Anastasiya
mjau-mjau wrote: If you want efficient help:
  • I asked in my last email "where you see that error". Please answer.
  • If you want me to diagnose, please at least provide a LINK to your website with error.
http://nastasiya.com/Portfolio/Wedding/RomaJuliya/

errors appear and disappear in all folders with photos

Re: error

Posted: 25 Apr 2018, 06:45
by Anastasiya
server
error log

[12-Apr-2018 19:24:18 UTC] PHP Fatal error:  Uncaught exception 'SLIRException' with message '2 symlink() has been disabled for security reasons

File: /home/user5084/public_html/app/parsers/slir/slir.class.php
Line 1195' in /home/user5084/public_html/app/parsers/slir/slirexception.class.php:249
Stack trace:
#0 [internal function]: SLIRException::error(2, 'symlink() has b...', '/home/user5084/...', 1195, Array)
#1 /home/user5084/public_html/app/parsers/slir/slir.class.php(1195): symlink('../../../_cache...', '../../../_cache...')
#2 /home/user5084/public_html/app/parsers/slir/slir.class.php(1177): SLIR->cacheFile('../../../_cache...', '\xFF\xD8\xFF\xE0\x00\x10JFIF\x00\x01\x01\x00\x00...', true, '../../../_cache...')
#3 /home/user5084/public_html/app/parsers/slir/slir.class.php(1138): SLIR->cacheRequest('\xFF\xD8\xFF\xE0\x00\x10JFIF\x00\x01\x01\x00\x00...', true)
#4 /home/user5084/public_html/app/parsers/slir/slir.class.php(1417): SLIR->cache()
#5 /home/user5084/public_html/app/parsers/slir/slir.class.php(230): SLIR->serveRenderedImage()
#6 /home/user508 in /home/user5084/public_html/app/parsers/slir/slirexception.class.php on line 249
[12-Apr-2018 19:24:18 UTC] PHP Fatal error:  Uncaught exception 'SLIRException' with message '2 symlink() has been disabled for security reasons

Re: error

Posted: 25 Apr 2018, 11:02
by mjau-mjau
Your images are working, but it's CACHE related. Below is an image displaying in website with error. When busting the cache, you will see it works fine:
http://nastasiya.com/render/w1024/2.Por ... ?cachebust

In fact, all your images work fine. Here is a new request w320:
http://nastasiya.com/render/w320/2.Port ... C_4641.jpg

Your server is caching output of some previous results:
Image

But if you open in Chrome INCOGNITO (always requests fresh sources), you can see it works fine:
Image
[12-Apr-2018 19:24:18 UTC] PHP Fatal error:  Uncaught exception 'SLIRException' with message '2 symlink() has been disabled for security reasons
This was the errors that happened BEFORE you disabled symlink request cache. 12-apr-2018.

Re: error

Posted: 26 Apr 2018, 04:31
by Anastasiya
mjau-mjau wrote: Your images are working, but it's CACHE related. Below is an image displaying in website with error. When busting the cache, you will see it works fine:
http://nastasiya.com/render/w1024/2.Por ... ?cachebust

In fact, all your images work fine. Here is a new request w320:
http://nastasiya.com/render/w320/2.Port ... C_4641.jpg

Your server is caching output of some previous results:
Image

But if you open in Chrome INCOGNITO (always requests fresh sources), you can see it works fine:
Image
[12-Apr-2018 19:24:18 UTC] PHP Fatal error:  Uncaught exception 'SLIRException' with message '2 symlink() has been disabled for security reasons
This was the errors that happened BEFORE you disabled symlink request cache. 12-apr-2018.
I still have incognito errors

Re: error

Posted: 26 Apr 2018, 12:19
by mjau-mjau
It's your cache, in some way or another.

Tested from browserling:
Image

dotcom tools, various locations:
Image
Image

Image

Cloudflare:
https://tools.pingdom.com/#!/cdGQF7/htt ... omaJuliya/
Image

Sorry, but I can't fix caching issues for you. Your website is working fine now.