forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: simonmason on August 25, 2010, 08:36:39 pm

Title: Only files with the following extensions are accepted: after upgrading
Post by: simonmason on August 25, 2010, 08:36:39 pm
My server: www.themasons.net/gallery

I just upgraded to 1.5.8 from 1.4.2.4.  Everything appeared to go fine with no errors.  Now when batch uploading pictures I get this error.

My Allowed image types is set to: jpeg/jpg/png/gif.  I didn't change any settings after the upgrade.  The directory I am trying to upload from contains jpg images.

I looked through some similar posts on the forum.  I have confirmed that the filetypes table exists in my database - it has 107 records and includes jpg.

There are only jpg images in the directory I am trying to add.

I am still looking through related posts but I am not finding anything that seems to solve this.  Thanks for any help.
Title: Re: Only files with the following extensions are accepted: after upgrading
Post by: Jeff Bailey on August 25, 2010, 09:02:11 pm
Please Read => http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_trouble
Title: Re: Only files with the following extensions are accepted: after upgrading
Post by: simonmason on August 26, 2010, 02:48:48 pm
I may have mistyped in my original message - the issue is with Batch Add Files.  However, I went through the troubleshooting in the previous post and got the following error:

Error
No file was uploaded!
If you have really selected a file to upload, check that the server allows file uploads...

File: E:\www\gallery\db_input.php - Line: 554

I searched for this error message and performed the troubleshooting but

I checked my php configuration, uploads are turned on, max file size is set to 16M, and the tmp directory is set correctly.  Also, I am running my Gallery on a Windows XP machine and all the drives I am using in it are local drives (no network drives) so the web server has access to all of them and I believe has read/write unless something changed in the configuration during the 1.5x upgrade process?

So I apparently have two issues?  I cannot perform a simple upload - resulting in the error above. 

And I also cannot batch add files anymore, resulting in the error message:

Error
Only files with the following extensions are accepted:

File: E:\www\gallery\searchnew.php - Line: 251

I obviously screwed something up but I cannot figure it out, yet.  Thanks for the help.
Title: Re: Only files with the following extensions are accepted: after upgrading
Post by: simonmason on September 01, 2010, 03:00:19 pm
bump
Title: Re: Only files with the following extensions are accepted: after upgrading
Post by: Αndré on September 01, 2010, 04:06:45 pm
Can you please try if batch-add and http upload works with a fresh installation of cpg1.5.8? Thanks.
Title: Re: Only files with the following extensions are accepted: after upgrading
Post by: simonmason on September 01, 2010, 05:12:06 pm
I can do that.  Can you provide some quick pointers on how I would do a clean install without messing up or losing my current installation?  Thanks.
Title: Re: Only files with the following extensions are accepted: after upgrading
Post by: Αndré on September 01, 2010, 05:56:57 pm
Just upload it in a new folder and use another database.
Title: Re: Only files with the following extensions are accepted: after upgrading
Post by: simonmason on September 01, 2010, 07:13:48 pm
I did that and ran the install script.  The first thing it did was to present me with 2093 lines of errors like this:

Notice: Undefined index: no_modification_check in E:\www\cpg15x\include\versioncheck.inc.php on line 785

Notice: Undefined index: hide_images in E:\www\cpg15x\include\versioncheck.inc.php on line 740

Notice: Undefined index: txt_missing in E:\www\cpg15x\include\versioncheck.inc.php on line 776

Notice: Undefined index: no_modification_check in E:\www\cpg15x\include\versioncheck.inc.php on line 785

Notice: Undefined index: hide_images in E:\www\cpg15x\include\versioncheck.inc.php on line 740

Notice: Undefined index: txt_missing in E:\www\cpg15x\include\versioncheck.inc.php on line 776

Notice: Undefined index: no_modification_check in E:\www\cpg15x\include\versioncheck.inc.php on line 785

My PHP is: Server version: 5.0.27-community-nt
My MySQL is: MySQL client version: 5.0.45