Canon Digital Photography Forums  

P.O.T.N. SUPPORT SHOP IS OPEN, check it out now!

Go Back   Canon Digital Photography Forums > Exhibit Engine > EE 2 Installation
Register Rules FAQ Members List Search Today's Posts Mark Forums Read



Reply
 
Thread Tools Display Modes
Old 12th of December 2006 (Tue)   #1
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 11,522
Default EE 2.02 UPDATE

Update EE 2.0 or EE 2.01 to EE 2.02

DOWNLOAD FROM http://photography-on-the.net/ee/files/EE202_update.zip

UPGRADE SCRIPT 1.5-2.02 is not in above package, use the old script and update it to 2.02. I will provide full installer as a next task. Also, languages provided by users are not included here - I must make them avaiable on the EE pages.


UPDATE INSTRUCTIONS:
1. Backup database and download backup dump home. This is VERY IMPORTANT because you never know what may happen.

2. Backup your EE commerce templates if you have used them.

3. Upload and replace all files. NOTE: it is not essential to replace any template files. See release notes for details.

4. Browse to admin/updateversion202.php - this will update the version number and change performance row types.

5. If you have used EE Commerce templates, re-edit the new ones to match your old template data.

6. Add to basecode/SETUP_settings.php lines, after a section of similar thumb size limiter variables

PHP Code:
$s_index_exhibition_max_thumbsize_width "130";
$s_index_exhibition_max_thumbsize_height "130";

$s_index_exhibition_max_microthumbsize_width "45"
$s_index_exhibition_max_microthumbsize_height "45"

$s_index_group_max_thumbsize_width "130";
$s_index_group_max_thumbsize_height "130";

$s_index_group_max_microthumbsize_width "45"
$s_index_group_max_microthumbsize_height "45"

7. You may also delete folders
ee_commerce/required
admin/output

and file
admin/RESIZE_imagick.php
as they are no longer needed.

That's it!

Post bug reports in http://photography-on-the.net/forum/...splay.php?f=99



Release Notes

Misc stuff:
- fixed mysql error reporting's source names in multiple files.
- deleted folder admin/output and all in it.
- changed performance storage rows to float.
- deleted ee_commerce/required -folder.
- EE Commerce bugs fixed.
- copied x.gif from /graphs to admin/graphs folder.
- in path editor highlighted ftp server OFF to make it easier to understand its significance (i.e. something needs attention).
- lots of changes to "retrieve photo sizes" functions, speed and layout. Now usable with tens of thousands of photos.
- upload page refreshing made more robust.
- removed public side http header cache control alltogether. This might fix the problem with IE6 disappearing thumb problem, it definitely fixes occasional random login cookie loss in IE7 (IE7 team has confessed that http header related problem in their site). UPDATE: IE6 output problem was not fixed, fix is in http://photography-on-the.net/forum/...d.php?t=250851

admin/SCRIPT_system_check.php
- added a check to see index.php exists in UPLOAD folder and a check that "SCRIPT_reset_username_and_pass.php exists" does not exists in admin folder.

admin/EDITOR_report.php (User breakdown)
- added command to clear invalid hanging sessions: "Clear all sessions which have exceeded user's maximum inactivity time."

admin/RESIZE_gd.php
- fixed png transparency in 8 and 24 bit watermark, jpeg (nontransparent) supported as watermark image.

admin/EDITOR_preview_gd.php
- fixed png transparency in 8 and 24 bit watermark, jpeg (nontransparent) supported as watermark image.

admin/EDITOR_category.php
- added editor display sorting choice.

admin/EDITOR_ftp_servers.php
- fixed PHP Module passive mode tick box bug.

basecode/SCRIPT_settings_global.php
- HTTP address to gallery autofixed (trailing slash, scheme).

basecode/SCRIPT_guestbook.php
- fixed comment submit interval problem (time check stored and compared using Mysql server time only).
- added homepage url cleaner/fixer.

basecode/SCRIPT_comments.php
- fixed comment submit interval problem (time check stored and compared using Mysql server time only).
- added homepage url cleaner/fixer.
- fixed missing html anchor.

outputstyles/infocard.php
- fixed keyword display problem.

basecode/SETUP_settings.php
- setting $s_remove_xhtml_multispaces removed as troublesome and not really useful at all (memory usage vs. real value ratio bad, most servers have gzip).

basecode/FTP_ee_library.php
- fixed upload block mode bugs.

admin/PHOTODATA_datahandler.php
- reversed shutter speed xmp/exif order.
- added conversion from decimal shutter speeds to closest conventional fractional representation.

admin/SCRIPT_editor_functions.php
- ee_extract_xmp_data function improved by DavidW.

