uploading website to server (G1)

tariqfan

Joined: 2009-05-12
Posts: 2
Posted: Tue, 2009-05-12 08:06

Hi

i'm uploading my website to server transip.nl ( the website is made with gallery version 1) :

in my local all works good.

but when i want to uploaded it to the server transip.nl i got the following error :

Quote:

Warning: set_time_limit() has been disabled for security reasons in /sites/mysite/www/gallery/init.php on line 142

Warning: mkdir() [function.mkdir]: open_basedir restriction in effect. File(/www/albums/.users) is not within the allowed path(s): (/usr/local/transip/lib/defaultsite.php:/usr/local/transip/lib/regprice.php:/sites/mysite/:/usr/local/transip/var/vcards/mysite.nl.html:/tmp/) in /sites/mysite.nl/www/gallery/classes/gallery/UserDB.php on line 43
Error: Unable to create dir: /www/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 getUsername() on a non-object in /sites/mysite.nl/www/gallery/classes/gallery/UserDB.php on line 328

i did change something on gallery/config.php

Quote:
$gallery->app->albumDir = "/www/albums";
$gallery->app->photoAlbumURL = "http://mysite.nl/gallery";
$gallery->app->albumDirURL = "http://mysite.nl/albums";
$gallery->app->movieThumbnail = "/www/gallery/images/movie.thumb.jpg";
$gallery->app->userDir = "/www/albums/.users";

any helps please ??

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):
Gallery version: 1
Apache version: Apache/1.3.41
PHP version (don't just say PHP 4, please): PHP Version 5.2.8
Graphics Toolkit:
Operating system: Linux
Web browser/version (if applicable): mozilla, iceweasel and Internet explorer

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Tue, 2009-05-12 13:53

Seems your host has some restiction preventing gallery from running.

Moving to the G1 support forums.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
tariqfan

Joined: 2009-05-12
Posts: 2
Posted: Tue, 2009-05-12 14:26

it's already to G1 forum i think