I'm incredibly new to gallery and php business. I just uploaded it to my hosting space and this is the message i'm getting. Can anyone tell me what it means in english and how to remedy the problem? a million thanks in advance
Warning: mkdir(/home/lee_gilmore/cobra-kai.com/gallery/albums/.users): No such file or directory in /home/content/l/a/n/lanternwaste/html/gallery/gallery/classes/gallery/UserDB.php on line 43
Error: Unable to create dir: /home/lee_gilmore/cobra-kai.com/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 /home/content/l/a/n/lanternwaste/html/gallery/gallery/classes/gallery/UserDB.php on line 328
<your message here>
----
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:
Apache version:
PHP version (don't just say PHP 4, please):
Graphics Toolkit:
Operating system:
Web browser/version (if applicable):
Posts: 13451
lanternwaste, did you create an albums dir in /home/content/l/a/n/lanternwaste/html/gallery/gallery/ and chmod it 777?
Posts: 16
No. I'm afraid i didnt. I'm dont even know what any of that means. feel free to punch me.
Posts: 13451
/me slaps lanternwaste
You need to create a directory called albums, by default inside your Gallery dir. Then you need to change permissions on that directory, so Gallery is able to read and write to it. Check your ftp clients documentation on how to do permission changes or chmod with it.
Posts: 16
first off, you hit like a girl.
secondly, i created a folder called 'albums' and place it inside of my 'gallery' folder. i'm using Fetch FTP. it gives me the option to change permissions for Owner, Group, and Everyone. I changed Owner and Group to Read, Write, and Search/Execute.
that didnt seem to help the situation but i'm sure i'm doing something wrong.
i was also curious as to why my name, lee gilmore, came up in the url as i never supplied that info to gallery
Posts: 13451
lanternwaste, give everyone full access (thats the same as chmod 777).
Posts: 16
OK, my 'albums' folder is now set up for everyone to 'read, write, search/execute'. i did this for user permissions as well as upload permissions. still the same error:
http://www.cobra-kai.com/gallery/gallery/
Posts: 13451
Is (/home/lee_gilmore/cobra-kai.com/gallery/albums/ the correct path to your albums dir, or is it (/home/lee_gilmore/cobra-kai.com/gallery/gallery/albums/ as your URL suggests?
Posts: 16
it's "/home/lee_gilmore/cobra-kai.com/gallery/gallery/albums/" i initially made root folder called 'gallery' and then put the program folder 'gallery' nested within it. do i need to redo this and leave gallery at the top level?
Posts: 13451
lanternwaste, no, but you need to re-run the config wizard and specify the correct path to it.
Posts: 16
sounds good. how do i get to the config wizard?
Posts: 16
i've tried going to this, but i just get the same error message ive been getting all day
http://www.cobra-kai.com/gallery/gallery/setup/index.php
Posts: 16
i re-uploaded gallery and made new config and htaccess files. set my permissions correctly. and that got me pretty far until i came to this error on the last setup page.
Error: Directory /home/content/l/a/n/lanternwaste/html/albums does not exist. Please create it.
Error: Missing value: Temporary directory!
i created an 'albums' folder inside 'html' and did all my refreshing, but no dice.
Posts: 16
well i've been able to get rid of all my errors except that i cant figure out the Album Directory field.
Posts: 13451
You need to put in the real path to is, if home/content/l/a/n/lanternwaste/html/albums is wrong...
Posts: 16
I tried using the default /home/content/l/a/n/lanternwaste/html/albums
but i get an error saying the directory does not exist, please create one.
so i created a folder called 'albums' and put in the 'html' folder
ive also tried thinking of every possible path name and it still gives me the same error message
the gallery should be: http://cobra-kai.com/gallery/gallery
Posts: 13451
http://www.cobra-kai.com/gallery/gallery/albums/ gives a 404, so does http://www.cobra-kai.com/gallery/albums/ and http://www.cobra-kai.com/albums/
Check FAQ Gallery:c.32 - that should work for the albums dir as well.
Posts: 16
i've tried using the default home/content/l/a/n/lanternwaste/html but i get an error saying 'directory does nto exist, please create one"
ive created an 'albums' folder and placed it in 'html' and still no success
ive also thought of every possible path name to place in the field and no success there either
http://cobra-kai.com/gallery/gallery
Posts: 16
sorry for the 2nd post. my goof. i will look into your post
Posts: 16
c.32 does me no good. it tells me to change the config.php code. but if i'm uploading a blank config.php like you're telling me to...i cant even get far enough in the setup to save it. therefore it's always blank with nothing for me to rewrite.
i even deleted everything and tried adding gallery to my top level and it STILL isnt working.
i dont know why 404 errors are coming up. the folders are there. do you need my ftp info to see what the heck i'm talkign about?????
Posts: 13451
Where do you see that FAQ Gallery:c.32 tell you do edit config.php???
Create the file, upload it into your albums dir, open it in your browser and it will tell you the path.
No, I will not login to your FTP server.
Posts: 16
am i supposed to be putting the .htaccess and config.php files into my 'albums' folder on the top level of gallery with the huge list of over goods?
and:
.32 is about uploading NetPBM or ImageMagick binaries to my site.
i assumed you wanted me to look at .33 since it is about random 404 errors coming up.
under which it says:::::
"When I try to enter an album, I get a 404 error. What's up?
One of two things in happening
*
The Gallery URL you specified during the configuration wizard is incorrect. Verify that the value you specified does indeed point to where Gallery is installed.
*
mod_rewrite is not working. Edit your config.php file and change this line:
$gallery->app->feature["rewrite"] = 1;
to
$gallery->app->feature["rewrite"] = 0;
Posts: 13451
lanternwaste, when I point you to FAQ Gallery:c.32, please don't asume that I don't mean it and disregard my advice. If you don't want help, fine with me.
Posts: 16
i'm just trying to understand. we were talking about 404 problems, not the other stuff.
i put configs in both my root folder and albums folder and neither give me any information
http://www.cobra-kai.com/gallery/albums/config.php
http://www.cobra-kai.com/gallery/config.php
Posts: 16
i have it working now. thanks for your help.
Posts: 3
Well...how many days do I have to wait? It never updates and until it does I cannot get any farther into the config wizard. How do I either remove existing users to add new ones or get past this error. Trying to upgrade existing installation.