forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: georgetamia on June 26, 2010, 02:56:04 am

Title: Batch Add Problem
Post by: georgetamia on June 26, 2010, 02:56:04 am
I've used coppermine for 5 years now.  I recently upgraded to cpg 1.5.3 and all of sudden when I go to Batch Add Files, it doesn't show any of the files.  The name of the folder doesn't have any of the forbidden characters.  It even seems that when I go to a folder that I previously batch added, it shows no files.  Does anyone know how to fix this?

http://teairrafans.com/gallery

Created a Test User
username: test
password: test
Title: Re: Batch Add Problem
Post by: Joe Carver on June 26, 2010, 03:10:00 am
There is an error in your theme. Your pages have a line in the page head.
Code: [Select]
<script type="text/javascript" src="scripts.js">
That might be the cause of your error but it also suggests that you try checking your template for other errors.
or
Try a Coppermine theme.
Title: Re: Batch Add Problem
Post by: georgetamia on June 26, 2010, 03:37:26 am
I changed it to the coppermine theme, but it still doesn't work.
Title: Re: Batch Add Problem
Post by: georgetamia on June 26, 2010, 03:41:20 am
I actually meant cpg 1.5.6
Title: Re: Batch Add Problem
Post by: onthepike on June 26, 2010, 04:39:51 am
"Coppermine theme", meaning a default CPG theme from version 1.5.x: http://teairrafans.com/gallery/index.php?theme=curve

You have several illegal characters as part of your file names. Examples:

http://teairrafans.com/gallery/albums/Get%20Away%20EP%20-%202003_/Get_Away_front.jpg
http://teairrafans.com/gallery/albums/Live%20Concert%20At%20Avalon%20-%20Oct%2006%2C%202005%20%5BMedium%20Quality%5D/017.jpg
http://teairrafans.com/gallery/albums/Summer%20Jamz%2013%20-%20Jun%2012%2C%202010%20%5BHQ%5D/006.jpg


And so on. Assuming this is similar to your naming scheme, I would surmise most, if not all of your file names contain illegal characters, which could be a big part of your problem.

Might you also have images uploaded directly into the /albums/ folder? Hard to tell; please verify.

Also, unless you have modified your current "Classic" theme to reflect the necessary upgrade changes to the 1.5.x version, this could also lead to problems.  

Lastly, as Joe suggests, you have the same set of scripts called twice on the same page.
Title: Re: Batch Add Problem
Post by: Joachim Müller on June 26, 2010, 11:36:10 am
You appear to be using cpg1.4.x themes with a cpg1.5.x gallery, which is bad idea and won't work. Please review the upgrade section of the docs (http://documentation.coppermine-gallery.net/en/upgrading.htm), it explains what to do. Once you're done with that and you still have issues related to upload, do exactly as suggested in the docs, section "asking for support on upload issues (http://documentation.coppermine-gallery.net/en/upload_troubleshooting.htm#upload_support)": you have provided a link to your gallery and a test user account, but that test user account doesn't have upload privileges, which is a proof that you haven't really tried for yourself before submitting the data. Don't expect to be spoon-fed.