empty.php
- acts now as a working example of custom page. You will need to add the template path to your style in order to see the page: the default template path for Custom A Content is either
templates/pages/ee_2_default_UDM/custom/content_a.php
(default), or
templates/pages/ee_2_default_UDM/custom/content_a.php
(default with UDM support)


Multiple files (almost all files):
- major change in slash handling. Immunity to "magic_quotes_sybase = on" setting, Magic Quotes do not have any effect. This fixes also many "can not save form X" bugs. Note for programmers: all addslashes(), stripslashes() and ee_stripslashes() are removed and not to be used anywhere. ee_addslashes() must be used for SQL query variable items.

basecode/SCRIPT_photodetails.php
- fixed linefeeds to validate in xhtml (reported by Jeronimo).

admin/EDITOR_report.php
- fixed reported spelling errors.

REMOVED FILE admin/RESIZE_imagick.php
- not used at all: removed.

admin/EDITOR_resize_methods.php
- fixed reported spelling errors.
- added watermark header info to GD.

basecode/SETUP_settings.php
- added settings:

$s_index_exhibition_max_thumbsize_width = "130";
$s_index_exhibition_max_thumbsize_height = "130";

$s_index_exhibition_max_microthumbsize_width = "45";
$s_index_exhibition_max_microthumbsize_height = "45";

$s_index_group_max_thumbsize_width = "130";
$s_index_group_max_thumbsize_height = "130";

$s_index_group_max_microthumbsize_width = "45";
$s_index_group_max_microthumbsize_height = "45";

Added -strip command to Imagemagick server setup
- kudos to DavidW for the tip

admin/SECURITY_check_authorization.php
- added cookie delete when no match, to prevent $ee_ident change mess with login so that manual cookie delete was required before relogin.

admin/SCRIPT_exhibition_breakdown.php
- added exhibition owner info.
- considerable listing speedup.

viewerstyles/VIEWERSTYLE_ftp_retrieve.php

- fixed bug: leftover debug print commands.
- fixed several bugs, now not available image is shown correctly in ftp unavailable, cleanup is not done if ftp unavailable, both ftp engines supported, etc.

admin/EDITOR_styles.php
- fixed a bug: save global style reseted editor style selection.
- fixed a bug: guestbook_layout link pointed to wrong file.

basecode/SCRIPT_indexfunctions.php
- fixed indexpage "ghost thumbnail".
- popular thumbs selection is now "selection of best rated photos from exhibitions in this group" and works that way.
- all group thumb choices' amount logic works as: "chosen photos picked from all exhibitions in this group, then list is randomized and required number shown".

EDITOR_settings_indexpage.php
- removed commented code which caused display corruption.

SCRIPT_system_check.php
- fixed a typo "must be 4.10 or greater" -> "must be 4.1.0 or greater".

EDITOR_workflow.php
- added workflow id validity checker (transparent, no separate command).

stylesheet.php
- improved style tag removal code (thanks to DavidW for regexp help).

admin/EDITOR_camera.php & basecode/SCRIPT_camera.php
- fixed empty output in specs form (thanks wkitty42).

added/fixed default templates

- fixed owner position:
/templates/pages/ee_2_default/exhibition/embedded/default_XHTML_content.php

alternative: exhibitions displayed by row:
/templates/pages/ee_2_default/exhibition/embedded/default_XHTML_content_horsort.php

alternative: sizemenu dropdown instead of frame text:
/templates/pages/ee_2_default/photo/default_XHTML_content_sizemenu.php
/templates/pages/ee_2_default_UDM/photo/default_XHTML_content_sizemenu.php

added demo content:
\templates\pages\ee_2_default\custom
\templates\pages\ee_2_default_UDM\custom


photo.php
- added ee_css_select_size_field CSS class in $sizemenu_html.


all font templates.
- added global CSS class

.ee_css_select_size_field {
font-family: <?php print $font_family; ?>;
font-size: 11px;
}


templates/colors/dark_green.php
- added global CSS class

.ee_css_select_size_field {
color: #ffffff;
background-color: #413a54;
padding: 0px;
margin: 0px;
border-top: 1px solid #5a5772;
border-left: 1px solid #5a5772;
border-right: 0px solid #666666;
border-bottom: 1px solid #333333;
}


templates/colors/white.php
- added global CSS class

.ee_css_select_size_field {
color: #666666;
background-color: #f3f2ed;
padding: 0px;
margin: 0px;
border-top: 1px solid #<?php print ee_hexcolorshifter("f3f2ed",".8"); ?>;
border-left: 1px solid #<?php print ee_hexcolorshifter("f3f2ed",".96"); ?>;
border-right: 0px solid #<?php print ee_hexcolorshifter("f3f2ed",".9"); ?>;
border-bottom: 1px solid #<?php print ee_hexcolorshifter("f3f2ed",".9"); ?>;
}


