FAP SUPPORT - Upload Issue(s) »  Show posts from    to     

Icy Phoenix


Archived phpBB Topics (Styles, Mods, Support) - FAP SUPPORT - Upload Issue(s)



ignorantnewguy [ Tue 10 Apr, 2007 06:08 ]
Post subject: Re: Upload Issue(s)
I am having the identical issues as nfried with the identical configuration.

CHMOD correct
Nuffload disabled


Artie [ Tue 10 Apr, 2007 17:44 ]
Post subject: Re: Upload Issue(s)
nfried wrote: [View Post]

Again, file permissions are set correctly. GD, however, does not seem to be supported:



Well there's your problem. :wink:
Ask your host about installing GD for you, or maybe try using Manual Thumbnail option in ACP


ignorantnewguy, are you missing GD Support as well ?


ignorantnewguy [ Tue 10 Apr, 2007 21:26 ]
Post subject: Re: Upload Issue(s)
Yes, I am missing GD Support, as well - or so says my Config.

What is GD Support? If I try to put it on my dedicated server, what is it?

I changed to Manual Thumbnail and got an error message after trying to upload one picture and the same after trying to upload 4 pictures:

Quote:
The number of uploaded pictures and thumbnails doesn't match.


Probably easy to fix, but I don't know how.


lefty74 [ Tue 10 Apr, 2007 21:57 ]
Post subject: Re: Upload Issue(s)
if i am not mistaken, GD support is required to build the thumbnails pictures etc so before anything else, ensure GD support is installed and enabled on your server.


ignorantnewguy [ Tue 10 Apr, 2007 22:39 ]
Post subject: Re: Upload Issue(s)
Can you explain what "GD Support" is? I need to see if I can get that on my server, but I have no idea what it is, where to get it or anything of the sort. I have a dedicated server, so I can put what I want on there, but I need to track this down first.

Thx


lefty74 [ Tue 10 Apr, 2007 23:51 ]
Post subject: Re: Upload Issue(s)
http://nl2.php.net/gd

and here

http://www.libgd.org/Main_Page


www.libgd.org wrote: 
What is the GD library?

GD is an open source code library for the dynamic creation of images by programmers. GD creates PNG, JPEG and GIF images, among other formats. GD is commonly used to generate charts, graphics, thumbnails, and most anything else, on the fly. While not restricted to use on the web, the most common applications of GD involve web site development.

GD is written in C and various binding are available. See a non exaustive list here .

The library was originally developped by Thomas Boutell and is now maintained by Pierre-A. Joye under the umbrella of PHP.net.


ignorantnewguy [ Wed 11 Apr, 2007 15:46 ]
Post subject: Re: Upload Issue(s)
Thx for the GD links. I'll check it out and see if I feel comfortable enough with putting that on the server.

ignorantnewguy wrote: [View Post]

I changed to Manual Thumbnail and got an error message after trying to upload one picture and the same after trying to upload 4 pictures:

Quote:
The number of uploaded pictures and thumbnails doesn't match.


Any idea what this issue might be?


Artie [ Wed 11 Apr, 2007 23:47 ]
Post subject: Re: Upload Issue(s)
ignorantnewguy wrote: [View Post]

I changed to Manual Thumbnail and got an error message after trying to upload one picture and the same after trying to upload 4 pictures:

Quote:
The number of uploaded pictures and thumbnails doesn't match.

I'm just guessing here, but I suspect you are having the issue as me when it comes to using the Manual Thumbnail option.
There should be a file input for uploading a thumbnail, immediately below the file input for the pic.... for me there is not one for the thumbnail, but I do not know why it doesn't appear. :?


Mighty Gorgon [ Thu 12 Apr, 2007 01:19 ]
Post subject: Re: Upload Issue(s)
I should have fixed it in FAP 1.4.0... are you still missing it? :roll:

ignorantnewguy, you can check your GD settings in ACP => Photo Album => GD Info.


Artie [ Thu 12 Apr, 2007 01:49 ]
Post subject: Re: Upload Issue(s)
Mighty Gorgon wrote: [View Post]
I should have fixed it in FAP 1.4.0... are you still missing it? :roll:

