PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Installs and Upgrade - vBulletin 3.0.X (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-0-x/)
-   -   Cant upload (http://www.photopost.com/forum/installs-upgrade-vbulletin-3-0-x/117408-cant-upload.html)

MorrisMcD January 30th, 2005 08:35 PM

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

MorrisMcD January 30th, 2005 08:40 PM

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

rbl January 30th, 2005 08:52 PM

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..

MorrisMcD January 30th, 2005 09:05 PM

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..

:confused:

KW802 January 30th, 2005 09:19 PM

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.

rbl January 30th, 2005 09:23 PM

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 =)

MorrisMcD January 30th, 2005 09:23 PM

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..

MorrisMcD January 30th, 2005 09:28 PM

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

rbl January 30th, 2005 09:35 PM

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!

MorrisMcD January 30th, 2005 09:40 PM

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...

KW802 January 30th, 2005 09:41 PM

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.

MorrisMcD January 30th, 2005 09:43 PM

Re: Cant upload
 
Quote:

Originally Posted by KW802
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.

Thanks.. I cant find 'GD' anywhere on the phpinfo page, so chances are its not installed..

Thanks for the help.. I will try this.

rbl January 30th, 2005 09:49 PM

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 =)

MorrisMcD January 30th, 2005 09:55 PM

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..

Brian January 31st, 2005 08:01 AM

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.

mrdatalife January 31st, 2005 09:59 AM

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.

Brian January 31st, 2005 10:15 AM

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. ;)

MorrisMcD January 31st, 2005 07:57 PM

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 :)

Brian February 1st, 2005 07:56 AM

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.

MorrisMcD February 1st, 2005 09:23 AM

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


All times are GMT -5. The time now is 07:47 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97