I'm completely retarded when it comes to Coppermine so sorry if this is a really obvious question. I keep getting this error message when going to the install.php page.
Warning: main(include/init.inc.php): failed to open stream: Permission denied in /home/harsh/public_html/adenisof/gallery/coppermine/index.php on line 30
I thought maybe it was telling me to do the chmod thing to the include folder but I already did that so anyone know what it could be?
Someone else may have a better answer for that specific error message, but my line 30 of index.php is a comment line so my question is: are you installing Coppermine 1.4.3 from the Downloads link above? If you are upgrading from version 1.3, please follow the upgrade instructions in the documentation (also linked above).
I wasn't upgrading I have 1.4.2 I think. Should I upgrade? Like I mean is it necessary?
It's a good place to start. Did you get 1.4.2 from here? I see from your prior posts in September that you were running 1.3. If you are upgrading 1.3 now, you should follow the upgrade instructions, which includes not using the install.php script.
Ok I'll try that then. Thank you!
Okay I'm back after upgrading and I'm getting pretty much the exact same error message on the update.php page with a few words changed.
Warning: main(include/sql_parse.php): failed to open stream: Permission denied in /home/harsh/public_html/adenisof/gallery/coppermine/update.php on line 24
Anyone? Anyone?
Please post a link to your gallery.
http://www.harsh-light.org/adenisof/gallery/coppermine/
Double-check the permissions on your include folder - it should be 755. Also check that all the files in the include folder are 644 (or 755). It looks to me that one of those permissions is incorrect.
I don't understand what 755 means. All I see when I do the chmod thing is Read, Write, and Execute. Does 755 mean to have Read & Write checked for the include folder? Because if it is I've done that and it still won't work. Do I need Execute checked too?
yes
Okay thank you! It's working now.
For reference:
4 = read
2 = write
1 = execute
Add together what you want to get the permission. Folders must have read & execute permission which means 4 + 1 = 5. Files must have read permission, so that's 4.
The three numbers refer to:
1st number: user - that's you
2nd number: group - usually not used except for shared networks
3rd number: all - that's for everyone else accessing your files through the web server.
So 755 is:
7: read, write, execute for user (you)
5: read & execute for group
5: read & execute for all
If you only see read, write, and execute, do the following:
all folders: read & execute for 'all', read, write & execute for 'user'
all files: read for 'all', read & write for 'user'
Oh thanks for that whole thing. I probably never would've understood what it was.
And also sorry to keep annoying you but after I've set up the MySQL Database on the index page and I'm going to log in an error comes up on the login page.
Fatal error: Call to a member function on a non-object in /home/harsh/public_html/adenisof/gallery/coppermine/login.php on line 37
Do you know what's wrong now?
Oh how annoying. It's giving me new errors every time I refresh. So frustrating.
What exactly are you trying to do? Are you trying to install from scratch? It might help us help you if you provide more background information.
Yes I'm trying to install for the first time. I had an older version on my computer already so I uploaded all those files onto my domain but that person above told me I should upgrade. So I downloaded the new version and uploaded all those onto my domain and overwrited the old files. I haven't installed anything yet because every time i go to the install.php page there are errors. Every time. and before it worked for a second but when it directed me to the login page there was an error on there.
If you are upgrading, you need to follow the upgrade instructions in the documentation, as I said before. The 4th step in those instructions says to delete install.php, so I don't know why you are trying to run it. Please read carefully and follow those instructions.
I deleted install.php so now how do I install it?
You don't need to install it if you've already had it installed. Please read the instructions.
But I haven't had it installed because I don't know how to install it. And I did read the directions.
It's because of the following that I thought you had it installed already:
Quote from: nikole on January 22, 2006, 02:32:27 AM
I wasn't upgrading I have 1.4.2 I think. Should I upgrade? Like I mean is it necessary?
Now I kinda get what's going on. You seemed to have originally tried to install in the gallery folder. However, not all the folders and files got into that folder. You then seemed to try again in multiple folders in the gallery folder.
Let's start over. Delete the contents of the gallery folder. As it is, the structure is redundant. Instead of deleting, you can back up the contents and move them elsewhere. But let's have an empty gallery folder.
Extract the installation package and you should see folders and files required for coppermine to run. Upload those files and folders into the gallery folder. Read the installation instructions for the rest of the process.
I've got it working now! Thank you for all your help and patience. :D