Doesn't work for me in 1.4.0, 1.4.1, or 1.4.2.....though I do get the Upload a thumbnail image: text

Mighty Gorgon wrote: [View Post]
ignorantnewguy, you can check your GD settings in ACP => Photo Album => GD Info.


He's done done that Look Up


Mighty Gorgon [ Thu 12 Apr, 2007 01:58 ]
Post subject: Re: Upload Issue(s)
Artie wrote: [View Post]
Mighty Gorgon wrote: [View Post]
I should have fixed it in FAP 1.4.0... are you still missing it? :roll:

Doesn't work for me in 1.4.0, 1.4.1, or 1.4.2.....though I do get the Upload a thumbnail image: text

Mighty Gorgon wrote: [View Post]
ignorantnewguy, you can check your GD settings in ACP => Photo Album => GD Info.


He's done done that Look Up

I'll check again the Thumbnail field.

Regarding GD, I cannot see where he states his GD config... he said that he has the same config as nfried, but he didn't post it... so I thought he couldn't find it.

Anyway, I put GD libraries in older FAP contrib pack...

But here you are again:

Code: [Hide]
  1. Windows - PHP & GD2  
  2. Prerequisites  
  3. Read the main windows chapter before reading and sub-chapters.  
  4. Must have functioning web server installed  
  5. PHP >= 4.3 for the GD2 extension available here  
  6. About this Document  
  7. This document will point you where to get PHP and also provide help on enabling GD2 for the graph generation in Psychostats. By default GD2 comes with the zip distribution of PHP >= 4.3 but it is disabled. If you have an older version of PHP and are unable to upgrade please see the PHP Documentation for information about getting GD2 to work.  
  8.  
  9. Installing PHP  
  10. First thing you need to do is download the PHP installer which can be found on the PHP Downloads page.  
  11.  
  12. IIS - Download the MSI package and run it. Follow the on screen prompts and PHP should install itself into IIS. (More Detailed Instructions Comping Soon)  
  13.  
  14. Apache - Download the zip distribution because it has to be installed manually. You can install with the MSI first to get all the files in place but you will need extra files from the zip download to install the API version of PHP which is recommended. See the install.txt for installation instructions for apache. (More Detailed Instructions Comping Soon)  
  15.  
  16. Enabling GD2  
  17. If you used only the MSI installer you will not have the GD2 extension installed on your system. We have just the GD2 extension for download here, this is the same file that is available with the full PHP 4.3.4 zip distribution. Extract the php_gd2.dll into C:PHPextensions (this may be a different folder if you did not accept the default installation directory). If that folder does not exist inside your PHP folder then create it.  
  18.  
  19. Open C:windowsphp.ini or C:winntphp.ini (depending on your system setup) in your favorite text editor (notepad works). Use the find function to search for extension_dir, in notepad use the Edit menu and select Find. For the default PHP installtion this needs to be set to:  
  20.  
  21. extension_dir = "C:PHPextensions"  
  22. If you installed PHP to a different folder adjust this accordingly. Now search for gd2, you should see a line like this:  
  23.  
  24. ;extension=php_gd2.dll  
  25. Simply remove the ";" in front of the line to un comment it so it looks like this  
  26.  
  27. extension=php_gd2.dll  
  28. Then restart your web server application and GD2 should be working.  
  29.  
  30. To test to see if GD is working just browse to the testgd.php file in your statsroot. ( http://yoursite.com/stats/testgd.php ) 


Artie [ Thu 12 Apr, 2007 02:02 ]
Post subject: Re: Upload Issue(s)
MG, I did check the thumbnail thing here at Icy Phoenix and it works fine.... don't know why it doesn't work on my sites.


ignorantnewguy [ Thu 12 Apr, 2007 05:48 ]
Post subject: Re: Upload Issue(s)
Thanks for the GD2 info. Looks like I've got a little project on my hands. : ) Just need to figure out SSH and then get into the server. Just more to learn, I guess.

GD2 is not enabled on my server, btw. That answers that question above.

If it turns out I have to run with the Manual Thumbnail option for the time being, I'll be interested in seeing how to get that working.

Thx again.


Mighty Gorgon [ Sun 15 Apr, 2007 20:48 ]
Post subject: Re: Upload Issue(s)
Artie wrote: [View Post]
MG, I did check the thumbnail thing here at Icy Phoenix and it works fine.... don't know why it doesn't work on my sites.

Maybe it's a TPL issue.

You are not using Icy Phoenix... right?

Can you try comparing the TPLs of Icy Phoenix with the ones of standard subSilver?

I guess the problem may be there... :roll:


Artie [ Tue 17 Apr, 2007 23:12 ]
Post subject: Re: Upload Issue(s)
Mighty Gorgon wrote: [View Post]

Can you try comparing the TPLs of Icy Phoenix with the ones of standard subSilver?


There is a slight difference in the 2 templates reguarding the switch_nuffload_disabled.
In the FAP tpl there is one instance when it is used, but not used in IP.....removing this seems to fix it.

IN FAP OPEN templates/subSilver/album_upload_body.tpl

FIND
Code: [Hide] [Select]
<!-- BEGIN switch_nuffload_disabled -->
<script language="JavaScript" type="text/javascript">
<!--
var gFileuploadCounter = 1;
var fileBrowseHTML = '<input class="post" type="file" name="pic_file[]" size="49" /><br />';

REMOVE
Code: [Hide] [Select]
<!-- BEGIN switch_nuffload_disabled -->


FIND
Code: [Hide] [Select]
<!-- BEGIN pre_generate -->
// pre-generate the rest of the fields
while (gFileuploadCounter <= {S_MAX_PREGEN_FILE_UPLOADS} )
{
AddFileField();
}
<!-- END pre_generate -->
}
// -->
</script>
<!-- END switch_nuffload_disabled -->

REMOVE
Code: [Hide] [Select]
<!-- END switch_nuffload_disabled -->


Atrio05 [ Wed 18 Apr, 2007 03:09 ]
Post subject: Re: Upload Issue(s)
ok i'm having the same exact problem as nfried i try to upoad a picture and get a blank page. the files upload to the correct lace in the upload folder but do not show up un any of the albums!

some one please help us out i have no idea what to do!


Atrio05 [ Wed 18 Apr, 2007 06:42 ]
Post subject: Re: Upload Issue(s)
i really need some help figuring out whats wrong?

why can't i upload images???? :x


nfried [ Wed 18 Apr, 2007 08:15 ]
Post subject: Re: Upload Issue(s)
Installing GD on my server worked for me. Thanks.


Atrio05 [ Wed 18 Apr, 2007 14:00 ]
Post subject: Re: Upload Issue(s)
what is GD and where do i get it?


Atrio05 [ Wed 18 Apr, 2007 19:04 ]
Post subject: Re: Upload Issue(s)
problem solved thanx!


cwxtra [ Wed 18 Apr, 2007 19:14 ]
Post subject: Re: Upload Issue(s)
Howdy :)
I am having the same problem...upload>>>then blank page>>>but still in a folder but not in an albumn.
GD is as follows:
Quote:
GD Info:
Version: bundled (2.0.28 compatible)
Freetype Fonts Support: No
Freetype Link Type:
T1lib Support: No
Gif Read Support: Yes
Gif Create Support: Yes
Jpg/Jpeg Support: Yes
Png Support: Yes
WBMP Support: Yes
XBM Support: Yes
Japanese Font Support: No


Nuffload = disabled (I don't know what the heck NUFFLOAD is or what it does...) I don't know if this is maybe with the cgi-bin setting...I don't know how to find my /cgi-bin/ to set this in the ACP..... :roll: very new to all this jargon :roll:

I did some testing and it seems that images that are larger in file size or file dimension limits set in ACP create this "White page" problem.

Please help...I go public with my forum in less than a week....

***EDIT*** sorry just realized that from following Artie's guide, i skipped the cgi-bin part of the install since i do not want to allow multiple uploads. Should I disable the PERL upload in that part of the ACP?




Powered by Icy Phoenix