sorry to ask, but I need pointing in the right direction on
Gurberly
Joined: 2002-08-24
Posts: 7 |
Posted: Thu, 2002-08-29 17:32 |
Hi I am getting an error There are a couple of other messages here were people are having errors at the same point, but those concern a windows install whereas this is Unix Warning: mkdir() failed (Disk quota exceeded) in /home/pigyncom/public_html/gallery/classes/gallery/UserDB.php on line 35 This occurs when I try to save the configuration at step 4 of the install. There were no errors on the configuration settings. The error message "Disk quota exceeded" may be a bit misleading though as I can still FTP files and create directories manually using SmartFTP ans also read stuff through my browser. I can also change the appropriate permission settings. Also the cpanel stats provided show me having used a less than 5% of my disk quota and bandwidth. I use a webhosting company so am on a shared server, therefore I have no direct access myself. Additionally I have no experience of PHP and server configuration and so on. I have installed the gallery on two other accounts with the same hosting company, but on different servers (different IP addresses anyway) so I know I am following all the install instructions correctly :smile: I am surmising that the hosting company has set this server up slightly differently from the other two. It's a cheapy host so they won't go looking for difference unless specifically told, but I don't know what to tell them to change/look at. I have gut feelings it may be to do with the group/membership settings, as where it has installed on the other servers, these have group and membership values of 99 whilst all the stuff I put on directly, has my name. I tried creating a .users folder by hand chmod it 777. It went through the install with no error messages, but then it does not let you log in on the admin password so I guess it could not create the right info in the .users folder that I had manually created. phpinfo() is http://www.pigyn.com/phpinfo.php if that is of any help I canna make head nor tail of it... Though it seems the same as the other sites I use there. I also tried to create a simple php script to create a folder by hacking the code out of the userDB.php file so I could use it to give to the host so he could try it at both sites...works here but not here...check the problem with out going through the entire install. Thought it might help them, but unfortunately, my coding is not so hot. Actually, its pretty c**p :smile: I am way out of depth here. And I am way to old to go back to school :smile: :smile: Sorry to ask about this here, as I'm sure its not a script/install problem per se, but something serverside...just I'm hoping you guys can point me where to look to fix it :smile: If you need more onfo, please come back to me. Cheers |
|
Posts: 120
Will you be able to provide the diagnostic page? So we can see something else here... personally this is the first time I heard about disc quota error. I think bharat will be able to assist us here .
Posts: 7
If you mean the diagnostics from phpinfo() you can read from this link http://www.pigyn.com/phpinfo.php bit much to post here.
The error message from the install is as above posting.
The session test on the configuration wizard was OK. The phpinfo is as in the link in the previous paragraph. Can't do the other one until I've installed. If you mean some other diagnostic output, I'm afraid you are going to have to explain to me in words of one syllable what you need :lol:
The NetPBM stuff isn't installed on the server, I have put those binaries in a folder. The configuration wizard step three settings are.... and no red bits :smile:
/* Version */
$gallery->app->config_version = 30;
/* Features */
$gallery->app->feature["zip"] = 0; // (missing zipinfo -- it's optional, missing unzip -- it's optional)
$gallery->app->feature["rewrite"] = 1;
$gallery->app->feature["mirror"] = 0; // (missing mirrorSites -- it's optional)
/* Constants */
$gallery->app->galleryTitle = "Gallery";
$gallery->app->pnmDir = "/home/pigyncom/public_html/cgi-bin/netpbm";
$gallery->app->highlight_size = "200";
// optional zipinfo missing
// optional unzip missing
// optional use_exif missing
$gallery->app->movieThumbnail = "/home/pigyncom/public_html/gallery/images/movie.thumb.jpg";
$gallery->app->albumDir = "/home/pigyncom/public_html/albums";
$gallery->app->tmpDir = "/tmp";
$gallery->app->photoAlbumURL = "http://www.pigyn.com/gallery";
$gallery->app->albumDirURL = "http://www.pigyn.com/albums";
// optional mirrorSites missing
$gallery->app->showAlbumTree = "no";
$gallery->app->cacheExif = "no";
$gallery->app->jpegImageQuality = "95";
$gallery->app->timeLimit = "30";
$gallery->app->debug = "no";
$gallery->app->use_flock = "yes";
$gallery->app->expectedExecStatus = "0";
$gallery->app->sessionVar = "gallery_session";
$gallery->app->userDir = "/home/pigyncom/public_html/albums/.users";
$gallery->app->pnmtojpeg = "ppmtojpeg";
/* Defaults */
$gallery->app->default["bordercolor"] = "black";
$gallery->app->default["border"] = "1";
$gallery->app->default["font"] = "arial";
$gallery->app->default["cols"] = "3";
$gallery->app->default["rows"] = "3";
$gallery->app->default["thumb_size"] = "150";
$gallery->app->default["resize_size"] = "640";
$gallery->app->default["fit_to_window"] = "no";
$gallery->app->default["use_fullOnly"] = "no";
$gallery->app->default["print_photos"] = "none";
$gallery->app->default["returnto"] = "yes";
$gallery->app->default["showOwners"] = "no";
$gallery->app->default["albumsPerPage"] = "5";
$gallery->app->default["showSearchEngine"] = "yes";
$gallery->app->default["useOriginalFileNames"] = "yes";
$gallery->app->default["display_clicks"] = "yes";
$gallery->app->default["public_comments"] = "yes";
I really think that diskquota error is a red herring. I just uploaded a few .mp3s there to see if they would stream OK. They upload and I can play them.
/me looks perplexed
Thanks for taking the time.
Posts: 120
No, I'm referring to gallery diagnostics e.g. http://www.yourID.info/gallerypath/setup/diagnostics.php , from here you will be able to check something else.
Posts: 7
Yes I can get to there, what do you need to see/know?
Incidentally, this is the same info I refered to ealier and can be viewed if needs be at this link http://www.pigyn.com/phpinfo.php
The session test returned a session number
I can't do the the NetPBM test until Gallery has been installed.
Posts: 7994
It may be a red herring, but unfortunately if PHP can't create the directory then Gallery isn't going to work. Try writing a php script to make a directory and see if that works. Put this in foo.php:
<?php
mkdir("/PATH/TO/ALBUMS/.users");
?>
See if that has the same problem. If it does, then you should talk to your ISP and see if they have any clues because it's a configuration issue on your server.
-Bharat
Posts: 7
Hi chaps
Just to say thanks for looking and the suggestions. No surprises but
<?php
mkdir("/PATH/TO/ALBUMS/.users");
?>
works on one account and not the other :sad:
At least I can go the the host now with a very simple make directory script and say this works here (account A), but not here (account B)... please Mr Hosting Company, explain why?
Once again thanks. If I get any feed back from the hosts, I'll pass it on to you in case some other user has similar problems.
Thanks
G