Search…

X3 Photo Gallery Support Forums

Search…
 
morgenius
Experienced
Topic Author
Posts: 43
Joined: 20 Aug 2014, 04:41

Noticed errors

17 Nov 2014, 05:16

Hi Karl!

Thank you for new X3 ver. It is amazing!

I've upload new ver to server. And have a trouble like this:
"Notice: Use of undefined constant undefined - assumed 'undefined' in /home/www/z101617/htdocs/extensions/twig.imagevue.inc.php on line 137 "
all over the pages,

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

Re: Noticed errors

17 Nov 2014, 05:22

Thanks. I gotta shoot for a few hours, but will look into this tonight and likely have a fix for you shortly after.
 
morgenius
Experienced
Topic Author
Posts: 43
Joined: 20 Aug 2014, 04:41

Re: Noticed errors

17 Nov 2014, 05:31

 
Eightkiller
Experienced
Posts: 116
Joined: 15 Jul 2012, 14:34

Re: Noticed errors

17 Nov 2014, 08:45

Hy,

I get the exact same error, i'm trying to install X3 on my Wamp local server.

Thanks in advance Mjau :)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Noticed errors

17 Nov 2014, 09:35

Please can you download this file twig.imagevue.inc.php, and replace the file at extensions/twig.imagevue.inc.php on your server. Hopefully, it does the job.

While you are at it, please download this file i.php and upload it to the root of your x3 folder. I need it to diagnose various PHP settings on your server if you are having other issues.
 
localhost
Experienced
Posts: 158
Joined: 20 Sep 2011, 07:09

Re: Noticed errors

17 Nov 2014, 09:42

Thanks for the Beta version being accessible to us...

I just installed the x3 on my website and things are working properly so far.
 
morgenius
Experienced
Topic Author
Posts: 43
Joined: 20 Aug 2014, 04:41

Re: Noticed errors

17 Nov 2014, 10:40

Karl, the "Notice" is still showing after your recomendation.
https://www.dropbox.com/s/mm1cyaa6xb5li ... 2.png?dl=0
http://www.morgunov.ru/i.php
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Noticed errors

17 Nov 2014, 10:58

morgenius wrote:Karl, the "Notice" is still showing after your recomendation.
https://www.dropbox.com/s/mm1cyaa6xb5li ... 2.png?dl=0
http://www.morgunov.ru/i.php
Any place I can check your website, or are you setting up locally? You might actually need to make a change to one of your pages before the new php takes effect ... This is because the actual PHP code in that script gets cached in other PHP template files.
 
Eightkiller
Experienced
Posts: 116
Joined: 15 Jul 2012, 14:34

Re: Noticed errors

18 Nov 2014, 10:42

Hy Mjau-Mjau,

I still get the same error too, i downloaded your new patched version of X3, and cleared the cache of my browser but nothing changed.
You can check the error i get here :

http://runechronos.free.fr/ImagevueX3_U ... _error.jpg

Thanks in advance for your help, seems to only happen with people trying to install it locally (that is quite the normal way instead of uploading it directly on a FTP Server !)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Noticed errors

18 Nov 2014, 11:08

Eightkill wrote:I still get the same error too, i downloaded your new patched version of X3, and cleared the cache of my browser but nothing changed.
You can check the error i get here :

http://runechronos.free.fr/ImagevueX3_U ... _error.jpg
I may be a bit confused with multi-tasking right now, but I don't think you have the latest twig.imagevue.inc.php ... Check the file I added earlier today here https://d.pr/f/10o6E ... download it here https://d.pr/f/10o6E+ ... This file is newer than in the latest release, because I am still working on some stuff i this file, so try it!

The reason I am sure you don't have this file, is because according to your error, it says "Undefined variable on line 111". Line 111 looks like this:
Code
   }
Eightkill wrote:Thanks in advance for your help, seems to only happen with people trying to install it locally (that is quite the normal way instead of uploading it directly on a FTP Server !)
The problem with your localhosts, is that you have non-standard php.ini settings which are reporting "notices", not only "errors". Basically that notice you are getting is saying "hey, that variable myval is not defined, not that it matter, but we wanted to tell you". Since this PHP concept is built in the 90's when a page was nothing more than a page, unfortunately in X3 it breaks down the entire flow of a modern ajax website.

Having said that, it is fine that these things are reported and fixed, as they can be avoided with less sloppy coding.
 
Golubovy
Posts: 14
Joined: 02 Jan 2014, 12:39

21 Nov 2014, 12:58

Hi, Karl! I have "Warning" in every first start after clean cache.

"Warning: unlink() [function.unlink]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home:/tmp:/usr/local/lib/php) in /home/******/public_html/gallery_beta/app/cache.inc.php on line 37" on all my pages in all beta 0.1 0.2 and 0.3

And error in diagnostic:

PHP version 5.3.29
Permissions on _cash and 3 folders inside: 777

Site: http://golubovy.com/gallery_beta/

How can I repair it?
Last edited by Golubovy on 23 Nov 2014, 05:29, edited 1 time in total.
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re:

21 Nov 2014, 13:29

Golubovy wrote:Hi, Karl! I have "Warning" in every first start after clean cache.

"Warning: unlink() [function.unlink]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home:/tmp:/usr/local/lib/php) in /home/h14u209/public_html/gallery_beta/app/cache.inc.php on line 37" on all my pages in all beta 0.1 0.2 and 0.3
You have open_basedir enabled on your server. However, it must be setup incorrectly on your server because app/cache.inc.php wants to write to app/_cache/, which should not be restricted by open_basedir. Please ask your server host about this, and refer to what I wrote ...

open_basedir restriction will likely prevent you from being able to use the panel also unfortunately ... Firth things first though ...
Golubovy wrote:And error in diagnostic:
Please set permissions to on the/diag/ folder to 755 ... I have found out that many servers create an error when permissions are too wide. Let me know if this works please, as I would like to check diagnostics ...
 
Golubovy
Posts: 14
Joined: 02 Jan 2014, 12:39

Re: Noticed errors

23 Nov 2014, 05:50

Thanks ) problem is gone.

1) if your have problem with _open_basedir "open_basedir restriction in effect" you need to change temp folder on php.ini (file in server folder) from "open_basedir = /home:/tmp" to "open_basedir = "

2) "set permissions to on the/diag/ folder to 755" its help

thank you you Karl :)
 
User avatar
mjau-mjau
X3 Wizard
Posts: 13999
Joined: 30 Sep 2006, 03:37

Re: Noticed errors

23 Nov 2014, 08:53

Golubovy wrote:Thanks ) problem is gone.

1) if your have problem with _open_basedir "open_basedir restriction in effect" you need to change temp folder on php.ini (file in server folder) from "open_basedir = /home:/tmp" to "open_basedir = "
Nice. I assume you have access to your own server or virtual server?
Golubovy wrote:2) "set permissions to on the/diag/ folder to 755" its help
I have found out that normally, you can just use default permissions and not set anything at all. Permissions need only be set specifically if your server assigns different user IDs to the FTP uploader and the _www user (php). You should check the permission of your other folders (where you did not change any permissions), and chance is you can just use that ...