Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: error ... install.php  (Read 5035 times)

0 Members and 1 Guest are viewing this topic.

betzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
error ... install.php
« 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 :
Code: [Select]
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 ??
Logged

Nibbler

  • Guest
Re: error ... install.php
« Reply #1 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.
Logged

lisar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: error ... install.php
« Reply #2 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.
Logged

Nibbler

  • Guest
Re: error ... install.php
« Reply #3 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.
Logged

lisar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: error ... install.php
« Reply #4 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.
Logged

Nibbler

  • Guest
Re: error ... install.php
« Reply #5 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.
Logged

lisar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: error ... install.php
« Reply #6 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. :(

Logged

lisar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: error ... install.php
« Reply #7 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?
Logged

lisar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: error ... install.php
« Reply #8 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::
Logged

Nibbler

  • Guest
Re: error ... install.php
« Reply #9 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.
Logged

lisar

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
Re: error ... install.php
« Reply #10 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.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 15 queries.