Search…

X3 Photo Gallery Support Forums

Search…
 
lingkiin
Topic Author
Posts: 7
Joined: 19 May 2011, 23:21

twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 02:00

I did a new clean setup for Imagevue X3 but seems there is some problem.

https://mopystudio.com/
>> Notice: Undefined variable: myvar in .....twig.imagevue.inc.php


https://mopystudio.com/galleries/food/
>> symlink(): Could not fetch file information(error 3)

Windows platform, PHP 5.5. Using MySQL DB.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 03:17

I guess I was hoping for production-level servers for X3, and not home servers with non-standard settings (and windows!). However, I guess it helps smooth out certain issues for the future. Try to replace the file /extensions/twig.imagevue.inc.php with this updated file twig.imagevue.inc.php.

Basically in your php.ini, you have error_reporting set to report "notices", which breaks the X3 layout although it is just an empty variable:
Code
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
 
lingkiin
Topic Author
Posts: 7
Joined: 19 May 2011, 23:21

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 03:26

Thank you very much for your help.
This is actually my testing server.

Here's another error:
>> symlink(): Could not fetch file information(error 3)
 
morgenius
Experienced
Posts: 43
Joined: 20 Aug 2014, 04:41

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 03:37

mjau-mjau wrote:I guess I was hoping for production-level servers for X3, and not home servers with non-standard settings (and windows!). However, I guess it helps smooth out certain issues for the future. Try to replace the file /extensions/twig.imagevue.inc.php with this updated file twig.imagevue.inc.php.
Thank you, Karl :) A problem has gone :)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 03:57

lingkiin wrote:This is actually my testing server.
Yes, and therefore it does not comply with standard production-level server settings, which is dodgy business especially since we are dealing with an early beta version here.
lingkiin wrote:Here's another error:
>> symlink(): Could not fetch file information(error 3)
... which is related to your non-standard home server setup on windows and slightly hard to diagnose, especially since it is not reporting any scripts. I think it is related to the image resizer class ... However, does it actually create any errors on the page like images not loading? ... or is it just reporting that notification?
 
lingkiin
Topic Author
Posts: 7
Joined: 19 May 2011, 23:21

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 04:00

mjau-mjau wrote:
lingkiin wrote:This is actually my testing server.
Yes, and therefore it does not comply with standard production-level server settings, which is dodgy business especially since we are dealing with an early beta version here.
lingkiin wrote:Here's another error:
>> symlink(): Could not fetch file information(error 3)
... which is related to your non-standard home server setup on windows and slightly hard to diagnose, especially since it is not reporting any scripts. I think it is related to the image resizer class ... However, does it actually create any errors on the page like images not loading? ... or is it just reporting that notification?
Images just not loading...not just a notification..
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 04:18

lingkiin wrote:Images just not loading...not just a notification..
https://code.google.com/p/smart-lencion ... tail?id=41

The above is your problem, and seems it is native to xamp windows ... I have patched the file for you. Replace app/parsers/slir/slir.class.php with new file slir.class.php.
 
lingkiin
Topic Author
Posts: 7
Joined: 19 May 2011, 23:21

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 04:22

mjau-mjau wrote:
lingkiin wrote:Images just not loading...not just a notification..
https://code.google.com/p/smart-lencion ... tail?id=41

The above is your problem, and seems it is native to xamp windows ... I have patched the file for you. Replace app/parsers/slir/slir.class.php with new file slir.class.php.
Works perfectly now!!
Thank you!
 
morgenius
Experienced
Posts: 43
Joined: 20 Aug 2014, 04:41

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 04:24

Karl, preview images is not displayed.
https://www.dropbox.com/s/gkpwibhm5vsay ... 1.png?dl=0

But big images is displaeyd fine.

You can see it at http://www.morgunov.ru/index.php
 
illunis
Experienced
Posts: 89
Joined: 14 May 2012, 07:24

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 04:30

This appears today on every page...using the latest x3 beta


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/u652058981/public_html/extensions/twig.imagevue.inc.php on line 40
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 04:49

morgenius wrote:Karl, preview images is not displayed.
https://www.dropbox.com/s/gkpwibhm5vsay ... 1.png?dl=0
This is your server trying to load the image:
app/parsers/slir/index.php?w=640&h=0&q=95&i=/2.galleries/2.landscapes/ocean.jpg

This is our server with the exact same url:
app/parsers/slir/index.php?w=640&h=0&q=95&i=/2.galleries/2.landscapes/ocean.jpg

The above is even without the mod_rewrite method, just to rule out any problems with htaccess on your server. This is even the official documentation for the resizer plugin, which is not working on your server:
https://github.com/lencioni/SLIR

I am not sure if it is memory limitation, suhosin, or siimply misconfiguration on your server. Can you try to upload a smaller image, for example 800px in one of the folders? That way we can at least check if it is something with GD extension or insufficient memory on server.
 
illunis
Experienced
Posts: 89
Joined: 14 May 2012, 07:24

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 04:54

illunis wrote:This appears today on every page...using the latest x3 beta


Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/u652058981/public_html/extensions/twig.imagevue.inc.php on line 40
FASLE ALARM

The above error was caused because i changed my PHP to 5.5 !

Reverting to 5.4 everything works OK.
 
illunis
Experienced
Posts: 89
Joined: 14 May 2012, 07:24

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 04:57

or maybe not....now it comes and goes randomly.... :roll:
 
morgenius
Experienced
Posts: 43
Joined: 20 Aug 2014, 04:41

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 04:58

mjau-mjau wrote: I am not sure if it is memory limitation, suhosin, or siimply misconfiguration on your server. Can you try to upload a smaller image, for example 800px in one of the folders? That way we can at least check if it is something with GD extension or insufficient memory on server.
done.
http://morgunov.ru/galleries/landscapes/

This is Error log from my server:

[Tue Nov 18 13:09:27 2014] [error] [client 37.60.208.56] SoftException in Application.cpp:249: File "/home/www/z101617/htdocs/app/parsers/slir/index.php" is writeable by group, referer: http://morgunov.ru/galleries/landscapes/
[Tue Nov 18 13:09:27 2014] [error] [client 37.60.208.56] Premature end of script headers: index.php, referer: http://morgunov.ru/galleries/landscapes/
Last edited by morgenius on 18 Nov 2014, 05:10, edited 1 time in total.
 
lingkiin
Topic Author
Posts: 7
Joined: 19 May 2011, 23:21

Re: twig.imagevue.inc.php & slir.class.php error

18 Nov 2014, 05:08