Install failing (functions 'deprecated' & files not found) Install failing (functions 'deprecated' & files not found)
 

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

Install failing (functions 'deprecated' & files not found)

Started by andreyman3d2k, October 26, 2009, 03:06:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

andreyman3d2k

I am trying to install coppermin on my machine. I am running WAMP (using XAMPP) all on my laptop, which is the testing server. I put all the files into DreamWeaver, and ran Install.php.

The page opened fine, except for this message at the top:

Deprecated: Function set_magic_quotes_runtime() is deprecated in C:\Documents and Settings\me\My Documents\xampp\htdocs\ProjectArchive\install.php on line 545

I continued anyway, entered the MySQL info, created password, etc. Clicked OK

Next screen came up I clicked continue, and got a white screen with this message:

Fatal error: require_once() [function.require]: Failed opening required 'bridgecoppermine.inc.php' (include_path='.;C:\Documents and Settings\me\My Documents\xampp\php\PEAR') in C:\Documents and Settings\me\My Documents\xampp\htdocs\ProjectArchive\include\init.inc.php on line 257


Not sure what to do.. I found the PEAR folder, but the instructions never said to put any file there.. what to do? Any help really appreaciated!

Thank you,

Andrey

Joachim Müller

#1
Quote from: andreyman3d2k on October 26, 2009, 03:06:07 PMI put all the files into DreamWeaver, and ran Install.php.
That's not what the install instructions say in the documentation that comes with coppermine. Don't use dreamweaver with coppermine files.

Quote from: andreyman3d2k on October 26, 2009, 03:06:07 PMDeprecated: Function set_magic_quotes_runtime() is deprecated in C:\Documents and Settings\me\My Documents\xampp\htdocs\ProjectArchive\install.php on line 545
We can't teach you how to set up your webserver, sorry. That's beyond the scope of this board.

Quote from: andreyman3d2k on October 26, 2009, 03:06:07 PMFatal error: require_once() [function.require]: Failed opening required 'bridgecoppermine.inc.php' (include_path='.;C:\Documents and Settings\me\My Documents\xampp\php\PEAR') in C:\Documents and Settings\me\My Documents\xampp\htdocs\ProjectArchive\include\init.inc.php on line 257
Well, the error message means: a file that should be there isn't there. As we can't access your server, we can hardly advise anything else but "do as suggested in the install instructions that come with coppermine". Make sure to have all files in place that come with the coppermine package.


Quote from: andreyman3d2k on October 26, 2009, 03:06:07 PMNot sure what to do.. I found the PEAR folder, but the instructions never said to put any file there.. what to do? Any help really appreaciated!
PEAR's not related at all. You really should not run a webserver of your own if you have no idea what you're doing. Self-hosting is not recommended nor supported.

andreyman3d2k

Thanks for the reply,

I tried my best to follow the instruction in the Readme and Docs files. I went step-by step.

I am using my computer as a testing server, because I do not want this on-line yet, just testing for real deployment later (once this works).

My server is set up correctly, as I have already created a databse-driven site on it that works fine.

"That's not what the install instructions say in the documentation that comes with coppermine. Don't use dreamweaver with coppermine files."

Why not? I though it was just an editor? In any case I didn't really "use" dreamweaver I just set up a new site (created a new folder basically) and moved all the coppermine files into it, per instructions. Ensured the permissions, per instructions, and then opened Install.php in the browser, again per instructions. This is where the trouble began.

I don't know what it means when a function is "deprecated"

As far as

"Fatal error: require_once() [function.require]: Failed opening required 'bridgecoppermine.inc.php' (include_path='.;C:\Documents and Settings\me\My Documents\xampp\php\PEAR')"

The instruction never said anything about placing any file into any folder, so I am unsure why it is looking for it there...

Again, I (I think) followed the instructions completely...

andreyman3d2k

I think the problem is this:

In the init.inc.php file,

require_once 'bridge' . UDB_INTEGRATION . '.inc.php';

this is looking for the file bridgecoppermin.inc.php

This file is in the bridge folder, but for some reason it is looking in the wrong directory (at least per this error message:

Fatal error: require_once() [function.require]: Failed opening required 'bridgecoppermine.inc.php' (include_path='.;C:\Documents and Settings\me\My Documents\xampp\php\PEAR') in C:\Documents and Settings\me\My Documents\xampp\htdocs\ProjectArchive\include\init.inc.php on line 257

Nibbler

That's not what the line is supposed to be; Dreamweaver has modified it. Start over without using Dreamweaver.

andreyman3d2k