basecode/SCRIPT_common_functions.php
- spelling error in input_eecommerceform function.
- fixed html special character printing in function ee_print_thumbs.


upgrade/upgrade.php
- fixed problems with MySQL 4 or older compatibility.
__________________
1D Mark III, 5D Mark II, lenses, 5-string bass
PHOTOS: Selected Snaps | Orchestra Photos | Brass Week 2009
2009 POTN BOOK AVAILABLE NOW -- click here

----------------------------

Last edited by Pekka : 14th of December 2006 (Thu) at 03:34.
Pekka is offline   Reply With Quote
This ad block will go away when you log in as member
Old 12th of December 2006 (Tue)   #2
segal3
Member
 
segal3's Avatar
 
Join Date: May 2005
Location: Calabasas, CA
Posts: 126
Default Re: EE 2.02 UPDATE

Quote:
...and download backup dump home...
Just download the actual file that was created by the backup...or?

Thanks Pekka.
__________________
Matt Segal - carbonos scuba

I guess of all my uncles, I liked Uncle Cave Man the best. We called him Uncle Cave Man because he lived in a cave and because sometimes he'd eat one of us. Later on we found out he was a bear.
segal3 is offline   Reply With Quote
Old 13th of December 2006 (Wed)   #3
iceman
Member
 
Join Date: Jul 2003
Location: Duluth, MN
Posts: 86
Default Re: EE 2.02 UPDATE

Just complete Upgrade from 2.01 to 2.02-- All went smooth.

Thanks Pekka
__________________
--
Dennis O'Hara
iceman is offline   Reply With Quote
This ad block will go away when you log in as member
Old 13th of December 2006 (Wed)   #4
Faustini
Member
 
Faustini's Avatar
 
Join Date: Feb 2006
Location: Vitória (ES) - Brazil
Posts: 30
Question Re: EE 2.02 UPDATE

Hi Pekka! Nice to see you back online again!

This is the next inevitable question: any idea on when the full installer for EE 2.02 (or greater, who knows) will be ready for download?

Thanks again for your hard work.

Sincerely,

Rodrigo Faustini
www.rodrigofaustini.com/fotos
Faustini is offline   Reply With Quote
Old 13th of December 2006 (Wed)   #5
pplfilho
Member
 
pplfilho's Avatar
 
Join Date: Feb 2004
Location: Brasilia, Brazil
Posts: 46
Default Re: EE 2.02 UPDATE

Quote:
Originally Posted by iceman View Post
Just complete Upgrade from 2.01 to 2.02-- All went smooth.

Thanks Pekka
DITTO here...

Thanks Pekka,

__________________
+========================+
Pedro Luz Cunha
www.pedroluz.com
+========================+
pplfilho is offline   Reply With Quote
Old 13th of December 2006 (Wed)   #6
MikeCaine
Member
 
Join Date: Jan 2005
Location: Isle of Man
Posts: 342
Default Re: EE 2.02 UPDATE

Gah! Like an idiot I downloaded the update and installed it without reading the 7 step Update Instructions.

I've lost my 2 column horsort index front page.

I've tried changing Styles > Page Templates > Index > Content Template from

templates/pages/ee_2_default/index/default_XHTML_content.php

to

/templates/pages/ee_2_default/exhibition/embedded/default_XHTML_content_horsort.php

but that just results in a totally blank page being displayed

Any idea what I need to do to get back to a 2 column horsport page as I had before?

Thanks

Mike
__________________
Gear List
MikeCaine is offline   Reply With Quote
Old 13th of December 2006 (Wed)   #7
Faustini
Member
 
Faustini's Avatar
 
Join Date: Feb 2006
Location: Vitória (ES) - Brazil
Posts: 30
Question Re: EE 2.02 UPDATE

Pekka,

Were there any changes in the english language files? Is it necessary to revise them all every time an update is released? Please let me know, so I can update the brazilian portuguese translation files accordingly.

Thank you!

Sincerely,

Rodrigo Faustini
www.rodrigofaustini.com/fotos
Faustini is offline   Reply With Quote
Old 13th of December 2006 (Wed)   #8
MikeCaine
Member
 
Join Date: Jan 2005
Location: Isle of Man
Posts: 342
Default Re: EE 2.02 UPDATE

I've confused myself now

My galleries are still appearing as a two column layout, horizontally alligned, but the groups on my main index page aren't. I'm sure they were before the 2.02 upgrade, but I'm damned if I remember how to get the groups arranged in two columns, horizontally alligned
__________________
Gear List
MikeCaine is offline   Reply With Quote
Old 13th of December 2006 (Wed)   #9
devenh
Member
 
