coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: saradevil on September 26, 2004, 04:11:25 PM

Title: Batch Upload Error: Can't seem to add all pics
Post by: saradevil on September 26, 2004, 04:11:25 PM
I've been reading through the boards now for over an hour, but can't seem to find any information about the problem in particular I'm having.

I've uploaded, modified, and chmoded all the appropriate files. I go to batch add to an album and some pics show OK, while the rest give me a red x. I click on the red x and get a 404 error. I have tried uploading only a single file via upload file, but get the impossible to error. Apparently whenever I use the single file upload it rewrite the permission on my edit folder in the albums dir, couldn't even begin to explain that.

However, my question is, why the red x, what have I done wrong? Some pics load no problem, the rest just diie. I want to try SILLY_Safe_MODE but I'm an old school HTML geek and whenver I see php it makes my skin crawl and I"m not sure where to put the code. I read through the doc about SSM, but I'm not sure where or how to check the include config script to see if Silly mode is there, and then after that I'm not sure how to add the line in the proper place. For example when I look at the config.inc.php in my editor I see numerous things and places where maybe the safe code goes but where?

Okay, I will continue reading, but my eyes were starting to burn so I was wondering if you could give me a break and either answer, or point me to an answer somehwere in this fabulous forum.

The gallery where I am having all the issues is installed at http://www.saradevil.com/Wolf/pics

THanks much,

Sara

Title: Re: Batch Upload Error: Can't seem to add all pics
Post by: Nibbler on September 26, 2004, 04:15:51 PM
Are you actually using pnCPG or not ?
Title: Re: Batch Upload Error: Can't seem to add all pics
Post by: saradevil on September 26, 2004, 04:20:54 PM
Wow, I hate to be a total dolt, but I'm not completely positive, how would I check that out?

I know that I use CPanel on a Linix server with Apache handlers running PHP 4.3.4, does that help?

I upload with FTP commander and I changed all the permission using the cpanel.
Title: Re: Batch Upload Error: Can't seem to add all pics
Post by: casNuy on September 26, 2004, 05:22:58 PM
Sara,
it could be a time-out issue. Try using the batch upload function multiple times

Cas
Title: Re: Batch Upload Error: Can't seem to add all pics
Post by: saradevil on September 27, 2004, 04:26:52 AM
Hello,

I deleted and reinstalled everything. Made sure that it was all properly uploaded in the correct FTP mode by hand. Reinstalled the database, and uploaded some pics for my convience again. Went to do a test, and now no pictures will populate in the gallery. I'm not sure what I've done wrong. The weird thing is that the coppermine gallery is writing the thubnail and image files to the album that I'm trying to upload, but it won't put the pics in the coppermine folder. I still get the red x, and when I click on it, i get the 404 message.

I hit reload about 60 times and nothing would go in. I'm not positive it's a timeout error as the red x come up in seconds flat. Still don't know what I"ve failed to comprehend here. I'd still like to try running in SIlly Safe Mode, but I need help on how to configure the PHP script properly so as not to kill the gallery (I have a long history of murdering PHP script, so I want to get it right).

Oh, I've also resized all the pics to be sure they are not to large. Can't figure out why this is so impossible.

Please do advise, this is driving me crazy. I've read all of the doc and am still hunting for something that might help on the boards, but I'm clueless as to what is going wrong.

The url is http://www.saradevil.com/Wolf/pics

Thanks much,

Sara
Title: Re: Batch Upload Error: Can't seem to add all pics
Post by: saradevil on September 27, 2004, 05:14:14 AM
I wanted to mention I've also tried batch uploading just a single file from the folder, and this also does not work.

I'm including some of the debug here, perhaps that will help.

When I turned debug on I got several dozen of the following at the top of the page before I tried to upload.

Notice: Undefined variable: fullimagesize in /home/saradevi/public_html/Wolf/pics/searchnew.php on line 136

Notice: Undefined variable: fullimagesize in /home/saradevi/public_html/Wolf/pics/searchnew.php on line 137

And the following in the debug script box:

USER:
------------------
Array
(
   [ID] => 6e1e37f085c01b359f87420ef0af2bc2
   [am] => 1
   [liv] => Array
       (
           
Title: Re: Batch Upload Error: Can't seem to add all pics
Post by: saradevil on September 27, 2004, 05:20:48 AM
One more thing. I would like to try safe mode. My config.inc file looks as follows when I open it in my notetab editor:

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';        // Your database server
$CONFIG['dbuser'] =                         '*******';        // Your mysql username
$CONFIG['dbpass'] =                         '******';                // Your mysql password
$CONFIG['dbname'] =                         'saradevi_wpics';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg132_';
?>

Where do I insert the define-silly safe mode script?

Cheers,

Sara
Title: Re: Batch Upload Error: Can't seem to add all pics
Post by: Joachim Müller on September 27, 2004, 06:14:25 AM

<?php
// Coppermine configuration file

// MySQL configuration
$CONFIG['dbserver'] =                         'localhost';        // Your database server
$CONFIG['dbuser'] =                         '*******';        // Your mysql username
$CONFIG['dbpass'] =                         '******';                // Your mysql password
$CONFIG['dbname'] =                         'saradevi_wpics';        // Your mysql database name


// MySQL TABLE NAMES PREFIX
$CONFIG['TABLE_PREFIX'] =                'cpg132_';

define('SILLY_SAFE_MODE'1);

?>



Joachim
Title: Re: Batch Upload Error: Can't seem to add all pics
Post by: saradevil on September 27, 2004, 07:24:05 AM
Hello again,

Well, I have officially tried the silly safe mode and that did not work either. So to recap:

I upload images to my site via ftp. I change the permissions to make them writeable.
I select the images I want. I select the folder. I hit add.
Within 2 seconds I see lots of red x's. In the album where I added the pics thumbnails are generated. However, the galleries are not being populated.

I click the red x to get the php error and recieve a 404 error instead.

Not sure what to do now. I reinstalled the gallery files. Since I reinstalled I cannot add any pics. Before I reinistalled it was hit or miss, but after the third time I tired to install pics from the same file I got nowwhere.

Thanks for the FYI on installing the safe mode script. Any more suggestions or should I just give up on the old mine?

Cheers,

Sara
Title: Re: Batch Upload Error: Can't seem to add all pics
Post by: saradevil on September 27, 2004, 08:06:42 AM
Ah yes,

If you think anything more useful might be found in the debug script please let me know and I will send you the latest bugs.


Cheers,

Sara
Title: Re: Batch Upload Error: Can't seem to add all pics
Post by: saradevil on September 27, 2004, 10:19:59 AM
Well for an update,

Now I can't even login to the gallery, all I get is a 404 error. I'm not sure why I always have this much trouble with php.
Any ideas.

Sara