coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 install => Topic started by: betzy on July 31, 2007, 01:01:40 PM

Title: error ... install.php
Post by: betzy on July 31, 2007, 01:01:40 PM
i`ve just uploaded cpg1412 and when ai go to http://my-domain.co/install.php i get this :
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(../../modules) is not within the allowed path(s): (/tmp:/usr/lib/php:/var/tmp) in /storage0/home/fredutzu.evolink.ro/www/install.php on line 21

Warning: require(include/sql_parse.php) [function.require]: failed to open stream: No such file or directory in /storage0/home/fredutzu.evolink.ro/www/install.php on line 36

Fatal error: require() [function.require]: Failed opening required 'include/sql_parse.php' (include_path='.:/usr/lib/php') in /storage0/home/fredutzu.evolink.ro/www/install.php on line 36


so ... what seems to be the problem ??
Title: Re: error ... install.php
Post by: Nibbler on July 31, 2007, 01:18:43 PM
The first message can be ignored. The last 2 are because you failed to upload all the files before attempting to install Coppermine - include/sql_parse.php is missing at least.
Title: Re: error ... install.php
Post by: lisar on August 13, 2007, 12:09:39 AM
I'm thinking this is a result of the zip file not including the directory structures, so files aren't getting unzipped or they are getting written over.

This is the same error I got when I decided "well *maybe* they rewrote this version so that the installing process creates the directories, and they don't need to include those in the downloads for the core anymore" when IO discovered that every mirror had the same zip that is missing the directory structure.

The issue is that the extracted files do not have an include directory at all, so if one upl;oads what files they get and then hit the install.php file, well it's going to give that error.
Title: Re: error ... install.php
Post by: Nibbler on August 13, 2007, 12:13:59 AM
This is an issue with your unzipping utility or your use of it. The files themselves are correct.
Title: Re: error ... install.php
Post by: lisar on August 13, 2007, 12:17:30 AM
Has this been actually verified?

Or just assuming I'm a newbie having issues?

I've been installing coppermine on sites for the past 3 years, this isn't new to me. All I ask is that someone verifies the zip as created correctly and that it unzips to a fresh folder for you before assuming that it's user-error on my end.

If I'm unzipping files wrong then I need to lose my job as a tech support person, LOL.
Title: Re: error ... install.php
Post by: Nibbler on August 13, 2007, 12:19:55 AM
If there was a major issue like this with the 1.4.12 release we would know it by now. Here is a screenshot for my system.
Title: Re: error ... install.php
Post by: lisar on August 13, 2007, 12:22:43 AM
Hmmm what are you using?

I'm using WINzip, opening the archive, selecting all files, and then choosing the folder and clicking the extract button.

Rather hard to mess that up., but I'm not getting all the folders once it's extracted. :(

Title: Re: error ... install.php
Post by: lisar on August 13, 2007, 12:25:11 AM
Nope, it wants to overwrite the files ... let me try your program, this isn't working with WINzip at all.

Have you actually gone through the entire unzipping yet - if for no other reason than to verify it's working on your end all the way?
Title: Re: error ... install.php
Post by: lisar on August 13, 2007, 12:26:47 AM
I'm going to try this from my other three computers. Maybe one of them will handle this better - I'll say aye or nay depending on my success or failure. ::crosses fingers::
Title: Re: error ... install.php
Post by: Nibbler on August 13, 2007, 12:27:38 AM
Is there some box to tick to preserve or recreate the directory structure? I use GNU/Linux so I can't help you with windows specific applications.
Title: Re: error ... install.php
Post by: lisar on August 13, 2007, 12:34:18 AM
Crud. It was a CASE OF THE STUPIDS.  :-\

I will need o tell my boss to kick my sorry butt to the curb. LOL  :-\

My boyfriend had clicked off the "Use Folder Names" box - so yup this as USER ERROR.

Sorry about that.

Geez. I just became the calls I hate the most.  :-[

My most humble apologies.