Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

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

18 Nov 2014, 05:09

illunis wrote: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
I find it strange that you have PHP version 5.5, and also have PHP set to display deprecated warnings. If you are using such a new version of PHP, then it is bound to display deprecated warnings about PHP code we are using for older PHP. Basically, it is not an error, just a recommendation about using 'newer code' for php5.5 ... You should not have ~deprecated notices reported if you are running php 5.5.

I am looking into removing the "notice", but I cannot provide an immediate fix ...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

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

18 Nov 2014, 05:12

I really cannot diagnose a home xamp web server trying to run Imagevue X3 beta. I assume its htaccess related, or permissions ... Could be a 100 things!
 
morgenius
Experienced
Posts: 43
Joined: 20 Aug 2014, 04:41

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

18 Nov 2014, 05:13

Karl. I've decided my problem by setting permissions of App folder to 755. It was 777
:)
Everything is fine now.
Last edited by morgenius on 18 Nov 2014, 05:15, edited 1 time in total.
 
illunis
Experienced
Posts: 84
Joined: 14 May 2012, 07:24

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

18 Nov 2014, 05:14

No worries....there is no rush....just trying to do my best to destroy everything...:)

i am using PHP 5.4 now though and it is still displaying those messages.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

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

18 Nov 2014, 05:16

What exactly? I see 3 images there from the original release.
morgenius wrote: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/
Strange servers. What permissions are on that file? Try setting it to 755, because if it is writeable by group it must be 775 or 777. Although technically, nobody and nothing is trying to write to that file anyway, so I am not sure what your "Application.cpp" is up to in the first place ...
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

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

18 Nov 2014, 05:17

morgenius wrote:Karl. I've decided my problem by setting permissions of App folder to 755. It was 777
Good! Your server might have some "paranoid" settings making some scripts unavailable if they have write permissions set.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

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

18 Nov 2014, 05:19

illunis wrote:i am using PHP 5.4 now though and it is still displaying those messages.
I would guess that might be cache related, but in either case, it is still just a notice about a deprecated function in 5.5 ...

http://php.net/manual/en/migration55.deprecated.php
http://php.net/ wrote:Deprecated features in PHP 5.5.x
The preg_replace() /e modifier is now deprecated. Instead, use the preg_replace_callback() function.
 
morgenius
Experienced
Posts: 43
Joined: 20 Aug 2014, 04:41

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

18 Nov 2014, 05:29

mjau-mjau wrote: Your server might have some "paranoid" settings.
Ahaha!! This is Russia, Karl :))))
 
lingkiin
Topic Author
Posts: 7
Joined: 19 May 2011, 23:21

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

19 Nov 2014, 22:50

mjau-mjau wrote:
I really cannot diagnose a home xamp web server trying to run Imagevue X3 beta. I assume its htaccess related, or permissions ... Could be a 100 things!
Managed to solve this.
I have disabled my ajp_module and it is working ok now.