forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 miscellaneous => Topic started by: tenacjed on May 08, 2014, 02:22:55 am

Title: Coppermine Contact Form is not completing properly
Post by: tenacjed on May 08, 2014, 02:22:55 am
Site: www.waggonerphotography.com
Version: 1.5.28

The contact form works, meaning the e-mail is sent, but when it completes the site shows the index listing of Gallery2, which is my Coppermine install folder.  I cannot say if the update to 1.5.28 caused it, but I do know it was working 6 - 8 months ago.  I tried changing the config so that captcha is not displayed, but it still does the same thing.

Plugins running:
cpgShop
reCAPTCHA
Monitor Calibration Bar
Who is online?
Theme switch
HTML5 Upload
Category LIst Change Layout
Sitemap Generator

Any thoughts?

Thanks,
John
Title: Re: Coppermine Contact Form is not completing properly
Post by: gmc on May 08, 2014, 02:49:37 am
Tested your contact form to see the results...
Not sure if anything changed in CPG that would have altered the URL used, but appears to be a site config issue rather than Coppermine...

Entering www.waggonerphotography.com/gallery2/index.php (http://www.waggonerphotography.com/gallery2/index.php) properly brings up your gallery.
Entering www.waggonerphotography.com/gallery2 (http://www.waggonerphotography.com/gallery2) brings up the directory listing instead.
The redirect from the contact form is using the second form above - which is bringing up the directory listing.

Your site does not look for 'index.php' as a 'default' home page.
Your ISP may have this as a configuration item.

Alternately, you can specify something like the following in a .htaccess file in either your root directory (www.waggonerphotography.com) or the CPG directory (www.waggonerphotography.com/gallery2)  May need to test to see which location works (both may...)
Code: [Select]
DirectoryIndex index.php default.htm index.htm index.html index.shtml

The order specified is the order they will be searched for.

Title: Re: Coppermine Contact Form is not completing properly
Post by: tenacjed on May 09, 2014, 10:20:03 pm
Thank you much Greg!  It was the .htaccess file, I did not have index.php in it.  Once I added that it now works properly.