Author Topic: 4images and xampp  (Read 3970 times)

0 Members and 1 Guest are viewing this topic.

Offline Heroe

  • Pre-Newbie
  • Posts: 3
    • View Profile
4images and xampp
« on: December 28, 2008, 11:47:20 PM »
Hi thisi s my first post
first i want to say thank you for the grate gallery but i have some problems with /
I try everything and check 3 times what permissions on the folders/777 and the files/666 on my gallery from the installation read me  
i have installed the gallery on my host (everythign seems to work correct,no problem at all) BUT  im having problems on my test gallery on my pc
i have installed xampp for linux the last version from apachefriends.org

Apache 2.2.11,
MySQL 5.1.30,
PHP 5.2.8

allow_url_fopen ON
max_execution_time   30
GD Support    enabled
GD Version    bundled (2.0.34 compatible)
FreeType Support    enabled
FreeType Linkage    with freetype
FreeType Version    2.1.7

I EDIT php.ini ;
upload_max_filesize   from 2M to 6M

I CREATE ;
.htaccess with ;
Code: [Select]
php_flag file_uploads on
php_value post_max_size "8M"
php_value upload_max_filesize "6M"
php_value max_input_time "60"

i been searching the forum all day for solution but i don't succeed
every time i try to upload single picture,small ore large size the result is the same

Quote
Please recheck the marked fields.

NOTE: In case the thumbnail file name does not correspond with the image file name it will be adapted to the image file name.

Image *

Whats wrong  :(
« Last Edit: December 29, 2008, 12:09:01 AM by Heroe »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 4images and xampp
« Reply #1 on: December 29, 2008, 12:44:19 AM »
Hello and welcome to 4images forum.

Just for grands, did you try set same settings that is in your .htaccess directly in php.ini ? (apache restart required)

Did you check that the directory set in upload_tmp_di is writable (CHMOD 777)?

Mind quote here entire "PHP Core" settings from phpinfo() (in ACP (Admin Control Panel) -> phpinfo() ?
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Heroe

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: 4images and xampp
« Reply #2 on: December 29, 2008, 01:15:27 AM »
i try with the same settings from the .htacceess in php.ini no result
i restart xampp 

Quote
; Temporary directory for HTTP uploaded files (will use system default if not
; specified).
;upload_tmp_dir =
if i enable the upload_tmp_dir no changes.Do i need to add directory ? Which directory i dont have any idea
the phpinfo is attached to the post because i preffer to keep my topic tied ;)





 

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: 4images and xampp
« Reply #3 on: December 29, 2008, 01:23:07 AM »
first things first.
Enable logs:
error_log = /path/to/your/error_logs.log
log_errors = on

in 4images global.php find:
Code: [Select]
error_reporting(E_ERROR | E_WARNING | E_PARSE);replace it with:
Code: [Select]
error_reporting(E_ALL);


Try upload image and check in error_logs.log if anything useful appeared

Then you can try play with
upload_tmp_dir = /tmp

(make sure /tmp is CHMOD777)
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Heroe

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: 4images and xampp
« Reply #4 on: December 29, 2008, 12:09:58 PM »
Thank you now the gallery work i dont know how,but i think that happen when i enable the
;upload_tmp_dir = /tmp
and
error_log = /path/to/your/error_logs.log
log_errors = on

and restart apache restart  :)

V@no thank youi for the help