forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upload => Topic started by: ClipdIn on March 03, 2007, 01:43:46 am

Title: Upload Problems
Post by: ClipdIn on March 03, 2007, 01:43:46 am
I have read through and followed the Troubleshooting and I am still unable to upload pictures.

CPG was working fine until a server Plesk upgrade.

I have corrected all ownership issues I could find.  CHMOD set to 777 for files and folders as suggested.
I have upgraded to 1.4.10

http://www.clipdin.com/cpg142/ (http://www.clipdin.com/cpg142/)
User:  CPGTEST
PW:  TESTER


Files are placed but I get this error:
Quote
The selected album/file does not exist !

File: /home/httpd/vhosts/clipdin.com/httpdocs/cpg142/include/functions.inc.php - Line: 1315

Thank You,
Dan


Title: Re: Upload Problems
Post by: Nibbler on March 03, 2007, 02:00:58 am
That's not an upload problem, it's just a problem with the redirect after uploading sucessfully.

See http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/stable/db_input.php?r1=3338&r2=3364 for the code you need to change to fix it.
Title: Re: Upload Problems
Post by: ClipdIn on March 03, 2007, 02:20:25 am
Thank You... That fixed that error...BUT...

When I go back to allowing multiple U/L's

When you are asked to select the Album, Name the File, Ect, ect.

When i hit the "continue button" i get this:

In firefox:
I get a window saying...
you have chosen to open
Upload.php
Which Is: a PHP file

In IE:
I get a notice that the web page is unaccessible.


Any Ideas?


Thanks,
Dan
Title: Re: Upload Problems
Post by: ClipdIn on March 03, 2007, 02:26:26 am
***EDIT***

OK now I fixed that...755 on upload.php

Now:

Upload Failure - './albums/edit/'

File: /home/httpd/vhosts/clipdin.com/httpdocs/cpg142/upload.php - Line: 2261
Title: Re: Upload Problems
Post by: Nibbler on March 03, 2007, 02:28:39 am
That message is caused by using the back button while uploading.
Title: Re: Upload Problems
Post by: ClipdIn on March 03, 2007, 02:32:37 am
OK...

That explains why the 755 on upload.php did not actually fix anything.

Still gettin the message:
you have chosen to open upload.php



PS dig the doors on that Mini!!!
Title: Re: Upload Problems
Post by: ClipdIn on March 03, 2007, 02:36:14 am
It places the first file, even though it wants you to open the upload.php.
But it dumps any addition file U/L'd.
Title: Re: Upload Problems
Post by: Nibbler on March 03, 2007, 02:43:04 am
That dialogue normally means you have hit the php memory or time limit. I managed to upload 2 files at the same time, so make sure your files are not too large. If you have ImageMagick on your server you could try using that (via config setting) as it is not affected by php memory limits.
Title: Re: Upload Problems
Post by: ClipdIn on March 03, 2007, 02:49:19 am
Huh.
I think quite a few server settings for php got messed up with the Plesk Updates.

I am looking in PHP settings.

I have ssh access any ideas on increasing those settings?

The files I tried to U/L one was 800km and the other was 3.4MB
U/L went fast, just the error on the continue button
Title: Re: Upload Problems
Post by: Nibbler on March 03, 2007, 03:12:06 am
Well 800km is far too large, no server could handle that.... :)

If you can access php.ini then keep doubling the memory_limit until it works.
Title: Re: Upload Problems
Post by: ClipdIn on March 09, 2007, 01:50:48 am
Thanks For the Help...

Its working Great Again!!!!
Title: Re: Upload Problems
Post by: liberte on April 03, 2007, 01:18:58 am
Hi nibbler

That's not an upload problem, it's just a problem with the redirect after uploading sucessfully.

See http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/stable/db_input.php?r1=3338&r2=3364 for the code you need to change to fix it.

this link is broken, i have seen similar link a few minutes ago too
which was broken too.. :(
Title: Re: Upload Problems
Post by: Joachim Müller on April 03, 2007, 07:13:30 am
As suggested on the other thread (http://forum.coppermine-gallery.net/index.php?topic=40574.msg203073#msg203073): try http://coppermine.svn.sourceforge.net/viewvc/coppermine/trunk/cpg1.4.x/db_input.php?r1=3338&r2=3364

Locking