Error Uploading Files
TADesigns
Joined: 2002-11-14
Posts: 94 |
Posted: Thu, 2003-04-17 00:51 |
I have a gallery that has been setup at http://www.thomasanastasia.com/gallery , that has operated for 6 months without any problems. at the end of march I started getting errors when i waould try to upload files, ie; download error, no thumbnail etc etc. Tonight I tried to upload the first album of photos to another album that has been installed for months ( http://www.thomasanastasia.com/family/gallery ) without being used. Same errors. I turned on the debug and tried to upload a single photo. This is the error I got. <snip> Processing status... /usr/bin/jpegtopnm /www/thomasanastasia/family/images/albums/album01/DSC02351.jpg | /usr/bin/pnmscale -xysize 150 150 | /usr/bin/ppmtojpeg --quality=95 > /www/thomasanastasia/family/images/albums/album01/DSC02351.thumb.jpg Results: Error messages: Status: 1 (expected 0) <snip> Can you decipher the problem? I have searched through the forum, but I'm not clear on whether it is an issue with a change with netpbm or if it is how to correct it. Thank you. ------ <snip> (System Linux makeover.chicago.hostway.net 2.4.18-pre7 #1 SMP Wed Jan 30 10:30:42 CST 2002 i686 unknown <snip> Gallery URL: http://www.thomasanastasia.com/family/gallery & http://www.thomasanastasia.com/gallery |
|
Posts: 8194
I'd try FAQ C.2 It looks like you're using the systemwide installation of NetPBM -- if you're on a shared server, try uploading your own (download from Gallery SF.net page) NetPBM binaries and using them..
Posts: 94
netpbm1.1-gallery1.0-linux2.2-redhat6.2-intel.tgz
Would this be the right one?
Do I setup a dir and then redirect that directory?
Posts: 94
I upgraded the empty gallery to ver 1.3.3 and installed the netpbm files in my own directory. Then when I run configuration everything looks fine. So I try to upload a single photo and this is the error now.
<snip>
Processing status...
Warning: Unable to move '/tmp/phpvCxD0f' to '/home/thomasanastasia/www/tmp/galleryDnDnB8' in /home/www/thomasanastasia/family/gallery/save_photos.php on line 318
- Adding DSC02351.jpg
Warning: getimagesize: Read error! in /home/www/thomasanastasia/family/gallery/util.php on line 473
Error: Invalid image: DSC02351.jpg!
Need help? Look in the Gallery FAQ
<snip>
I'm pulling my hair out here. Does anyone have any ideas???
Posts: 8194
I'd ask your host about that. It looks like there may be some issues with PHP file uploading (e.g. incorrect permissions on the /tmp directory or something similar)...
Posts: 94
I did talk with my hosting company and they advised me that I had reached my 200mb disk space quota, duh, I didn't even think of that. So I upgraded to the next plan and now the gallery at http://www.thomasanastasia.com/gallery is working fine. I still get an error when I am trying to upload to the other gallery at http://www.thomasanastasia.com/family/gallery .
Here is the error...
<snip>
Processing status...
- Adding DSC02351.jpg
Warning: Unable to open '' for reading: No such file or directory in /home/www/thomasanastasia/family/gallery/platform/fs_unix.php on line 24
Warning: getimagesize: Unable to open '/home/thomasanastasia/www/family/images/albums/album01/DSC02351.jpg' for reading. in /home/www/thomasanastasia/family/gallery/util.php on line 473
Error: Invalid image: DSC02351.jpg!
Need help? Look in the Gallery FAQ
<snip>
If you notice the first error says "Warning: Unable to open '' for reading: No such file or directory in /home/www/thomasanastasia/family/gallery/platform/fs_unix.php on line 24"
The problem is that the directory is at "/home/thomasanastasia/www/family/gallery/"
Every time I run configuration I tell it where to go and I have even opened up the config.php file to double check that it saved correctly after configuration. So why does it keep going to the wrong place? Is there somewhere else I need to make this change.
Thanks,
Tom
Posts: 94
Anyone else have any thoughts on this??
Posts: 3473
Maybe your temp directory is wrong.
Posts: 94
Joan,
Thank you for the response. I have verified that the config.php file is pointing to all of the right directories. Is there anywhere else that you can think might be an issue.
Remeber I have one gallery that is operating fine.
Thanks,
Tom
Posts: 3473
Have you got shell access on a unix/linux bos? If so, diff the two config.php. If they are different on any lines beside the album an gallery path and URL lines, that might be a clue.
diff /path/to/first/gallery/config.php /path/to/second/gallery/config.php
Posts: 94
ok......
That was a good tip. I ran diff and made some changes so that the directory structure is the same on both (with the exception of the obvious different locations that gallery resides). I ran diff after the changes and the image below is what I see.
<!-- BBCode Start --><IMG SRC="http://www.thomasanastasia.com/tel-net.jpg"><!-- BBCode End -->
As you can see the two are almost identical. Now whem I try to upload I get this error.
<snip>
Processing status...
- Adding DSC02351.jpg
Warning: Unable to open '' for reading: No such file or directory in /home/www/thomasanastasia/family/gallery/platform/fs_unix.php on line 24
Warning: getimagesize: Unable to open '/www/thomasanastasia/family/images/albums/album01/DSC02351.jpg' for reading. in /home/www/thomasanastasia/family/gallery/util.php on line 473
Error: Invalid image: DSC02351.jpg!
Need help? Look in the Gallery FAQ
<snip>
Soooooooooo.........
I hate to be a pest, but my php knowledge is minimal.
Thanks again,
Tom
Posts: 3473
This is confusing. Are you sure one or more of your gallery files isn't corrupted? I'd try moving my config.php and .htaccess out, copy the files from a working installation (or reinstall from archive) and copy the two files back.
I don't think this will solve it, but at least it will eliminate that possibility.
Posts: 94
Joan,
I'm pulling my hair out in the process of upgrading the first gallery, the one that has worked fine for six months (http://www.thomasanastasia.com/gallery), It has aquired the same problem.
Can you decipher this error. I know its the same one as before but I wonder if you can tell me why it always happens to be those files and those line numbers. Are they clues to my configuration problem.
<snip>
Processing status...
- Adding DSC02351.jpg
Warning: Unable to open '' for reading: No such file or directory in /home/www/thomasanastasia/family/gallery/platform/fs_unix.php on line 24
Warning: getimagesize: Unable to open '/home/thomasanastasia/www/family/albums/album01/DSC02351.jpg' for reading. in /home/www/thomasanastasia/family/gallery/util.php on line 473
Error: Invalid image: DSC02351.jpg!
Need help? Look in the Gallery FAQ
<snip>
In addition now that I am having the error problem on the first gallery I went to put it into configuration and when I try to start the wizard it goes to the internal error page.
Your assistance thus far has been very appreciated.
Posts: 3473
Bed time for me, so just a quick thought: do you have plenty of space in your temp directory?
Posts: 94
yea, that definetly isn't a problem.
If my directory hasn't been correct it would always say so when trying to complete the configuration wizard. So why does it keep saying No such file or directory? I can see that they are there? Do they need to have a special permission ie; 777? and what about the fact that it continues to hang up here "fs_unix.php on line 24"? Does this mean something in particular?
Posts: 8194
Your temp directory does need to be writable by the web server, which usually means 0777.
Posts: 94
Girls and Guys thank you for your help. I'm about fed up with this problem so I am going to start from scratch on the gallery that didn't already have pictures in it. I deleted all of the files and directories, unpacked a clean version, put it into configuration mode and when I go to start the wizard I get the 500 error. Which I experienced the first time I set up my first gallery 6 months ago. Of course we eventually worked through it but wouldn't you know I don't remember all of my steps. So I have pulled out my original posts and e-mails with my hosting company.
Lets start here.
My php.ini has this in it....
<snip>
register_globals = on
safe_mode = Off
magic_quotes_gpc = Off
<snip>
Is that correct, or should I say am I missing anything there?
Thanks again for bearing with me.
Posts: 94
I guess I should include that the gallery I am working on is located at:
http://www.thomasanastasia.com/family/gallery
and the message thread that includes the very first discussion I had when I set up the first gallery is located at:
http://gallery.menalto.com/modules.php?op=modload&name=phpBB_14&file=index&action=viewtopic&topic=2071&8247
Thanks
Posts: 94
ok, back in. I had to delete the .htaccess files in the gallery and setup directories.
When I try to upload photos in the newly reloaded gallery, this is the error I get. Its the same thing I have been getting. I looked up the lines that it is referencing. Maybe you can help me decipher where the problem is.
1st>>>>
Warning: Unable to open '' for reading: No such file or directory in /home/www/thomasanastasia/family/gallery/platform/fs_unix.php on line 24
This is line 24 in fs_unix.php : $results = copy($source, $dest);
2nd>>>>
Warning: getimagesize: Unable to open '/www/thomasanastasia/family/images/albums/album01/DSC02433.jpg' for reading. in /home/www/thomasanastasia/family/gallery/util.php on line 473
This is line 473 in util.php : if (($type = getimagesize($file)) == FALSE)
So..... Does this shed any light on it? I don't really understand the php syntax enough to figure it out.
Posts: 3473
No, you misunderstand. Have you filled up the space? Do you still have disk space left in your temporary directory?
Posts: 94
Yes I do, plenty of space in the tmp directory.
Do the line errors not really give clues or is that why your asking about the temp directory?
Posts: 3473
I've just gone back to the source, and now I see where the problem must be. I don't know the cause, but at least we can be a little more intelligent about the debug.
It seems the upload may not be not working. Check which versions of apache and PHP are being used, as they may have upgraded to an incompatible combination.
Add this code to save_photos.php<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
<span class=title>Processing status...</span>
<br>
<?php
print "Userfile: ";
var_dump($userfile);
print "<p>Userfile_name: ";
var_dump($userfile_name);
while (sizeof($userfile)) {
$name = array_shift($userfile_name);
$file = array_shift($userfile);
print "<br>name: $name; file $file<br>";
if (!empty($usercaption) && is_array($usercaption)) {
$caption = removeTags(array_shift($usercaption));
}
</TD></TR></TABLE><!-- BBCode End -->
Posts: 94
Joan,
I assumed you wanted me to change this>>>
<span class=title>Processing status...</span>
<br>
<?php
while (sizeof($userfile)) {
$name = array_shift($userfile_name);
$file = array_shift($userfile);
if (!empty($usercaption) && is_array($usercaption)) {
$caption = removeTags(array_shift($usercaption));
}
$tag = ereg_replace(".*.([^.]*)$", "\1", $name);
$tag = strtolower($tag);
if ($name) {
process($file, $tag, $name, $caption, $setCaption);
}
}
to this>>>>>
<span class=title>Processing status...</span>
<br>
<?php
print "Userfile: ";
var_dump($userfile);
print "<p>Userfile_name: ";
var_dump($userfile_name);
while (sizeof($userfile)) {
$name = array_shift($userfile_name);
$file = array_shift($userfile);
print "<br>name: $name; file $file<br>";
if (!empty($usercaption) && is_array($usercaption)) {
$caption = removeTags(array_shift($usercaption));
}
Is that correct? Or was I just supposed to add that in somewhere and not remove anything?
When I do that then try to upload a file it gives me this>>>
Parse error: parse error in /home/www/thomasanastasia/family/gallery/save_photos.php on line 443
Should I change it back?
Posts: 8194
Add one more bracket ( } ) to the end of that code block...
Posts: 3473
not quite. Your replacement is right, but only remove :
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
<span class=title>Processing status...</span>
<br>
<?php
while (sizeof($userfile)) {
$name = array_shift($userfile_name);
$file = array_shift($userfile);
if (!empty($usercaption) && is_array($usercaption)) {
$caption = removeTags(array_shift($usercaption));
}
</TD></TR></TABLE><!-- BBCode End -->
Posts: 94
ok, I added the other bracket and then tried to upload, this is the latest error>>>
Processing status...
Userfile: array(5) { [0]=> string(0) "" [1]=> string(0) "" [2]=> string(0) "" [3]=> string(0) "" [4]=> string(0) "" }
Userfile_name: array(5) { [0]=> string(12) "DSC02353.jpg" [1]=> string(0) "" [2]=> string(0) "" [3]=> string(0) "" [4]=> string(0) "" }
name: DSC02353.jpg; file
name: ; file
name: ; file
name: ; file
name: ; file
No images uploaded!
Thank you for your help and patience.
Posts: 94
I'm sorry are you saying it should look like so?
This is what I currently have in there>>>
<span class=title>Processing status...</span>
<br>
<?php
print "Userfile: ";
var_dump($userfile);
print "<p>Userfile_name: ";
var_dump($userfile_name);
while (sizeof($userfile)) {
$name = array_shift($userfile_name);
$file = array_shift($userfile);
print "<br>name: $name; file $file<br>";
if (!empty($usercaption) && is_array($usercaption)) {
$caption = removeTags(array_shift($usercaption));
}
$tag = ereg_replace(".*.([^.]*)$", "\1", $name);
$tag = strtolower($tag);
if ($name) {
process($file, $tag, $name, $caption, $setCaption);
}
}
Is that correct?
Thank you
Posts: 94
Every time I make a change I get excited and start thinking is this it, then...
Da da dannnnnnn...... ERROR AGGGHHHHHH :eek:
ha, you gotta laugh right??? :lol:
So the new error looks like so>>>>>
Processing status...
Userfile: array(5) { [0]=> string(0) "" [1]=> string(0) "" [2]=> string(0) "" [3]=> string(0) "" [4]=> string(0) "" }
Userfile_name: array(5) { [0]=> string(12) "DSC02354.jpg" [1]=> string(0) "" [2]=> string(0) "" [3]=> string(0) "" [4]=> string(0) "" }
name: DSC02354.jpg; file
- Adding DSC02354.jpg
Warning: Unable to open '' for reading: No such file or directory in /home/www/thomasanastasia/family/gallery/platform/fs_unix.php on line 24
Warning: getimagesize: Unable to open '/www/thomasanastasia/family/images/albums/album01/DSC02354.jpg' for reading. in /home/www/thomasanastasia/family/gallery/util.php on line 473
Error: Invalid image: DSC02354.jpg!
Need help? Look in the Gallery FAQ
name: ; file
name: ; file
name: ; file
name: ; file
It looks like a combination of my old error and some new things???
Posts: 3473
Sorry to get you excited, that was never going to fix it. It's just diagnostic statements. And it's given some interesting results. It looks like the file uploading is failing somehow.
Let's just test that, without any gallery code to confuse things.
Create a file called x.php in your gallery directory, and put this in it:
<!-- BBCode Start --><TABLE BORDER=0 ALIGN=CENTER WIDTH=85%><TR><TD><font class="pn-sub">Code:</font><HR></TD></TR><TR><TD><FONT class="pn-sub"><PRE>
<html> <body>
<form enctype="multipart/form-data" action="x.php" method="post">
Send this file: <input name="userfile" type="file">
<input type="submit" value="Send File"> </form>
<?php
if ($_FILES) {
print ("<p>_FILES: ");
var_dump($_FILES);
print ("<p>userfile $userfile; userfile_name $userfile_name<p>");
if (strlen($_FILES["userfile"]["tmp_name"]) > 0 && $_FILES["userfile"]["size"] > 0) {
print "<p> Test Passed<p>";
} else {
print "<p> Test Failed<p>";
}
}
if ($HTTP_POST_FILES) {
print ("<p>HTTP_POST_FILES: ");
var_dump($HTTP_POST_FILES);
print ("<p>");
if (strlen($HTTP_POST_FILES["userfile"]["tmp_name"]) > 0 && $HTTP_POST_FILES["userfile"]["size"] > 0) {
print "<p> Test Passed<p>";
} else {
print "<p> Test Failed<p>";
}
}
?>
</body> </html>
</TD></TR></TABLE><!-- BBCode End -->
Open it in your browser, chose a file with "browse" and then click "send this file"
If the tests pass, I'm wrong and upload basically work. If the tests fail, then you should show the results to your ISP. Either way, please post everything that gets printed here.
Posts: 8194
Is file_uploads enabled in your PHP config? If you put Gallery into setup mode, go to the phpinfo.php script in your browser (in the setup/ directory) and search for file_uploads -- is it on?
Posts: 3473
Andrew,
Good to see you! As you can see, I'm a little out of my depth here! Can I leave him in your hands?
Posts: 94
After making the file x.php, these are the results of the test.
Send this file:
_FILES: array(1) { ["userfile"]=> array(5) { ["name"]=> string(12) "DSC02351.jpg" ["type"]=> string(0) "" ["tmp_name"]=> string(0) "" ["error"]=> int(3) ["size"]=> int(0) } }
userfile ; userfile_name DSC02351.jpg
Test Failed
HTTP_POST_FILES: array(1) { ["userfile"]=> array(5) { ["name"]=> string(12) "DSC02351.jpg" ["type"]=> string(0) "" ["tmp_name"]=> string(0) "" ["error"]=> int(3) ["size"]=> int(0) } }
Test Failed
Andrew, I checked the phpinfo.php file in the setup directory and this is all that it says in there>>>>
<?php phpinfo() ?>
and here is my config.php file>>>
<?php
/*
* Gallery - a web based photo album viewer and editor
* Copyright (C) 2000-2002 Bharat Mediratta
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or (at
* your option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
?>
<?php
/*
* Protect against very old versions of 4.0 (like 4.0RC1) which
* don't implicitly create a new stdClass() when you use a variable
* like a class.
*/
if (!$gallery) {
$gallery = new stdClass();
}
if (!$gallery->app) {
$gallery->app = new stdClass();
}
/* Version */
$gallery->app->config_version = 31;
/* Features */
$gallery->app->feature["zip"] = 1;
$gallery->app->feature["rewrite"] = 0; // (missing <i>GALLERY_REWRITE_OK</i> -- it's optional)
$gallery->app->feature["mirror"] = 0; // (missing <i>mirrorSites</i> -- it's optional)
/* Constants */
$gallery->app->galleryTitle = "Family Galleries";
$gallery->app->pnmDir = "/usr/bin";
$gallery->app->ImPath = "/usr/local/bin";
$gallery->app->graphics = "NetPBM";
$gallery->app->highlight_size = "200";
$gallery->app->zipinfo = "/usr/bin/zipinfo";
$gallery->app->unzip = "/usr/bin/unzip";
// optional <i>use_exif</i> missing
$gallery->app->movieThumbnail = "/home/www/thomasanastasia/family/gallery/images/movie.thumb.jpg";
$gallery->app->albumDir = "/www/thomasanastasia/family/images/albums";
$gallery->app->tmpDir = "/home/thomasanastasia/www/tmp";
$gallery->app->photoAlbumURL = "http://www.thomasanastasia.com/family/gallery";
$gallery->app->albumDirURL = "http://www.thomasanastasia.com/family/images/albums";
// optional <i>mirrorSites</i> missing
$gallery->app->showAlbumTree = "no";
$gallery->app->cacheExif = "no";
$gallery->app->jpegImageQuality = "95";
$gallery->app->timeLimit = "30";
$gallery->app->debug = "no";
$gallery->app->use_flock = "yes";
$gallery->app->expectedExecStatus = "0";
$gallery->app->sessionVar = "gallery_session";
$gallery->app->userDir = "/www/thomasanastasia/family/images/albums/.users";
$gallery->app->pnmtojpeg = "ppmtojpeg";
/* Defaults */
$gallery->app->default["bordercolor"] = "black";
$gallery->app->default["border"] = "1";
$gallery->app->default["font"] = "arial";
$gallery->app->default["cols"] = "3";
$gallery->app->default["rows"] = "3";
$gallery->app->default["thumb_size"] = "150";
$gallery->app->default["resize_size"] = "640";
$gallery->app->default["fit_to_window"] = "no";
$gallery->app->default["use_fullOnly"] = "no";
$gallery->app->default["print_photos"] = "shutterfly";
$gallery->app->default["returnto"] = "yes";
$gallery->app->default["showOwners"] = "no";
$gallery->app->default["albumsPerPage"] = "5";
$gallery->app->default["showSearchEngine"] = "yes";
$gallery->app->default["useOriginalFileNames"] = "yes";
$gallery->app->default["display_clicks"] = "yes";
$gallery->app->default["public_comments"] = "yes";
?>
Any thoughts?
Posts: 8194
Nevermind, it looks like file uploads are enabled, or else _FILES wouldn't be getting populated...
Posts: 94
So where does that leave me? I just don't understand I had my other Gallery working fine for 6 months.
Andrew, is there something else you suggest I try? Maybe some others tests that would rule out other possibilties?
Thank you, Tom
Posts: 3473
Uploads may be enabled, but nothing it getting uploaded.
Two things I can suggest: Browser problems or space/permissions problems on the server. If you can create a temporary account, one of us could try uploading, then at least we could find out if it was browser or system problems.
Posts: 94
ok, URL is http://www.thomasanastasia.com/family/gallery
login: test
pass: test
Posts: 8194
Well, um, file uploading works for me
http://www.thomasanastasia.com/family/gallery/view_album.php?set_albumName=album02
I uploaded a Dilbert comic...
Posts: 3473
Beat me to it.
Looks like it's either your files (too big?) or maybe your browser (try http://www.mozilla.org)
Posts: 94
well, i'm at work so I can't tell you the exact file size, but i'm using IE 6 and the files are straight out of my digital camera.
This is the same browser and the same camera that has taken the pictures that are in this gallery, http://www.thomasanastasia.com/gallery . I never had a problem uplaoding to this gallery until recently when I started this thread. In addition wouldn't the xp uploader bypass the browser? I was able to upload two different albums to this gallery with the xp uploader before I started having problems. Is there some kind of conflict that might be out there?
While I was typing this I tried to upload a photo from work using IE 6 and this was the result.
It did upload but in the window it says this.
Processing status...
Userfile: array(5) { [0]=> string(14) "/tmp/phpiGzoJ6" [1]=> string(0) "" [2]=> string(0) "" [3]=> string(0) "" [4]=> string(0) "" }
Userfile_name: array(5) { [0]=> string(10) "Sample.jpg" [1]=> string(0) "" [2]=> string(0) "" [3]=> string(0) "" [4]=> string(0) "" }
name: Sample.jpg; file /tmp/phpiGzoJ6
- Adding Sample.jpg
name: ; file
name: ; file
name: ; file
name: ; file
Do I need to remove the syntax we added in the save_photo.php previously?
I really appreciatte all of your help and bearing with me.
Thanks, Tom
Posts: 8194
Have you tried uploading a photo not from your digital camera? E.g. save one of the images we uploaded and try to reupload it. Does it work?
Make sure to download the biggest image, so Gallery has to resize it...
Posts: 94
Good Point. I won't be home for a couple of hours. When I get in I will try it and let you know the outcome.
Anythoughts on the error it spit out when it processed the photo I uploaded? Should I remove the code we added earlier?
Posts: 3473
That's not an error - it's diagnostic statements, that print out whether everything works or not. And it's showing it's all working great! Remove those lines, whatever your problem was, it's gone now.
Posts: 94
I will let you know the results once I get home. So I guess if I have a problem then its either the browser or file size.
Still not quite sure why it used to work and now it doesn't, but all that matters is that it seems to be working now.
Joan and Andrew thank you very much!!! :grin:
Posts: 94
Well, I'm home and it must be a size issue. Because I can't upload one of the pics, yet I can a small web button.
The pics from my camera are between 650kb and 900kb, the thing is all of the pictures that I uploaded in the past were the same. SO somewhere something changed..... is there a setting somewhere.
I put it in configuration but all it says is that I can't upload larger than 200mb.
hmmmmm
Posts: 15
I am having a problem uploading a big file as well. . .not sure what the problem is.
I was trying to upload a mpeg file that is 9MB (encoded with Videowave III). It fails with all the upload methods (Java, XP, and web).
I have been successful uploading several 6MB (encoded with Movie Maker) files. . .
If there is a size limitation, I am running into it between 6 and 9 MB. . .
When I uploading with the web interface, after I submit the status window pops up and the main window refreshes to "page not found" in IE and in Mozilla it says something about page info being missing.
Advice is helpful.
Posts: 2
I can load any one (1) image at a time but not multiple images. Are you able to upload
any type of file X 2,3,etc..
My phpinfo.php tells me: file_uploads = 1
php.ini: Upload thing (it's late) =on
upload_max_filesize = 12M
searched all forums and faq here & php.net, nothing yet :mad:
Posts: 94
Well this is the story....
I have two galleries set up. The first was operating fine for six months and would upload as many of my 750-900 kb files that came out of my camera, as I wanted. Then out of no-where I started getting an error and it would not work. I thought this was simply an issue at the time and I would figure it out. Well then I proceeded with seting up my second gallery and I had the same issue. As you can see by this thread that I spent many hours pulling my hair out trying to figure it out. Thanks to Andrew and Joan I have finally come to the realization that I can upload files if they are a certain size, but it seems like after I pass the 400 kb threshold, I get the error and it doesn't work. I have checked my configuration and it is set up to recieve files up to 2mb.
This is the entire contents of my php.ini >>>
register_globals = on
safe_mode = Off
magic_quotes_gpc = Off
Is there anything I should add in there? Does anyone else know what files I can change settings in so I don't continue to have this issue. I have no desire to shrink down every picture before I can upload it. Please, any help is appreciated.
Thanks, Tom
Posts: 94
Anyone have any new ideas?
Posts: 2
Not a clue! Re-read all the posts to make sure I didn't miss something and searched the php manual pages for any clues. Zip!!! Will certainly post any findings back to here though.
This is just crazy! :evil: