Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

creating a php.ini file
https://www.tinywebgallery.com/forum/viewtopic.php?f=13&t=2682
Page 1 of 2

Author:  larry_g1s [ 18. Aug 2010, 20:57 ]
Post subject:  creating a php.ini file

I have the JFU Professional Edition and trying to up the max file size. I'm presently trying to go the route as explained in the 'how to' number 14 (Where to find php.ini and how to use it), but I'm not exactly sure if or how to make the php.ini file. What I've done is just copied the 'simple example for a custom php.ini' in to DreamWeaver saved as php and with the extension .ini
Do I have to set the 'simple example for a custom php.ini' in a particular way?

I've placed the php.ini files I've created the way explained above in both the: <joomla root>/administrator and administrator/components/com_jfuploader/tfu/

No success. :(

Author:  TinyWebGallery [ 18. Aug 2010, 21:00 ]
Post subject: 

The file should be a simple text file with the name php.ini.

If this does not work please ask you hoster how to increase server limits.
This can be different on different systems.
Using php.ini or .htaccess are only the most commons ones.

Some hosters (espacially free hosters) do not allow to change this settings at all.

If you already use JFU 2.11 please download it again - I fixed a small bug there.

- Michael

Author:  larry_g1s [ 18. Aug 2010, 21:26 ]
Post subject: 

Cool, it sounds like I did it correct then. And the two folders I mentioned I put them in are correct? How would I add that 'simple example for a custom php.ini' to the .htaccess (where would I put the info. in the file, anywhere)?

Yep, already installed 2.11. :)

P.s. thanks for the super quick reply.

Author:  TinyWebGallery [ 18. Aug 2010, 21:30 ]
Post subject: 

They are fine.

First you should talk to you hoster what is the right way.

- Michael

Author:  larry_g1s [ 19. Aug 2010, 17:02 ]
Post subject: 

I got it straighten out. With my host provider I could create a custom php.ini in the root (which I tried early). But I noticed with there info on this subject that they said for php5 the file had to be php5.ini which worked like a charm.

So anyone running php5 on their server having problems with, change the file in the root to php5.ini and see if that helps. :)

Author:  larry_g1s [ 19. Aug 2010, 17:15 ]
Post subject: 

TinyWebGallery wrote:
If you already use JFU 2.11 please download it again - I fixed a small bug there.

- Michael
Strange, but now with JFU 2.11, all I'm getting in the artcle that should be showing the flash upload is the code: i.e {joomla_flash_uploader type=0 id=2}

I have the individual plugin enabled.

Author:  TinyWebGallery [ 19. Aug 2010, 17:17 ]
Post subject: 

Please check the documentation.

It shoulde be

{jfuploader type=0 id=2}

since 2.11 because I had to rename JFU.

PS: Have you seen the new plugin page?

- Michael

Author:  larry_g1s [ 19. Aug 2010, 17:19 ]
Post subject: 

TinyWebGallery wrote:
Please check the documentation.

It shoulde be

{jfuploader type=0 id=2}

since 2.11 because I had to rename JFU.

- Michael
Gotcha, thanks. I figured that changed so I tried {jfu type...} I'll check next time. :oops:

Author:  larry_g1s [ 25. Aug 2010, 02:10 ]
Post subject: 

I've got everything up and running with the php.ini settings and such, but I'm getting a 'Retry failed. Please check your timeouts.' But in my log it's nothing special. From my log:

08.24.2010 16:33:05 - 1. Config loaded
08.24.2010 16:33:05 - 2. Authenification sucessfull
08.24.2010 16:33:05 - 3. Directory read: ./__/__/__/__blah blah blah
08.24.2010 16:33:05 - 4. Check valid extension: July24_2010.mov
08.24.2010 16:33:05 - 4a. Extension valid.
08.24.2010 16:33:05 - 5. Before move_uploaded_file : -_ ./__/__/__/__july24_2010.mov
08.24.2010 16:33:05 - 5a. after move_uploaded_file.
08.24.2010 16:33:05 - 5b. retry move_uploaded_file : ./__/__/__/__/july24_2010.mov
08.24.2010 16:33:05 - 6. NOT uploaded.
08.24.2010 16:33:05 - 9. End upload
08.24.2010 16:33:05 - 10. End store session

Author:  TinyWebGallery [ 25. Aug 2010, 08:10 ]
Post subject: 

you get this for every file?

How is you error level set? Because normally move_uploaded_file does give a message what is the problem. Maybe this is written to the server log. You have to check there then.

- Michael

Author:  larry_g1s [ 25. Aug 2010, 16:37 ]
Post subject: 

Not for every file, I just tried a 46mb file and it got all the way to the end but errored out:
Error : http - 500

Error level set? Where is that? Is that like the 'Enable upload debug'?

Author:  TinyWebGallery [ 25. Aug 2010, 16:38 ]
Post subject: 

this is a server error - check the server error log file. It should givve you more details.

- Michael

Author:  larry_g1s [ 25. Aug 2010, 16:48 ]
Post subject: 

I'll check that, but like I mentioned I don't get that for the large upload file issue. I'll check the server log. What about the Error level set? Where is that?

Author:  TinyWebGallery [ 25. Aug 2010, 16:53 ]
Post subject: 

I think there a different timeout maybe kills you ;).

Which server do you use
http://www.tinywebgallery.com/en/tfu/web_faq.php#4
has a few server dependant settings as well!.

- Michael

Author:  larry_g1s [ 4. Sep 2010, 22:22 ]
Post subject: 

Ok, major bummer. I'm still getting the time out error and because this site is hosted on a shared plan the hoster cannot change the time out restriction on the server. If we go to a more dedicated one they can. But I want to try this site with a different host provider I have to see if it'll work there. If so I'll just swap the site there. How can I temporarily change the jfu lic to a domain I already have, just to test it with this host provider?

Page 1 of 2 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/