[Closed]: Problem uploading via http [Closed]: Problem uploading via http
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

[Closed]: Problem uploading via http

Started by loumar, June 08, 2009, 09:18:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

loumar

Link to gallery is: http://www.anastacia-elegance.com/gallery

Version: 1.4.24

Error
No file was uploaded !

If you have really selected a file to upload, check that the server allows file uploads...

File: /home/anastaci/public_html/gallery/db_input.php - Line: 311


I have searched the forum view docs etc, I have checked /albums, /albums/userpics, and /albums/edit and have had permissions changed to 777, I have also checked in debug mode to see if upload is allowed on server (as stated in other topics)

file_uploads | On | On
include_path | .:/usr/lib/php:/usr/local/lib/php | .:/usr/lib/php:/usr/local/lib/php
open_basedir | no value | no value


And it shows that its on, I have also checked upload_max_filesize | 200M | 200M

So im puzzled as to why it isn't working, I uploaded to version 1.4.24 and checked that upgrade went worked, I also checked version checker and no problem there, could you advise me on what else could be the problem please?

If you require any more information please let me know

Many Thanks

loumar

Please mark as Solved!

One thread that I did miss http://forum.coppermine-gallery.net/index.php/topic,59727.0.html

Will be fixed in the next release. For now you can edit include/init.inc.php, find

Quote$keysToSkip = array('_POST', '_GET', '_COOKIE', '_REQUEST', '_SERVER', 'HTML_SUBST', 'keysToSkip', 'register_globals_flag', 'cpgdebugger', 'key');

change to

Quote$keysToSkip = array('_POST', '_GET', '_COOKIE', '_REQUEST', '_SERVER', '_FILES', 'HTML_SUBST', 'keysToSkip', 'register_globals_flag', 'cpgdebugger', 'key');

Sorry for any Inconvenience

François Keller

QuotePlease mark as Solved!
You must solve yourself your thread by clicing the green check button on the top right of your first post
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

loumar

Ok I have just come across this error:

QuoteDestination directory albums/userpics/10025/ is not writable by the script !

I have tried to change permissions of the 10025 folder to 777 but it gives me error: Operation not permitted

I also tryed changing permissions via http cpanel file manager and still same error.

The folder is currently set to 755

Why could this be?

Many Thanks

loumar

Solved it,

Rename the folder that doesn't allow you change permissions then create a new folder calling it the same as the folder that wouldn't allow you 2 change permissions, copy the content of the renamed folder to 1 u created and then change permission on new folder to 777

Works fine :)

loumar

I can seem to upload pictures to gallery without any problems at all but my mate seems to be getting this error:

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 13056 bytes) in /home/anastaci/public_html/gallery/include/picmgmt.inc.php on line 262


She has tryed uploading same picture that I have uploaded without any problems and other pictures that are small pictures and she is still getting same error but I'm not, what could be reason for this?
I don't think its to do with pictures she's uploading because I upload them without any problems.

Many Thanks

Joachim Müller


loumar

I have search for topics on the forum and yes I have looked at this doc http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#ErrorAllowedMemorySize but that is  not my main problem, as I can upload same pictures as my mate is trying to and it works fine for me no errors no thing, same size same everything, but when my mate does it work, she gets that error and she is uploading the exact same picture that i uploaded fine, and we have increased the allowed memory size but it can't be that because I can upload same pictures without any problems at all. :-\

Joe Carver

#8
Your Coppermine is probably not be the source of your trouble.
You wrote....
Quote from: loumar on June 11, 2009, 04:28:45 PM
when my mate does it work, she gets that error

But did you actually mean to write "when my mate does it at work, she gets that error" ?

If so, then maybe the problem is with the browser/computer/network/security settings/etc...where she works. Those are things you will have to look into on your own.

Or does she use use a different account than you? Can you watch her try to create the error on your computer?

Joachim Müller

Quote from: loumar on June 08, 2009, 09:33:03 PM
Will be fixed in the next release. For now you can edit include/init.inc.php, find
Already was fixed in the most recent stable release, so the entire issue comes from using an outdated version.

Case closed, locking