forum.coppermine-gallery.net

Support => cpg1.5.x Support => cpg1.5 upload => Topic started by: scohen125 on November 07, 2010, 05:07:46 pm

Title: Flash Uploader Stopped Working after Login Problem Was Fixed
Post by: scohen125 on November 07, 2010, 05:07:46 pm
My site would not let me login as admin, when I did so it said 'hello guest'.  So applied the fix recommended

I used this fix and deleted $superCage->server->getRaw('SERVER_PROTOCOL') from the proper file.  Then I was able to login to my site which was great!

Unfortunately, when I use the flash uploader now, I get an error message.  After uploading each file a red box appears around the filename saying 'upload failed' and the following pop-up box appears:

Message from Webpage
albums/userpics/10001/thumb_(filename).jpg
OK (the OK is in a button)

When I click the OK it goes on and 'fails' to upload each additional file.  BUT, when I got to the album all the files are there.  So it is working but just not properly.  If I upload each file alone using the other uploader there is no error message.

I was told this issue has been addressed, but I have tried the other solutions that I could find on this board.  There was an extra ?> at the end of my theme.php and I removed that and still the upload problem persists (but the login problem went away which was nice).  So I returned the bridge/coppermine.inc.php to its unedited state and that did not help.  So I tried the modification suggested of includes/picmgmt.inc.php elsewhere on the board and that did not fix the problem.

I am attaching a screenshot of the problem, a copy of my theme.php picmgmt.inc.php and copermine.inc.php (all as txt files)
Title: Re: Flash Uploader Stopped Working after Login Problem Was Fixed
Post by: scohen125 on November 07, 2010, 05:14:34 pm
My website is www.retinagallery.com
Title: Re: Flash Uploader Stopped Working after Login Problem Was Fixed
Post by: Αndré on November 08, 2010, 03:57:03 pm
Remove the blank lines after the
Code: [Select]
?>in bridge/coppermine.inc.php.
Title: Re: Flash Uploader Stopped Working after Login Problem Was Fixed
Post by: scohen125 on November 08, 2010, 07:50:34 pm
Thank you.  I will watch for those blank lines in the future, I think maybe Dreamweaver is adding them to the files?

It works now.
Title: Re: Flash Uploader Stopped Working after Login Problem Was Fixed
Post by: Αndré on November 08, 2010, 07:54:00 pm
I don't know Dreamweaver. Always use plain text editors when editing Coppermine files if you're unsure what your tools may add.