Gallery upgrade on plesk: not sure what these error messages mean

heathert

Joined: 2008-07-23
Posts: 37
Posted: Thu, 2008-08-07 05:49

The following information is required to get an answer:
Get this information from the PHP diagnostic (in the configuration wizard).
Gallery URL (optional but very useful): http://www.orientalstampart.com/v-web/gallery/
Gallery version: 1.5.7
Apache version: I'm not sure, sorry, I can't find that info.

PHP version (don't just say PHP 4, please):6:4.4.4-8+etch6

Graphics Toolkit: again, I don't know, sorry
Operating system: Linux 2.6.18-028stab053.10
Web browser/version (if applicable):

It's me again... we got a virtual server equipped with plesk, and I uploaded the 1.3.4 version of gallery, then now uploaded gallery 1.5 over top, but it won't even let me into the setup folder, and I'm getting the following errors (I deduce that it's because the path structure isn't the same?):

Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/home/users/web/b2312/sl.orientalstampart/public_html/v-web/gallery/albums/.users) is not within the allowed path(s): (/var/www/vhosts/orientalstampart.com/httpdocs:/tmp) in /var/www/vhosts/orientalstampart.com/httpdocs/v-web/gallery/classes/gallery/UserDB.php on line 43
Error: Unable to create dir: '/home/users/web/b2312/sl.orientalstampart/public_html/v-web/gallery/albums/.users'.
Upgrading Users
The user database in your gallery was created with an older version of the software and is out of date. This is not a problem! We will upgrade it. This may take some time. Your data will not be harmed in any way by this process. Rest assured, that if this process takes a long time now, it's going to make your gallery run more efficiently in the future.
If you get an error, and only some users are upgraded, try refreshing the page to upgrade remaining users.

Please Wait...
Fatal error: Call to a member function on a non-object in /var/www/vhosts/orientalstampart.com/httpdocs/v-web/gallery/classes/gallery/UserDB.php on line 341

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-08-11 23:54

open_basedir is a security setting of your PHP.

It defines the directories your PHP is allowed to do things.

The error message is pretty clear about this.
You entered /home/users ..... but your host allow you only to act in /var/www/vhosts....

Just use the corrrect path. I guess you hoster change the internal location of your webspace.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
heathert

Joined: 2008-07-23
Posts: 37
Posted: Tue, 2008-08-12 00:03

Yeah, I figured it was a path problem. But the problem is that I *didn't* enter any paths--my guess is that perhaps these are the paths left over from where we hosted the initial gallery? All I did was try to go to the setup folder, and that's when I got the gibberish... and I don't know how to modify that stuff at all =(

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2008-08-12 07:38

Hello Heather,

the pathes are stored in the config.php file of Gallery. This is (normally) not overwritten in an upgrade. So yes, this could be left over.

But your Gallery still does not look good.
Something with your session (to be exactly the session path) is not correct.

This should be fixed by your hoster.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6

 
heathert

Joined: 2008-07-23
Posts: 37
Posted: Tue, 2008-08-12 08:05

*sigh* They say its a scripting error, and won't help me. In the meantime, I don't know how to do any of this, and my clients are getting antsy... =/ I wrote to the paid support of Gallery, but they still haven't contacted me (I wrote last Thursday). Aie-ahhh!

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Tue, 2008-08-12 08:17

Hmm, strange.

I will grab your ticket.

Jens
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6