Page 1 of 2
twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 02:00
by lingkiin
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.
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 03:17
by mjau-mjau
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:
; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
; Development Value: E_ALL
; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 03:26
by lingkiin
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)
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 03:37
by morgenius
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

Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 03:57
by mjau-mjau
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?
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 04:00
by lingkiin
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..
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 04:18
by mjau-mjau
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.
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 04:22
by lingkiin
Works perfectly now!!
Thank you!
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 04:24
by morgenius
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
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 04:30
by illunis
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
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 04:49
by mjau-mjau
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.
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 04:54
by illunis
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.
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 04:57
by illunis
or maybe not....now it comes and goes randomly....

Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 04:58
by morgenius
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/
Re: twig.imagevue.inc.php & slir.class.php error
Posted: 18 Nov 2014, 05:08
by lingkiin