coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: vpsit on May 31, 2006, 03:34:41 AM

Title: Clicking Config button (admin.php) results in Page Cannot Be Displayed
Post by: vpsit on May 31, 2006, 03:34:41 AM
Hello.  This is a new clean install of CPG 1.4.6.

Win2003 Server Standard with IIS 6

Running PHP 4.3.10 (GD2 extension working properly according to phpinfo(); )
MySQL 4.0.20a has a database correctly created.

When I load http://myurl/cpg146/install.php and fill out the form, I get a successful message.  After I log in as the administrator user, while in Admin Mode, if I click the CONFIG button, the web browser attempts to go to http://myurl/cpg146/admin.php but instead the browser displays Page Cannot Be Displayed error.  I get the same error if I click the UPLOAD button (http://myurl/cpg146/upload.php).

I searched the forums in the 1.4.x support section, but none of the people reporting similar errors with the CONFIG button had my problem.  I am new to Coppermine, thus the clean install.  Any ideas would be great.  Thanks in advance.
Title: Re: Clicking Config button (admin.php) results in Page Cannot Be Displayed
Post by: Tranz on May 31, 2006, 05:55:31 AM
Try getting fresh copies from the download site. If that doesn't help, try renaming the admin file. Some servers don't like certain file names. You can try the renaming option first.
Title: Re: Clicking Config button (admin.php) results in Page Cannot Be Displayed
Post by: Joachim Müller on May 31, 2006, 07:34:55 AM
It might help to post actual URLs instead of dummy placeholders (if your site is available publicly).
Title: Re: Clicking Config button (admin.php) results in Page Cannot Be Displayed
Post by: vpsit on May 31, 2006, 08:07:55 PM
Thank you for the suggestions.

I have tried renaming the file, but the CONFIG button still attempts to go to admin.php (so it could still be IIS 6 not liking the filename), since I think the Coppermine source code would also have to be changed to make the CONFIG button link to a different filename.

So, I re-downloaded (from a different sourceforge mirror) and installed the cpg146 folder on my webserver, in the root.  I created a new MySQL database, ran the install.php form again and was successful.  But I'm still having the same problem once I log in as the admin, I get a Page Cannot Be Displayed error whenever I click CONFIG or UPLOAD.
Title: Re: Clicking Config button (admin.php) results in Page Cannot Be Displayed
Post by: Nibbler on May 31, 2006, 09:19:32 PM
The idea is you change the filename and then type the changed name into your browser to test. If that works then changing the link in the theme is trivial.
Title: Re: Clicking Config button (admin.php) results in Page Cannot Be Displayed
Post by: vpsit on May 31, 2006, 09:33:52 PM
Thank you for inspiring me.  It was a firewall issue.  Problem solved.
Title: Re: Clicking Config button (admin.php) results in Page Cannot Be Displayed
Post by: Tranz on May 31, 2006, 11:52:34 PM
Was it the firewall blocking the filename or something else?
Title: Re: Clicking Config button (admin.php) results in Page Cannot Be Displayed
Post by: vpsit on June 01, 2006, 12:35:07 AM
Yes, the firewall blocks admin.php access.

Since I'm in control of the firewall, I'll just disable/enable as needed when I have to change gallery settings and/or upload files.
Title: Re: Clicking Config button (admin.php) results in Page Cannot Be Displayed
Post by: Joachim Müller on June 01, 2006, 07:08:44 AM
Having the firewall configured to filter out by filename is not a bright idea. I suggest turning the "filter by filename" option off completely.