Where to install? Where to install?
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Where to install?

Started by NekkidFish, March 21, 2004, 07:51:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NekkidFish

I am a client with RTech Hosting, which has Coppermine as one of it's 'approved' galleries, and there's an auto install and everything.  I thought it would be easy, but when I try and install, it won't let me.

When it asks where to install it, I point it to a folder I set up, but it says it's an invalid directory.  I created a folder in my www directory and named it coppermine.

So, when it asked where to install, I put in http://www.virtualwebgistics.com/coppermine/

But it says it's an invalid directory.

I already tried just leaving it empty and letting it install it into the root directory, but when I did that, it took over my index.htm page, and I was longer able to get to my website.

Any ideas or help will be greatly appreciated!

HUGz!  Jules

Casper

I don't know how this auto install works, but it probably needs chmoding to 755 or 777, to enable it to be written.  Then when installation is complete, revert all the folders except the include folder, the albums folder and all folders in it.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

NekkidFish

But I had already tried that and it doesn't work either.  :(

Thanks anyhoo!  Jules

Nibbler

It may need a path like /home/username/public_html/coppermine/ instead of an url.

NekkidFish

Thanks Nibbler ... tried that too.  I'm actually just trying to do a manual install on my server now.  If that doesn't work, I think I'll stick with some straight photo pages that I can create and not worry about a photo album.  ;)

HUGz!  Jules

NekkidFish

Well, I followed all of the instructions on the Project Index page page, but if I try and go to the coppermine index.php page, here are the errors I get:

Warning: main(include/config.inc.php): failed to open stream: No such file or directory in /home/virtualw/public_html/coppermine/include/init.inc.php on line 135

Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/virtualw/public_html/coppermine/include/init.inc.php on line 135

Who know what I'm doing wrong.   :roll:

Jules

photoman13

Quote from: "NekkidFish"Well, I followed all of the instructions on the Project Index page page, but if I try and go to the coppermine index.php page, here are the errors I get:

Warning: main(include/config.inc.php): failed to open stream: No such file or directory in /home/virtualw/public_html/coppermine/include/init.inc.php on line 135

Fatal error: main(): Failed opening required 'include/config.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/virtualw/public_html/coppermine/include/init.inc.php on line 135

Who know what I'm doing wrong.   :roll:

Jules

You don't have the init.inc.php installed in the includes folder, or your files are not set up for at least 755 CMOD so it can't run them.

Least that's what the error reads to me :)

NekkidFish

See, I also don't understand the CHMOD thingee ... but that file is there ...

And I set all permissions to 777 ... which includes everything ... but maybe that's too much.  Maybe I should try the 755?

HUGz and thanks!  Jules

photoman13

yeah try it, some of the newer servers won't allow for 0777 CMOD because of sercurity risks. So, 755 works :)

Joachim Müller

you mis-interpret the error message: the file include/init.inc.php is looking for a file called include/config.inc.php that isn't there.

config.inc.php is created on install (when you run /http://yourdomain.tld/your_coppermine_folder/install.php).

Take a deep breath and have a look at the documentation that comes with coppermine. Basically, there are 3 easy steps: upload all files to your webserver (you have probably already done so), CHMOD the include and album folders with 777 or 755 (take a look at some CHMOD tutorials as suggested in the documentation if you don't know what this means), run the installer (and enter your mySQL data there) and you should be fine.

If your webhosting says to have a pre-configured version of coppermine set up for you, why don't you ask them for support? Tell them it was one of the reasons you signed up with them. If you ask friendly, I'm sure they can give you some hints.

GauGau

NekkidFish

Quoteyou mis-interpret the error message: the file include/init.inc.php is looking for a file called include/config.inc.php that isn't there.

config.inc.php is created on install (when you run /http://yourdomain.tld/your_coppermine_folder/install.php).

It is there ... I checked all of those files to make sure they're there, and that one is.

QuoteTake a deep breath and have a look at the documentation that comes with coppermine. Basically, there are 3 easy steps: upload all files to your webserver (you have probably already done so), CHMOD the include and album folders with 777 or 755 (take a look at some CHMOD tutorials as suggested in the documentation if you don't know what this means), run the installer (and enter your mySQL data there) and you should be fine.

I'm fine with everything up until, "run the installer (and enter your mySQL data there)".  I did follow all of the directions, but I do not understand how I run the installer from my server?  It's not as if it's a .exe file or anything, and if I open up my browser and put in http://www.virtualwebgistics.com/coppermine/install.php it just comes up as a blank white empty page that just sits there and nothing happens.

Much less if something did happen there, I don't have a clue what mySQL data is?  Sorry if I sound stoopid.

Quotef your webhosting says to have a pre-configured version of coppermine set up for you, why don't you ask them for support? Tell them it was one of the reasons you signed up with them. If you ask friendly, I'm sure they can give you some hints.

That is a very good suggestion!  However, I know when I installed WordPress and asked if they had any documentation on it, they said that although they offer these services, they are not affiliated with them, nor do they offer support ... and they send you to these forums.  But, I'll give it a shot!

Thanks bunches GauGau!  Jules

photoman13

your install file seems corrupt.

all that's in the file is:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=windows-1252"></HEAD>
<BODY></BODY></HTML>


I'd re-download the zip file and try again...

also the MySQL database name, user name and password are very important for it to create the needed files into the database.

Your host should have documentation about MySQL soemwhere...

NekkidFish

Thanks photoman.  I'll re-install, as well as ask my host for the mySQL info.

HUGz!  Jules