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

Novice with php & TGW Uploader. php Direct calls not all
https://www.tinywebgallery.com/forum/viewtopic.php?f=12&t=868
Page 1 of 1

Author:  gobbo67 [ 10. Feb 2007, 00:16 ]
Post subject:  Novice with php & TGW Uploader. php Direct calls not all

Hello --
I'm very novice with all PHP world and TWG software.
Just installed PHP on my Win XP Pro box.
Just purched Personal License for TGW, and installed.

I have many issue when I run all PHP applications; error is in the subject of the thred.

Where can I found a valid document in which I can verify my PHP environment on WIN32.

I'm believe that's a permission issue. Below a trace of tfu.log
Many thanks for your support.

02.09.2007 22:36:22 - ERROR 8 in s\test\twg_flash_uploader\tfu_helper.php, line 493: date_default_timezone_set() [<a href='function.date-default-timezone-set'>function.date-default-timezone-set</a>]: Timezone ID '' is invalid

02.09.2007 22:36:22 - ERROR 2048 in s\test\twg_flash_uploader\tfu_helper.php, line 495: phpinfo() [<a href='function.phpinfo'>function.phpinfo</a>]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '1.0/no DST' instead

Author:  TinyWebGallery [ 10. Feb 2007, 01:46 ]
Post subject: 

this is not a permission problem - only a warning of php > 5.1.x.

Which version of php are you exaclty using?

I m quite sure this does work in the 1.6 beta already !

in the forum is a link to the TFU 2.5 beta as well - please use this version to avoid this message.

Michael

Author:  gobbo67 [ 10. Feb 2007, 10:38 ]
Post subject: 

Hello --
many thanks for your reply!

- I'm using PHP 5.2.0;
- please note [in my previous mail I'm not clear] that I'm unable to use at all many utilities;

- tfu_config.php Direct calls are not allowed!
- tfu_helper.php Direct Access to this location is not allowed.

I confirm that twg_flash_uploader works without error.

Same behaviour with TWG.
I will try with latest beta.
Alex/

Author:  gobbo67 [ 10. Feb 2007, 11:05 ]
Post subject: 

Hello --
just tried with latest Beta available.

Same behaviour.
TWG Flash Uploader licensed work nicely without any problem, but when I run tfu_config.php I receive this output:

Server name : 127.0.0.1
PHP upload limit (in KB): 20480
PHP memory limit (in KB): 0

Direct calls are not allowed.

Running tfu_helper.php output is
Direct Access to this location is not allowed.

Many thanks again for your support.

Author:  TinyWebGallery [ 10. Feb 2007, 12:28 ]
Post subject: 

why are you calling these files directly? They are not indended to be (would be exeremly unsave!). Only the flash has the permissions to do this.

what are you trying to do? tfu_config.php is the configuration file ONLY the flash is allowed to call.

/Michael

Author:  gobbo67 [ 10. Feb 2007, 12:36 ]
Post subject: 

Hello --
many thanks for your clarification. I'm a novice with PHP and I'm a bit confused; for my mistake I'm searching to configure additional features of TWG upload using tfu_config.php. Obviously I'm wrong. I'm believe that it's time to sit down and read documentation.
Many thanks for your support!

Author:  TinyWebGallery [ 10. Feb 2007, 13:28 ]
Post subject: 

if you use fu standalone this is the right file - but you have to edit this with an texteditor!

Michael

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