Error Error
 

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

Started by Aimz, June 02, 2006, 12:09:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Aimz

I'm not really sure what to do when I get this message.

I've just put this http://tom-chambers.co.uk/gallery/install.php for the 'Run the install script on your server (by going to http://your_server/coppermine_dir/install.php with your web browser) and follow the instructions' section but I keep getting

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

Please try the following:

    * Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
    * If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted.
    * Click the Back button to try another link.

HTTP Error 404 - File or directory not found.
Internet Information Services (IIS)

Technical Information (for support personnel)

    * Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404.
    * Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages.

Any help would be greatly appreciated :D

kegobeer

Are you absolutely certain you uploaded Coppermine into the /gallery directory?  Are you certain you uploaded all of the files?  Are you certain your webserver supports PHP?
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Aimz

Definately the gallery directory. Definately uploaded all the files and definately supports PHP because a few of the pages of my websites are PHP.

If I click on the install.php file through the WS_FTP program I get this message...

ERROR
You seem to be trying to install the standalone Coppermine into your Nuke portal.
This version can only be used as standalone!
Some server setups might display this warning even though you don't have a nuke portal installed - if this is the case for you, continue with the install. If you are using a nuke portal, you might want to take a look into CpgNuke or use one of the (unsupported) coppermine ports - do not continue!" ); } // end check // Report all errors except E_NOTICE // This is the default value set in php.ini error_reporting (E_ALL ^ E_NOTICE); require('include/sql_parse.php'); // ---------------------------- TEST PREREQUIRED --------------------------- // function test_fs() { global $errors, $DFLT; // include must be writable to create config file if (! is_dir($DFLT['cfg_d'])) { $errors .= "
A subdirectory called '{$DFLT['cfg_d']}' should normally exist in the directory where you uploaded Coppermine. The installer can't find this directory. Check that you have uploaded all Coppermine files to your server.

"; } elseif (! is_writable($DFLT['cfg_d'])) { $errors .= "
The '{$DFLT['cfg_d']}' directory (located in the directory where you uploaded Coppermine) should be writable in order to save your configuration. Use your FTP program to change its mode to 777.

"; } // albums must be writable to upload pictures if (! is_dir($DFLT['alb_d'])) { $errors .= "
A subdirectory called '{$DFLT['alb_d']}' should normally exist in the directory where you uploaded Coppermine. The installer can't find this directory. Check that you have uploaded all Coppermine files to your server.

"; } elseif (! is_writable($DFLT['alb_d'])) { $errors .= "
The '{$DFLT['alb_d']}' directory (located in the directory where you uploaded Coppermine) should be writable in order to allow pictures upload. Use your FTP program to change its mode to 777.

"; } // userpics must be writable to upload pictures if (! is_dir("{$DFLT['alb_d']}/{$DFLT['upl_d']}")) { $errors .= "
A subdirectory called '{$DFLT['upl_d']}' should normally exist in the 'albums' directory. The installer can't find this directory. Check that you have uploaded all Coppermine files to your server.

"; } elseif (! is_writable("{$DFLT['alb_d']}/{$DFLT['upl_d']}")) { $errors .= "
The '{$DFLT['upl_d']}' directory (located in the 'albums' directory on your server) should be writable in order to allow pictures upload. Use your FTP program to change its mode to 777.

"; } // edit must be writable to edit pictures if (! is_dir("{$DFLT['alb_d']}/{$DFLT['edit_d']}")) { $errors .= "
A subdirectory called '{$DFLT['edit_d']}' should normally exist in the 'albums' directory. The installer can't find this directory. Check that you have uploaded all Coppermine files to your server.

"; } elseif (! is_writable("{$DFLT['alb_d']}/{$DFLT['edit_d']}")) { $errors .= "
The '{$DFLT['edit_d']}' directory (located in the 'albums' directory on your server) should be writable in order to allow pictures upload. Use your FTP program to change its mode to 777.

"; } // sql directory must exist if (! is_dir("{$DFLT['sql_d']}")) { $errors .= "
A subdirectory called '{$DFLT['sql_d']}' should normally exist in the directory where you uploaded Coppermine. The installer can't find this directory. Check that you have uploaded all Coppermine files to your server.

"; } } // ----------------------------- TEST FUNCTIONS ---------------------------- // function test_sql_connection() { global $errors; if (!function_exists('mysql_connect')){ $errors .= "
PHP does not have MySQL support enabled.

"; } elseif (! $connect_id = @mysql_connect($_POST['dbserver'], $_POST['dbuser'], $_POST['dbpass'])) { $errors .= "
Could not create a mySQL connection, please check the SQL values entered

MySQL error was : " . mysql_error() . "

"; } elseif (! mysql_select_db($_POST['dbname'], $connect_id)) { $errors .= "
mySQL could not locate a database called '{$_POST['dbname']}' please check the value entered for this

"; } } function test_admin_login() { global $errors; if ($_POST['admin_username'] == '' || $_POST['admin_password'] == '') $errors .= "
It is much better for you to provide a 'username' and a 'password' for the admin.

"; if (!preg_match('/\A\w*\Z/', $_POST['admin_username']) || !preg_match('/\A\w*\Z/', $_POST['admin_password'])) $errors .= "
Admin username and password must only contain alphanumeric characters.

"; } function test_im() { global $errors, $DFLT, $im_installed; $im_installed = false; if ($_POST['impath'] != '') { if (!preg_match('|/\Z|', $_POST['impath'])) $_POST['impath'] .= '/'; if (!is_dir($_POST['impath'])) { $errors .= "
The installer can not find the '{$_POST['impath']}' directory you have specified for ImageMagick or it does not have permission to access it. Check that your typing is correct and that you have access to the specified directory.

"; } elseif (preg_match('/ /', $_POST['impath'])) { $errors .= "
The path you have entered for ImageMagick ('{$_POST['impath']}') contains at least one space. This will cause problems in the script.

You must move ImageMagick to another directory.

"; } elseif (!file_exists($_POST['impath'] . 'convert') && !file_exists($_POST['impath'] . 'convert.exe')) { $errors .= "
The installer can not find the 'convert' or 'convert.exe' ImageMagick program in directory '{$_POST['impath']}'. Check that you have entered the correct directory name.

"; } else { $output = array(); $tst_image = "{$DFLT['alb_d']}/{$DFLT['upl_d']}/im.gif"; exec ("{$_POST['impath']}convert images/coppermine_logo.png $tst_image", $output, $result); $size = getimagesize($tst_image); unlink($tst_image); $im_installed = ($size[2] == 1); if (!$im_installed) $errors .= "
The installer found the ImageMagick 'convert' program in '{$_POST['impath']}', however it can't be executed by the script.

You may consider using GD instead of ImageMagick.

"; if ($result && count($output)) { $errors .= "The convert program said:

";
                foreach($output as $line) $errors .= htmlspecialchars($line);
                $errors .= "



"; } } } return $im_installed; } // Test is safe_mode is misconfigured function test_silly_safe_mode() { global $DFLT; $test_file = "{$DFLT['alb_d']}/{$DFLT['upl_d']}/dummy/dummy.txt"; @mkdir(dirname($test_file), 0755); $fd = @fopen($test_file, 'w'); if (!$fd) { @rmdir(dirname($test_file)); return true; } fclose($fd); @unlink($test_file); @rmdir(dirname($test_file)); } // -------------------------- DETECTION FUNCTIONS -------------------------- // // What package is available for image manipulations function detect_img_package() { global $errors, $notes, $DFLT, $im_installed; $no_img_package_detected = false; $tst_image = "{$DFLT['alb_d']}/{$DFLT['upl_d']}/gd1.jpg"; $size = @getimagesize($tst_image); @unlink($tst_image); $gd1_installed = ($size[2] == 2); $tst_image = "{$DFLT['alb_d']}/{$DFLT['upl_d']}/gd2.jpg"; $size = @getimagesize($tst_image); @unlink($tst_image); $gd2_installed = ($size[2] == 2); if ($im_installed) { $_POST['thumb_method'] = 'im'; } elseif ($gd2_installed) { $_POST['thumb_method'] = 'gd2'; } elseif ($gd1_installed) { $_POST['thumb_method'] = 'gd1'; } else { $_POST['thumb_method'] = 'gd2'; $no_img_package_detected = true; $notes .= "
Your installation of PHP does not seem to include the 'GD' graphic library extension and you have not indicated that you want to use ImageMagick. Coppermine has been configured to use GD2 because the automatic GD detection sometimes fail. If GD is installed on your system, the script should work else you will need to install ImageMagick.

"; } if (!$no_img_package_detected) $notes .= "

Your server supports the following image package(s): " . ($im_installed ? ' ImageMagick (im),':'') . ($gd1_installed ? ' GD Library version 1.x (gd1),':'') . ($gd2_installed ? ' GD Library version 2.x (gd2),':'') . " the installer selected '" . $_POST['thumb_method'] . "'."; if ($_POST['thumb_method'] == 'gd1' || $_POST['thumb_method'] == 'gd2') $notes .= "

Important : older versions of the GD graphic library support only JPEG and PNG images. If this is the case for you, then the script will not be able to create thumbnails for GIF images."; } // ------------------------- HTML OUTPUT FUNCTIONS ------------------------- // function html_header() { ?>

The installer is locked
• • • ERROR • • •
The installer has already been run successfuly once and is now locked.

If you want to run the installer again, you first need to delete the '' file that was created in the directory where you put Coppermine. You can do this with any FTP program.



Welcome to Coppermine installation
• • • ERROR • • •
Before you continue with Coppermine installation, there are some problems that need to be fixed.

Once you are done, hit the "Try again" button.



Welcome to Coppermine installation
• • • ERROR • • •
The following errors were encountered and need to be corrected first:

Your admin account
This section requires information to create your administration account. Use only alphanumeric characters. Enter the data carefully !
Username    
Password    
Email address    
Your MySQL configuration
This section requires information on how to access your MySQL database. If you don't know how to fill them, check with your webhost support.
MySQL Host
(localhost is usually OK)    
MySQL Database Name    
MySQL Username    
MySQL Password    
MySQL table prefix
(default value is OK; do not use dots!)    
ImageMagick
Coppermine can use the ImageMagick 'convert' program to create thumbnails. Quality of images produced by ImageMagick is superior to GD1 but equivalent to GD2.

If ImageMagick is installed on your system and you want to use it, you need to input the full path to the 'convert' program below. On Windows the path should look like 'c:/ImageMagick/' (use / not \ in the path) and should not contain any space, on Unix is it something like '/usr/bin/X11/'.
ImageMagick path    



Installation completed
Coppermine is now properly configured and ready to roll.

Login using the information you provided for your admin account. Do not hit back, do not re-submit the installer form!

kegobeer

Did you upload the files in auto mode?  If you uploaded the files in binary mode, your files won't work correctly.

You don't use ws_ftp to run scripts, they must be executed thru the browser.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Tranz

I got a 404 when I went to the gallery folder. I thought windows was case-insensitive, but does the case of the gallery match what you have in ftp?

Aimz

This is what my I'm getting...

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi23.photobucket.com%2Falbums%2Fb367%2FAimee_Griffin%2FRandom%2520Stuff%2FImage2.jpg&hash=177089f388bfaee84b67bc953c5c01d25d792329)

