 | |  | |
January 30th, 2005, 09:35 PM
|
#1 (permalink)
| | Member Verified Customer
Join Date: Jul 2004
Posts: 48
| Cant upload
Just installed the gallery.. The home page works fine, but when I go to upload an image I get a blank screen on the upload.php page.. Nothing at all.. No errors, no pages
|
| |
January 30th, 2005, 09:40 PM
|
#2 (permalink)
| | Member Verified Customer
Join Date: Jul 2004
Posts: 48
| Re: Cant upload
Ok.. I checked the 'files' directory actually and it created folders and the images I tried are there.. I assume the folders are created based off of used ID?
Anyway.. They are in there, but they still dont show up in my gallery
Pls help
|
| |
January 30th, 2005, 09:52 PM
|
#3 (permalink)
| | Senior Member Verified Customer
Join Date: Aug 2003 Location: Portugal
Posts: 492
| Re: Cant upload
How many issues are you having Morris? Do you still get a blank page after submitting the file? Do you see the gallery page but not the images or do you see a blank page?
My guessing powers run low at night..
|
| |
January 30th, 2005, 10:05 PM
|
#4 (permalink)
| | Member Verified Customer
Join Date: Jul 2004
Posts: 48
| Re: Cant upload
Sorry if I was vague...
I just installed it and everything seems to be working as far as basics.. I set up categories and they show up immediately on the home gallery page.. I go to upload a file, and if I am dont choose the category I want to upload or dont choose a file, I get a 'You must choose a category for your image.' error, or 'No File uploaded' as it should...
But when I do everything correctly as if I am going to upload a file, I click submit and simply get a blank page. Hrm.. Interesting.. While following the process of doing so to tell you what I was doing, one image works, whereas, the other actually gets me the blank page.. The one that is giving me a blank page is a jpg of 15KB, and the one that is working is an 8KB jpg...
I have tried a couple others now.. a 12kb jpg is giving me a blank page.. a 1kb gif worked.. I also tried a 29kb gif that exceeds the size limit and DID get 'Your image is too large. The maximum dimensions for this type of image in this category are 400 x 600.' which is good.. But still.. Something is wierd.. I can try more if you can help.. I am not sure what to tell you though as far as anything else.. Seems to have to do with sizes of the files...
Even with the files I tried to upload and got blank screens with, they do end up in a subfolder in /gallery/files so the upload is happening, but no output is given to the uploader, not is it added to the list of images for mods to approve.. |
| |
January 30th, 2005, 10:19 PM
|
#5 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,408
| Re: Cant upload
MorrisMcD:
I've seen a few different reasons why the white page would occur. Some quick items to check.....
- Is your ../gallery/files chmod'ed to 777?
- Does your server have GD on it?
- Did you verify the url paths in the Gallery settings?
If you want to submit a support ticket I'll be up for a little bit yet tonight.
|
| |
January 30th, 2005, 10:23 PM
|
#6 (permalink)
| | Senior Member Verified Customer
Join Date: Aug 2003 Location: Portugal
Posts: 492
| Re: Cant upload
Ok, so the files are being handled in the backstage but no front-stage activity.
So, 1) have you search this forums for "blank page upload"? There are already some threads on this matter.
2) have you checked all server requirements like safe_mode off (remote shot but possible cause), files dir chmod'ed to 777, paths properly set in the admin, etc?
3) have you checked file and usergroup permissions? Edit Kevin must also have 7 fingers in each hand =)
|
| |
January 30th, 2005, 10:23 PM
|
#7 (permalink)
| | Member Verified Customer
Join Date: Jul 2004
Posts: 48
| Re: Cant upload
I think I am probably missing GD...
I talked to Brian before I bought it and made sure I had the safe mode off and GD installed.. I think I may NOT have GD though... He said to do the following the check... 'An easy way to tell if you have it installed is to go to your Admin CP => vBulletin Options => User Registration Options => Image Verification. If you see an image there, then you have GD.' I do not actually see an image THERE, but I figured he meant if I use that option and if it works, then its installed.. So I probably dont have GD, because I have never done anything to install it.
I have a Windows 2000 server, so this isnt nix based at all.. I am running IIS 5.. If you could probably point me in the direction of installing GD, I may be good..
|
| |
January 30th, 2005, 10:28 PM
|
#8 (permalink)
| | Member Verified Customer
Join Date: Jul 2004
Posts: 48
| Re: Cant upload Quote: |
Originally Posted by rbl Ok, so the files are being handled in the backstage but no front-stage activity.
So, 1) have you search this forums for "blank page upload"? There are already some threads on this matter.
2) have you checked all server requirements like safe_mode off (remote shot but possible cause), files dir chmod'ed to 777, paths properly set in the admin, etc?
3) have you checked file and usergroup permissions? Edit Kevin must also have 7 fingers in each hand =) | Safe mode is off.. Permissions are good.. chmod777 is pretty much full access right? This is a windows box
|
| |
January 30th, 2005, 10:35 PM
|
#9 (permalink)
| | Senior Member Verified Customer
Join Date: Aug 2003 Location: Portugal
Posts: 492
| Re: Cant upload Quote: |
Originally Posted by MorrisMcD This is a windows box | Ahhhh the magic words =)
That's probably 75% of the problem, if not the whole 100%.
Can't really help. My only windows experience is in Spider Solitaire =) Edit: wait, just remember that some windows prefer 666 or 755 to 777. Try that and search the forum for windows. If you don't have luck, maybe tomorrow during regular hours for regular people, someone can help.
I'm off to bed! Good luck!
|
| |
January 30th, 2005, 10:40 PM
|
#10 (permalink)
| | Member Verified Customer
Join Date: Jul 2004
Posts: 48
| Re: Cant upload Quote: |
Originally Posted by rbl Ahhhh the magic words =)
That's probably 75% of the problem, if not the whole 100%.
Can't really help. My only windows experience is in Spider Solitaire =) Edit: wait, just remember that some windows prefer 666 or 755 to 777. Try that and search the forum for windows. If you don't have luck, maybe tomorrow during regular hours for regular people, someone can help.
I'm off to bed! Good luck! | http://www.vbadvanced.com/forum/show...7982#post27982
This was the most useful of threads I could find on this.. Unfortunately, it doesnt seem to be something that anyone knows for sure is the problem..
Blaming it on Windows is funny sometimes, but not when you just blew 60 bucks on something that is supposed to work ON Windows...
|
| |
January 30th, 2005, 10:41 PM
|
#11 (permalink)
| | Registered User Verified Customer
Join Date: Nov 2005
Posts: 1,408
| Re: Cant upload
For installing GD, check out these links... http://us3.php.net/manual/en/ref.image.php http://www.boutell.com/gd/
Also, you may want to try ACP --> Import & Maintenance --> View PHP Info and see if there are any references to GD in there. Before you go nuts installing GD you'll want to rule out that it actually needs to be installed.
|
| |
January 30th, 2005, 10:43 PM
|
#12 (permalink)
| | Member Verified Customer
Join Date: Jul 2004
Posts: 48
| Re: Cant upload Quote: |
Originally Posted by KW802 | Thanks.. I cant find 'GD' anywhere on the phpinfo page, so chances are its not installed..
Thanks for the help.. I will try this.
|
| |
January 30th, 2005, 10:49 PM
|
#13 (permalink)
| | Senior Member Verified Customer
Join Date: Aug 2003 Location: Portugal
Posts: 492
| Re: Cant upload Quote: |
Originally Posted by MorrisMcD Blaming it on Windows is funny sometimes, but not when you just blew 60 bucks on something that is supposed to work ON Windows... | It's an important aspect. It has nothing to do with being funny or not. If I have problems running a php script on my computer, I do mention that I'm on Mac OS X, although this is Unix for that matter.
Most php script are developed and planned to run on Linux (like every other 98% of the webservers) so is something you should bring up front in any problem reporting situation.
I'm sure someone can help you out getting Gallery running, don't worry =)
|
| |
January 30th, 2005, 10:55 PM
|
#14 (permalink)
| | Member Verified Customer
Join Date: Jul 2004
Posts: 48
| Re: Cant upload Quote: |
Originally Posted by rbl It's an important aspect. It has nothing to do with being funny or not. If I have problems running a php script on my computer, I do mention that I'm on Mac OS X, although this is Unix for that matter.
Most php script are developed and planned to run on Linux (like every other 98% of the webservers) so is something you should bring up front in any problem reporting situation.
I'm sure someone can help you out getting Gallery running, don't worry =) | Completely understood.. Which is one of the reasons I brought it up..
|
| |
January 31st, 2005, 09:01 AM
|
#15 (permalink)
| | Guest | Re: Cant upload
If you didn't see an image next to that setting then there's a 99% chance you don't have GD installed. If you have root access to the server and are going to have to install an image program anyways, I might recommend ImageMagick instead. It has a lot more capabilities and is just better than GD in general.
| |
| |
January 31st, 2005, 10:59 AM
|
#16 (permalink)
| | Junior Member Verified Customer
Join Date: Jan 2005
Posts: 9
| Re: Cant upload
i was testing gallery rc2 on my win box without any problems.
i assume you have a recent version of php...
for gd in windows, you'll need to edit the php.ini file and remove the commentor (";")for the gd extension. easy as that.
also, when setting your paths, be sure to use forward slashes. ie. c:/inetpub/wwwroot/gallery/files
then to set the permissions, go to properties for the given folder and select permissions. from there, you can selectively set who can/cannot read/write/etc.
windows does not have a chmod function.
hope that helps ya.
|
| |
January 31st, 2005, 11:15 AM
|
#17 (permalink)
| | Guest | Re: Cant upload Quote: |
Originally Posted by mrdatalife for gd in windows, you'll need to edit the php.ini file and remove the commentor (";")for the gd extension. easy as that. | You'll probably need to move your php_gd2.dll file from your extras folder into the php folder as well. | |
| |
January 31st, 2005, 08:57 PM
|
#18 (permalink)
| | Member Verified Customer
Join Date: Jul 2004
Posts: 48
| Re: Cant upload Quote: |
Originally Posted by Brian If you didn't see an image next to that setting then there's a 99% chance you don't have GD installed. If you have root access to the server and are going to have to install an image program anyways, I might recommend ImageMagick instead. It has a lot more capabilities and is just better than GD in general. | I have complete control of this server... Completely mine to do with how I see fit (or in this case how others guide me).. So you would recommend not bothering with GD at all anyway? I will check that out.. Thanks.. Quote: |
Originally Posted by mrdatalife i was testing gallery rc2 on my win box without any problems.
i assume you have a recent version of php...
for gd in windows, you'll need to edit the php.ini file and remove the commentor (";")for the gd extension. easy as that.
also, when setting your paths, be sure to use forward slashes. ie. c:/inetpub/wwwroot/gallery/files
then to set the permissions, go to properties for the given folder and select permissions. from there, you can selectively set who can/cannot read/write/etc.
windows does not have a chmod function.
hope that helps ya. | in c:\winnt\php.ini, there is this line.. ';extension=php_gd2.dll'.. You say just change it to 'extension=php_gd2.dll' This php_gd2.dll does not exist on the server anywhere. So I cannot move it from the extras..
I assume I can download this from the previous links you provided, and if not, I am sure I will find it.. If I do go with GD, would I just place this file in the C:\php folder???
But with all that said.. SHOULD I just go to ImageMagick??
Thanks for your help people.. It seems as though there may yet be hope |
| |
February 1st, 2005, 08:56 AM
|
#19 (permalink)
| | Guest | Re: Cant upload
If you download the package from php.net then you should be able to find the php_gd2.dll file in there.
It wouldn't hurt to have GD on the server anyways, but I still recommend ImageMagick if possible since it's a better program.
| |
| |
February 1st, 2005, 10:23 AM
|
#20 (permalink)
| | Member Verified Customer
Join Date: Jul 2004
Posts: 48
| Re: Cant upload Quote: |
Originally Posted by Brian If you download the package from php.net then you should be able to find the php_gd2.dll file in there.
It wouldn't hurt to have GD on the server anyways, but I still recommend ImageMagick if possible since it's a better program. | I installed ImageMagick last night.. Wasnt too bad for a Windows user to deal with.. It had an install package that was your standard run of the mill setup.exe type deal for Windows..
It wanted to install it to C:\Program Files\ImageMagick-6.1.9-Q16\ but I changed it to C:\ImageMagick-6.1.9-Q16 to avoid the spaces that windows loves to use in driectories in case that could cause an issue..
As soon as I changes the setting in the admincp to use ImageMagick instead, everything worked except the thumbnails.. All previous problems discussed in this thread ceased to exist. However, after installing ImageMagick, things did not change.. I get a link for pictures instead of thumbnails.. I pointed to the path in the admincp settings to C:\ImageMagick-6.1.9-Q16... I also tried C:\ImageMagick-6.1.9-Q16\ and \ImageMagick-6.1.9-Q16 and /ImageMagick-6.1.9-Q16/
The good news is that I can at least let the members use it now because it works other than the thumbnails.. Did I maybe miss something? I installed IM with the Windows install package, but do I maybe need to change something in IIS (please dont laugh)
Thanks again
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 07:50 AM. | |