Author Topic: Zip file button missing  (Read 12784 times)

0 Members and 1 Guest are viewing this topic.

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Zip file button missing
« on: June 09, 2002, 04:18:43 PM »
Our zipfile button is missing after the upgrade , do i put the same hack that we used last time or is there a different one

Giffy :wink:

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Zip file button missing
« Reply #1 on: June 09, 2002, 04:29:19 PM »
We already discussed it ;)
http://www.4homepages.de/forum/viewtopic.php?t=606

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Zip file button missing
« Reply #2 on: June 09, 2002, 04:42:27 PM »
Hmmm that didnt work , the site here is our test site, our site at www.gif-world.net/giff the zipfile button doesnt appear and it did before the upgrade ??

Giffy

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Zip file button missing
« Reply #3 on: June 09, 2002, 04:46:55 PM »
zlib needs to be installed on the server. Check this with phpinfo().

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Found the answer
« Reply #4 on: June 10, 2002, 08:46:54 AM »
Hi Jan

 
Quote
try to search in the following files for get_cfg_val and replace it with ini_get

- includes/functions.php
- includes/upload.php
- download.php
- lightbox.php


Its seems if i change this then the zipdownload button works fine

 get_cfg_var and replace it with ini_get in the includes/functions.php.

Will this harm anything or was it a little typing error by you ???
Please let us know  :!:

Giffy :wink:

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Zip file button missing
« Reply #5 on: June 10, 2002, 08:59:20 AM »
Hi,

the two functions are very similar, but get_cfg_var() is the older version and will work with the most php versions. The disadvantage of this funtion is, that it reads the Master Value and not the Local Value. Check your phpinfo(), you will see that the configuration part has this two values. In most cases, the Local and Master Values are the same, but not in your case. For you, the Local Value for safe mode is set to off, the Master Value to on. The function ini_get() reads the Local Value.
I think i will change this for future versions.

Greets Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Zip file button missing
« Reply #6 on: August 06, 2002, 12:26:35 AM »
Hi jan , we have changed server and now the zip button doesnt appear , zlib is installed and its not insafe mode can you help

Giffy :oops:

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Zip file button missing
« Reply #7 on: August 06, 2002, 06:21:50 AM »
giffy (hosting),

you as webhoster should know how to mantain this problem.. ;)
are you sure that zlib was compiled with php ?
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Zip file button missing
« Reply #8 on: August 06, 2002, 07:00:36 AM »
yes we are sure its installed ( /usr/include ) is there anything i can try ?

giffy :cry:

Offline Nicky

  • Administrator
  • 4images Guru
  • *****
  • Posts: 3.195
    • View Profile
Zip file button missing
« Reply #9 on: August 06, 2002, 07:01:42 AM »
you have to include zlib into your PHP installation ...

can i look at your phpinfo file (send the url)?
cheers
Nicky
Your first three "must do" before you ask a question ! (© by V@no)
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

nicky.net 4 4images
Signature stolen from mawenzi

Offline giffy007

  • Full Member
  • ***
  • Posts: 119
    • View Profile
Zip file button missing
« Reply #10 on: August 06, 2002, 02:35:27 PM »
hmmm you have the url , its the same one we paid for  :!:

www.gif-world.net

giffy :cry:

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Zip file button missing
« Reply #11 on: August 06, 2002, 03:17:08 PM »
It seems that zlib is not installed. Check your phpinfo(), there should be a own block "zlib".

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search