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

Creating PHP.ini seems to block login from working
https://www.tinywebgallery.com/forum/viewtopic.php?f=1&t=3234
Page 1 of 1

Author:  BrAinZ [ 13. Feb 2012, 23:44 ]
Post subject:  Creating PHP.ini seems to block login from working

I have a problem where uploading pictures does not seem to work as it says there is not enough server memory.

I have tried uploading the suggested php.ini file to the root folder, but when this is present, I do not seem to be able to login.
The system asks for the username password, but it just doesn't work.

Can anyone help with this please?

Author:  TinyWebGallery [ 14. Feb 2012, 12:34 ]
Post subject:  Re: Creating PHP.ini seems to block login from working

Maybe your provided php.ini has an error or the settings are not allowed on your server.

php.ini in the main folder does not solve your problem. Because it is not recursive.
It has to be in the directory of the flash.
In the root it only helps you to show it in the info.php.

I recommend to use a .htaccess file with the proper settings.

See the howtos for details.

- Michael

Author:  BrAinZ [ 16. Feb 2012, 22:41 ]
Post subject:  Re: Creating PHP.ini seems to block login from working

I was only using the php.ini to try and get the system to use enough memory to resize the pictures on upload.

The php.ini I was using was:

Code:
memory_limit=64M
upload_max_filesize = 20M
post_max_size = 20M
max_input_time=1800
max_execution_time=1800
default_socket_timeout=1800


By using your idea and moving the php.ini to the ADMIN/UPLOAD/ folder seems to have resolved the problem.

Thanks for your help.

Author:  TinyWebGallery [ 17. Feb 2012, 00:36 ]
Post subject:  Re: Creating PHP.ini seems to block login from working

good ;).

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