...and this is what my ftp looks like...

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi23.photobucket.com%2Falbums%2Fb367%2FAimee_Griffin%2FRandom%2520Stuff%2Fa3d2af5d.jpg&hash=5273d239c07ab4fe69938c333a376d40df81d7ea)

Tranz

Are you positive that every file and folder got uploaded to gallery? I did a sample of folders and docs and include are there. However, themes, lang, albums are not.

Aimz

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi23.photobucket.com%2Falbums%2Fb367%2FAimee_Griffin%2FRandom%2520Stuff%2FImage3.jpg&hash=2e2d660acc034812c7468113f2d56acb6242cd0b)

All the files and folders are there.

kegobeer

No php files are being handled correctly.  Have you contacted your host and told them about this problem?  Since you are on a Windows server, they may have to enable php for the gallery folder.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Aimz

I'm using the host that Go Daddy.com provide.

I found this... http://help.godaddy.com/article.php?article_id=1018&prog_id=GoDaddy&isc=

And I tried doing it to enable PHP but I'm getting the same problem with the 404 error.

Sorry, I'm not great at the technical side.

kegobeer

Contact your host.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Aimz

Can anyone recommend another host?


Aimz

Okay, I got myself a new host (www.hostito.com) and I used Fantistico to install CM and this is what i'm shown.

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi23.photobucket.com%2Falbums%2Fb367%2FAimee_Griffin%2FRandom%2520Stuff%2F421215e2.jpg&hash=3034cfcb79a26885e0572ef8dbfcac74d6802a69)

When I click on 'Visit Site' I once again get...

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fi23.photobucket.com%2Falbums%2Fb367%2FAimee_Griffin%2FRandom%2520Stuff%2Fbd6e3002.jpg&hash=8e29083f5217acca3980904d1cacb801b280c8ea)

Nibbler

We support Coppermine here, not fantastico. Download Coppermine and install following the docs.

Aimz

Thanks, solved this now.