Search…

X3 Photo Gallery Support Forums

Search…
 
Anastasiya
Topic Author
Posts: 6
Joined: 13 Apr 2018, 04:46

error

24 Apr 2018, 09:37

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
 
Anastasiya
Topic Author
Posts: 6
Joined: 13 Apr 2018, 04:46

Re: error

24 Apr 2018, 09:41

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: error

24 Apr 2018, 11:01

Where do you see that error? Try go to Settings > Advanced > Image Resizer, and disable "Symlink request cache":
Image
 
Anastasiya
Topic Author
Posts: 6
Joined: 13 Apr 2018, 04:46

Re: error

25 Apr 2018, 02:08

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: error

25 Apr 2018, 05:41

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.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: error

25 Apr 2018, 05:45

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.
 
Anastasiya
Topic Author
Posts: 6
Joined: 13 Apr 2018, 04:46

Re: error

25 Apr 2018, 06:30

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
 
Anastasiya
Topic Author
Posts: 6
Joined: 13 Apr 2018, 04:46

Re: error

25 Apr 2018, 06:45

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: error

25 Apr 2018, 11:02

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.
 
Anastasiya
Topic Author
Posts: 6
Joined: 13 Apr 2018, 04:46

Re: error

26 Apr 2018, 04:31

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
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13997
Joined: 30 Sep 2006, 03:37

Re: error

26 Apr 2018, 12:19

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.