Author Topic: i want upgrade file form 1.7 to 1.7.1  (Read 11222 times)

0 Members and 1 Guest are viewing this topic.

Offline almuhajir

  • Pre-Newbie
  • Posts: 3
    • View Profile
i want upgrade file form 1.7 to 1.7.1
« on: January 02, 2006, 07:18:39 PM »
Hi all


i have this VERSION 1.7 and i want upgrade it 1.7.1 but i could not fine update_1.7_to_1.7.php file but
i found update_1.6.1_to_1.7.php

so how can i upgrade from 1.7 to 1.7.1

thanx

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: i want upgrade file form 1.7 to 1.7.1
« Reply #1 on: January 02, 2006, 07:32:59 PM »
The database structure was not changed between these two versions, so you'll need to replace all .php files...
If you made any modifications to .php files, you probably will loose them.
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 almuhajir

  • Pre-Newbie
  • Posts: 3
    • View Profile
Re: i want upgrade file form 1.7 to 1.7.1
« Reply #2 on: January 02, 2006, 07:45:11 PM »
thanx V@no

i replace all .php files

but i got this problem


Parse error: parse error, unexpected T_STRING in /home/xxxx/public_html/gallery/includes/template.php(101) : eval()'d code on line 7

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: i want upgrade file form 1.7 to 1.7.1
« Reply #3 on: January 02, 2006, 08:59:18 PM »
make sure you dont have any PHP code inside the template files that is on one line:
Code: [Select]
<?php blah?><?php and ?> must be on separate lines and not even spaces must NOT be present before or after these tags:
Code: [Select]
<?php
blah
;
?>
Also, a link to your gallery could help ;)
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 ViPeR5000

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: i want upgrade file form 1.7 to 1.7.1
« Reply #4 on: February 07, 2006, 01:14:43 PM »
how can i upgrade my album manual for not replace all files

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: i want upgrade file form 1.7 to 1.7.1
« Reply #5 on: February 07, 2006, 02:02:41 PM »
if "you can't" is not good answer for you, then only by comparing files and do the changes manualy.
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 ViPeR5000

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: i want upgrade file form 1.7 to 1.7.1
« Reply #6 on: February 07, 2006, 02:37:11 PM »
if "you can't" is not good answer for you, then only by comparing files and do the changes manualy.

iam newbie using album 4homepages.de but for exemple in phpbb on new version we can upgrade manual they give to us like this exemple

Code: [Select]
#
#-----[ OPEN ]---------------------------------------------
#
common.php

#
#-----[ FIND ]---------------------------------------------
#
the text

#
#-----[ REPLACE WITH ]---------------------------------------------
#
the new text


and this for all files changes!

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: i want upgrade file form 1.7 to 1.7.1
« Reply #7 on: February 07, 2006, 02:54:56 PM »
There are too many changes to include this in the change log.
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 ViPeR5000

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: i want upgrade file form 1.7 to 1.7.1
« Reply #8 on: February 07, 2006, 03:32:06 PM »
There are too many changes to include this in the change log.

then why not create for new versions add that option =) just a sugestion =)

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: i want upgrade file form 1.7 to 1.7.1
« Reply #9 on: February 08, 2006, 12:43:22 AM »
then why not create for new versions add that option =) just a sugestion =)
:?: :?
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 ViPeR5000

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: i want upgrade file form 1.7 to 1.7.1
« Reply #10 on: February 08, 2006, 10:54:16 AM »
then why not create for new versions add that option =) just a sugestion =)
:?: :?

sorry

then why not create a change log for news versions =)

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: i want upgrade file form 1.7 to 1.7.1
« Reply #11 on: February 09, 2006, 01:44:19 AM »
Have you looked in docs folder?
Quote
=========================================================
Дnderungen zur Version 1.7 / Changes to version 1.7
=========================================================
- New caching system (Read docs/Cache.english.txt for further informations)
- Changed session handling to PHP native sessions
- The database table 4images_sessionvars is not longer in use. Its still referenced
  in the database dump, admin/backup.php and includes/contants.php for backward compatibility
  with integrations (phpBB, vBulletin)
