Error occured on working Coppermine, now can't get it to work Error occured on working Coppermine, now can't get it to work
 

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

Error occured on working Coppermine, now can't get it to work

Started by Peter_AUS, October 17, 2004, 02:56:15 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Peter_AUS

Hi,

I have had coppermine running on my website, no problems was using version 1.3.2 and today I got errors when trying to access the website.  I couldn't work out what was wrong, tried to work it out, but don't understand the coding well enough.

I thought as it wasn't over full with images or users, I would delete it all and start again.

Called the MySQL database galleries and admin as user with password.

I deleted all the directories in coppermine_dir and uploaded all the files again.

Went though the install.php process and put in the relevant information and get the screen that says that coppermine has installed and selected the link for login.

But keep getting the following errors.

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

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

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

When I installed it, I made sure the relevant directories where set correctly to 777 chmod before running the install script.

I am running MySQL version 4.0.20 standard version supplied by the webhosting service.

I have tried doing this for the past 5 hours over and over and after the first time, when trying to reinstall, it came up with albums already exists which I found related to the tables in the database file, so I deleted all entries in the database and it seems to have setup the tables correctly by inself after running the install process.

The config.inc.php file seems correctly setup according to a previous saved backup I had done of version 1.3.0 as suggested in the docs.

Any advice or help with this would be greatly appreciated as always.  Or is this a problem with the web hosting company do you think.  It seemed to just happen, nothing was done to cause it to happen int he first place, just come up today and was working OK 2 days ago when last accessed with no changes or additions to anything, just viewing the webpages.

Regards,

Peter

Nibbler

Looks like your include path is not set correctly

include_path='/usr/local/lib/php:/usr/lib/php'

Should be

include_path='.:/usr/local/lib/php:/usr/lib/php'

That sets where php will look for files that are included by filename inside php scripts. The dot at the start is important because it tells php to look in the current directory for the file. You'll probably have to ask your webhost to fix this for you.

Peter_AUS

Thanks Nibbler.  I will let them know that and will close this when that is resolved.
Regards,

Peter

Peter_AUS

This has now been fixed, after many efforts to get it working.  The hosting company fixed the line but it still wouldn't work, kept on getting a page saying that it was the first installation or hadn't yet been installed and it had been.

Had to get the hosting company to fully delete the coppermine_dir and reinstate it from a backup as well as the database info.

Just couldn't get it to work at all.

Thanks for advice anyway.
Regards,

Peter