Join Date: Feb 2004
Posts: 127
Default Re: EE 2.02 UPDATE

Pekka,

Any special installation instructions for my site as you already installed some 2.02 features during testing?

Deven
devenh is offline   Reply With Quote
Old 13th of December 2006 (Wed)   #10
rid
Junior Member
 
Join Date: Nov 2006
Posts: 20
Default Re: EE 2.02 UPDATE

Pekka,

Many thanks for the 2.02 update. Everything went smoothly, and the "ghost" thumb problem is now corrected.

EE is fabulous, and I have decided to adopt it. What is the best way to contribute?

Ian Davis
rid is offline   Reply With Quote
Old 14th of December 2006 (Thu)   #11
Faustini
Member
 
Faustini's Avatar
 
Join Date: Feb 2006
Location: Vitória (ES) - Brazil
Posts: 30
Wink Re: EE 2.02 UPDATE

Quote:
Originally Posted by rid View Post
What is the best way to contribute?
I ask the same question.

Sincerely,

Rodrigo Faustini
Faustini is offline   Reply With Quote
Old 14th of December 2006 (Thu)   #12
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 11,522
Default Re: EE 2.02 UPDATE

Quote:
Originally Posted by rid View Post
Pekka,

Many thanks for the 2.02 update. Everything went smoothly, and the "ghost" thumb problem is now corrected.

EE is fabulous, and I have decided to adopt it. What is the best way to contribute?

Ian Davis
If you want to donate support@photograpy-on-the.net on Paypal is the correct place. If you can code or design I do appreciate code improvements and cool templates equally. Or then just be happy with EE - it's not required to give back!
__________________
1D Mark III, 5D Mark II, lenses, 5-string bass
PHOTOS: Selected Snaps | Orchestra Photos | Brass Week 2009
2009 POTN BOOK AVAILABLE NOW -- click here

----------------------------
Pekka is offline   Reply With Quote
Old 14th of December 2006 (Thu)   #13
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 11,522
Default Re: EE 2.02 UPDATE

Quote:
Originally Posted by MikeCaine View Post
I've confused myself now

My galleries are still appearing as a two column layout, horizontally alligned, but the groups on my main index page aren't. I'm sure they were before the 2.02 upgrade, but I'm damned if I remember how to get the groups arranged in two columns, horizontally alligned
Embedded group template has a setting for maximum number of columns it has.
__________________
1D Mark III, 5D Mark II, lenses, 5-string bass
PHOTOS: Selected Snaps | Orchestra Photos | Brass Week 2009
2009 POTN BOOK AVAILABLE NOW -- click here

----------------------------
Pekka is offline   Reply With Quote
Old 14th of December 2006 (Thu)   #14
Pekka
El General Moderator
 
Pekka's Avatar
 
Join Date: Mar 2001
Location: Hellsinki, Finland
Posts: 11,522
Default Re: EE 2.02 UPDATE

Quote:
Originally Posted by devenh View Post
Pekka,

Any special installation instructions for my site as you already installed some 2.02 features during testing?

Deven
You'd better do the normal update procedure, it's hard to to tell which exact files are new to your installation so it's best to replace all. Then you must run the version updater script because it alters database a little (you db does not have it).

And thanks for letting me debug on your server. Retrieve Photo Sizes works now so much better. Next I'll trim upload page to same format.
__________________
1D Mark III, 5D Mark II, lenses, 5-string bass
PHOTOS: Selected Snaps | Orchestra Photos | Brass Week 2009
2009 POTN BOOK AVAILABLE NOW -- click here

----------------------------

Last edited by Pekka : 14th of December 2006 (Thu) at 18:56.
Pekka is offline   Reply With Quote
Old 14th of December 2006 (Thu)   #15
rid
Junior Member
 
Join Date: Nov 2006
Posts: 20
Default Re: EE 2.02 UPDATE

Thanks, Pekka. I certainly appreciate your generosity, but I will certainly make a donation with a purchase from the POTN shop.

Ian Davis
rid is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
update acc2000 Nature & Landscapes 1 3 Days Ago 14:27
Update.... victoria RAW, Post Processing and Printing 1 23rd of April 2007 (Mon) 07:32
EE is down after 2.02 update cd500 user EE 2 Installation 3 1st of March 2007 (Thu) 16:30
Update MattyB The POTN Lounge 0 22nd of March 2006 (Wed) 14:15


All times are GMT -5. The time now is 00:54.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
This forum is not affiliated with Canon in any way and is run as a free user helpsite by Pekka Saarinen, Helsinki Finland. You will need to register in order to be able to post messages. Cookies are required for registering and posting. HTML in messages is not allowed, plain website addresses are automatically made active by the board.