- Random category image is now disabled by default (define('SHOW_RANDOM_CAT_IMAGE', 0);)
- PHP5 compatibility
- Improved GD2 detection
- Improvements on functions in includes/functions.php (i.e. replaced preg_match() with faster str*() functions)
- Replaced preg_match() with faster strpos() in class method Session::url() (includes/sessions.php)
- Change input type to "password" for admin password in installation screen
- Moved registration of {lang_user_online} and {lang_user_online_detail} from includes/page_header.php to includes/sessions.php
- Added display of the category ID in the overview in Control Panel
- Splitted query for $cat_cache due to performance reasons (global.php)
- SMTP patch for includes/email.php. Thanks to blueshift (http://www.4homepages.de/forum/viewtopic.php?t=15413)
- Bugfix: Deleting of not activated users (http://www.4homepages.de/forum/viewtopic.php?t=9508)
- Bugfix: Database backup failing (http://www.4homepages.de/forum/viewtopic.php?t=13487)
- Bugfix: Back btn fails in Admin CP Edit Users/Images (http://www.4homepages.de/forum/viewtopic.php?t=8452)
- Bugfix: Subcategories columns dont show proportionaly? (http://www.4homepages.de/forum/viewtopic.php?t=3160)
- Bugfix: ACP - cant find images uploaded by not exist users (http://www.4homepages.de/forum/viewtopic.php?t=9585)
- Bugfix: Additional fields not being autofilled in "edit image" (http://www.4homepages.de/forum/viewtopic.php?t=12326)
- Bugfix: Cant display \\# (i.e \\2 or \\4 or \\9) (http://www.4homepages.de/forum/viewtopic.php?t=6270)
- Bugfix: Changed tag {remote_file} to {remote_media_file} in templates/default/member_uploadform.html
- Bugfix: Cant upload images when not cat_id specifyed (http://www.4homepages.de/forum/viewtopic.php?t=5935)
- Bugfix: details.php with mode=lightbox next/prev maybe wrong (http://www.4homepages.de/forum/viewtopic.php?t=7338)
- Bugfix: Error msg when update/delete user with ' in his name (http://www.4homepages.de/forum/viewtopic.php?t=8248)
- Bugfix: Image dl counter doesnt update when dl from lightbox (http://www.4homepages.de/forum/viewtopic.php?t=7850)
- Bugfix: Quotes in category names (http://www.4homepages.de/forum/viewtopic.php?t=13749)

Neue Dateien / New Files:
---------------------------------------
- includes/cache_utils.php

Geдnderte Dateien / Changed Files:
---------------------------------------
- categories.php
- details.php
- download.php
- global.php
- index.php
- install.php
- member.php
- register.php
- sessions.php
- top.php
- includes/constants.php
- includes/email.php
- includes/functions.php
- includes/image_utils.php
- includes/page_header.php
- includes/page_footer.php
- includes/template.php
- includes/upload.php
- admin/backup.php
- admin/categories.php
- admin/images.php
- admin/users.php

Geдnderte Templates / Changed Templates:
---------------------------------------
- member_uploadform.html
to is a misstake, it should be from
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 ViPeR5000

  • Pre-Newbie
  • Posts: 5
    • View Profile
Re: i want upgrade file form 1.7 to 1.7.1
« Reply #12 on: February 09, 2006, 10:31:48 AM »
Have you looked in docs folder?
Quote
=========================================================
Дnderungen zur Version 1.7 / Changes to version 1.7
=========================================================
- New caching system (Read docs/Cache.english.txt for further informations)
- Changed session handling to PHP native sessions
- The database table 4images_sessionvars is not longer in use. Its still referenced
  in the database dump, admin/backup.php and includes/contants.php for backward compatibility
  with integrations (phpBB, vBulletin)
- Random category image is now disabled by default (define('SHOW_RANDOM_CAT_IMAGE', 0);)
- PHP5 compatibility
- Improved GD2 detection
- Improvements on functions in includes/functions.php (i.e. replaced preg_match() with faster str*() functions)
- Replaced preg_match() with faster strpos() in class method Session::url() (includes/sessions.php)
- Change input type to "password" for admin password in installation screen
- Moved registration of {lang_user_online} and {lang_user_online_detail} from includes/page_header.php to includes/sessions.php
- Added display of the category ID in the overview in Control Panel
- Splitted query for $cat_cache due to performance reasons (global.php)
- SMTP patch for includes/email.php. Thanks to blueshift (http://www.4homepages.de/forum/viewtopic.php?t=15413)
- Bugfix: Deleting of not activated users (http://www.4homepages.de/forum/viewtopic.php?t=9508)
- Bugfix: Database backup failing (http://www.4homepages.de/forum/viewtopic.php?t=13487)
- Bugfix: Back btn fails in Admin CP Edit Users/Images (http://www.4homepages.de/forum/viewtopic.php?t=8452)
- Bugfix: Subcategories columns dont show proportionaly? (http://www.4homepages.de/forum/viewtopic.php?t=3160)
- Bugfix: ACP - cant find images uploaded by not exist users (http://www.4homepages.de/forum/viewtopic.php?t=9585)
- Bugfix: Additional fields not being autofilled in "edit image" (http://www.4homepages.de/forum/viewtopic.php?t=12326)
- Bugfix: Cant display \\# (i.e \\2 or \\4 or \\9) (http://www.4homepages.de/forum/viewtopic.php?t=6270)
- Bugfix: Changed tag {remote_file} to {remote_media_file} in templates/default/member_uploadform.html
- Bugfix: Cant upload images when not cat_id specifyed (http://www.4homepages.de/forum/viewtopic.php?t=5935)
- Bugfix: details.php with mode=lightbox next/prev maybe wrong (http://www.4homepages.de/forum/viewtopic.php?t=7338)
- Bugfix: Error msg when update/delete user with ' in his name (http://www.4homepages.de/forum/viewtopic.php?t=8248)
- Bugfix: Image dl counter doesnt update when dl from lightbox (http://www.4homepages.de/forum/viewtopic.php?t=7850)
- Bugfix: Quotes in category names (http://www.4homepages.de/forum/viewtopic.php?t=13749)

Neue Dateien / New Files:
---------------------------------------
- includes/cache_utils.php

Geдnderte Dateien / Changed Files:
---------------------------------------
- categories.php
- details.php
- download.php
- global.php
- index.php
- install.php
- member.php
- register.php
- sessions.php
- top.php
- includes/constants.php
- includes/email.php
- includes/functions.php
- includes/image_utils.php
- includes/page_header.php
- includes/page_footer.php
- includes/template.php
- includes/upload.php
- admin/backup.php
- admin/categories.php
- admin/images.php
- admin/users.php

Geдnderte Templates / Changed Templates:
---------------------------------------
- member_uploadform.html
to is a misstake, it should be from

yes i look to this but why not you say changes code in all files looking to exemple i give at the top!

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: i want upgrade file form 1.7 to 1.7.1
« Reply #13 on: February 09, 2006, 02:42:59 PM »
There are too many changes to include this in the change log.
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)