[Solved]: Batch Upload Spotty Performance [Solved]: Batch Upload Spotty Performance
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: Batch Upload Spotty Performance

Started by Old Crow, March 24, 2008, 07:42:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Old Crow

My batch upload is working oddly after updating to 1.4.16.  It seems like if I add a folder of images to my ftp to upload, that works once and then after that when trying to upload the computer just takes me back to the directory area without uploading the files.  I can only get it to work by adding new folders to the ftp area but I know in the past this is not how it is supposed to work.

I checked my album permissions and they are all at 755.

my site is http://www.srcphotography.com/gallery/

I have made a test user account - Name: test user
                                                  pass: test src

I've added this user to a group that had upload access.

I'm pretty lame at trying to figure out the instructions when it came to the "Set the upload form configuration for all groups to "Single file uploads only" part so bare with me.  I found the area but not sure I did things right.  The site is set up for debug mode.

Thanks in advance for any help, let me know if I need to do anything else to help out.


Old Crow

It's been a while, are there any answers?

Hein Traag

27 - 24 = 3 days.. give it a few more days before bumping a thread. All development and support is done by people who do it without pay so don't expect a "hotline" forum.

Have you tried setting the album folder and the folders in it to 777 ?

Nibbler


Old Crow

#4
Quote from: Hein Traag on March 27, 2008, 04:39:45 PM
27 - 24 = 3 days.. give it a few more days before bumping a thread. All development and support is done by people who do it without pay so don't expect a "hotline" forum.

Have you tried setting the album folder and the folders in it to 777 ?

Not yet.  I'll look into that.  Sorry, I didn't know the response time protocol.

QuoteLogin as admin, go to http://www.srcphotography.com/gallery/phpinfo.php and search the page for suhosin. Anything?

I don't know what the suhosin is?  Is this bad?

Nibbler

It's not bad, just known to cause problems. Just see if it comes up on the phpinfo.

Old Crow

Yes, it has the suhosin

Suhosin logo This server is protected with the Suhosin Extension 0.9.23

Copyright (c) 2006-2007 Hardened-PHP Project
Copyright (c) 2007 SektionEins GmbH

Do you need anymore info on this?

Nibbler

You need to get the default settings increased as they are too low. If you can specify php settings in .htaccess then try


php_value suhosin.post.max_vars 1000
php_value suhosin.request.max_vars 1000


in an .htaccess file in your Coppermine directory. If that doesn't work then ask your host.

Old Crow

Do I want to alter the phpinfo.php inside my gallery folder?  I don't see the right code in there.  I have access to change the code, just don't know what file to change.  Again, very new to this but I do the opportunity to do it.

I just need to know where the Suhosin php info is within my gallery folder, what file it is?

Joachim Müller

If the server is yours to administer, change the PHP settings by editing the file php.ini. To find out where that file resides, check phpinfo - the path his indicated there. I'm not sure though about the Suhosin configuration though.

Old Crow

So being frusturated I contacted my ISP and wrote them about the issue.  Here is there response.

QuoteYou can manage all PHP settings with the help of your local php.ini file instead of .htaccess file. In order to use it, you need to create a php.ini file under the folder with your PHP scripts, with the necessary PHP settings. For example, if you need to change the upload_max_filesize for one of your scripts under your public_html to 8M you should create a php.ini file under the folder with the following content:
[PHP]
upload_max_filesize= 8M

suhosin.post.max_vars=1000
suhosin.request.max_vars=1000

Feel free to contact us in case of any further troubles.

Not a big help since I don't know how to make this php.ini file so I winged it.  I made one using the file manager in my control panel.  I originally made one using a text pad on the mac and pasted in the two strings you advised me on.  Once uploaded it still had the .txt extension so I made one directly from the control panel in my gallery folder that had the other php docs.  I went back to check the php settings in CG and they (my ISP) must have completely removed that suhosin part cause now I can't find it.  I did some tests and so far my uploads work fine.  If I encounter any more problems, I'll be sure to update this thread.  Not sure if I would say this one is solved or not.

Joachim Müller

Usually (when being webhosted), you can't edit php.ini, that's why yopu haven't been able to find it. Anyway, marking as "solved".