forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: reep on May 25, 2009, 01:50:55 pm

Title: Problem with uploadingfiles when upgrading to 1.4.23
Post by: reep on May 25, 2009, 01:50:55 pm
Hi there , I just did an upgrade to the newest version and now when I tried to upload a photo I got this message : 0 uploads were successful. 
and no errors could anybody know what to do ? before the uploading everything worked before fine .
Title: Re: Problem with uploadingfiles when upgrading to 1.4.23
Post by: Joachim Müller on May 25, 2009, 07:51:57 pm
Then you better read the docs, section "asking for support on upload issues" and do exactly as suggested there....
Title: Re: Problem with uploadingfiles when upgrading to 1.4.23
Post by: gammann on May 27, 2009, 04:44:05 am
I had this same problem.  If i downgraded my files to 1.4.22, and left my database at 1.4.23 level, I could upload again.  To be more specific, I only had an issue with using the http uploads, batch uploads worked fine.

I made the 1.4.23 upgrades manually, and the uploading broke after editing the init.inc.php file.

I also had the warning about register globals being on, so I turned it off in the php.ini and now after going back to 1.4.23, I am able to upload again.

Title: Re: Problem with uploadingfiles when upgrading to 1.4.23
Post by: Joachim Müller on May 27, 2009, 07:37:05 am
First of all, you should use cpg1.4.24. Downgrading is not an option. Not being able to upload can have a myriad of reasons, that's why we request users seeking support to do as suggested in the docs. Your well-meant advice doesn't help here - it only makes people reluctant to upgrade, because they "read somewhere" that upgrading can cause issues. This is not the case: we take care of upgrading issues if necessary. Always use the most recent version and do as we suggest in the docs. There's a reason why we describe the prcoess in the docs the way we did. There is no alternative method.
Title: Re: Problem with uploadingfiles when upgrading to 1.4.23
Post by: gammann on May 27, 2009, 02:06:14 pm
wow man chill.....Someone had a problem and I tried to help by providing some troubleshooting that I did.  This is what the internet is about.

Sure not being able to upload can be because of many reasons, but I did some troubleshooting on my own, and determined a solution.  I actually upgraded to 1.4.24 to try to fix the problem, but it didn't work either.  So I did what anyone would do, go back to the working version.  That fixed it, so then I looked at the changes that were made to 1.4.23, and followed the manual instructions on how to make them.  I tested the upload feature after every change to determine what caused the problem.

So yes, 1.4.23 does have a problem.  If you have register globals on, it breaks your http uploading.  Even if the code is just supposed to warn you that its on.

Title: Re: Problem with uploadingfiles when upgrading to 1.4.23
Post by: dolomites on May 27, 2009, 08:44:26 pm
The problem is still the init.inc.php; if you use an older version of this file the upload works   :o
Title: Re: Problem with uploadingfiles when upgrading to 1.4.23
Post by: Nibbler on May 27, 2009, 09:30:41 pm
http://forum.coppermine-gallery.net/index.php/topic,59727.msg294977.html#msg294977
Title: Re: Problem with uploadingfiles when upgrading to 1.4.23
Post by: ucenicul on May 29, 2009, 10:54:10 pm
I met the same problem after upgrading to latest version 1.4.24. I changed the file you indicated and the problem is resolved. Thank you very much Nibbler!