PDA

View Full Version : EE 2.02 UPDATE


Pekka
12th of December 2006 (Tue), 18:04
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


$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/forumdisplay.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/showthread.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.

segal3
12th of December 2006 (Tue), 19:40
...and download backup dump home...

Just download the actual file that was created by the backup...or?

Thanks Pekka.

iceman
13th of December 2006 (Wed), 07:31
Just complete Upgrade from 2.01 to 2.02-- All went smooth.:)

Thanks Pekka

Faustini
13th of December 2006 (Wed), 08:03
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 (http://www.rodrigofaustini.com/fotos)

pplfilho
13th of December 2006 (Wed), 08:08
Just complete Upgrade from 2.01 to 2.02-- All went smooth.:)

Thanks Pekka

DITTO here...

Thanks Pekka,

:D

MikeCaine
13th of December 2006 (Wed), 10:20
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

Faustini
13th of December 2006 (Wed), 10:36
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 (http://www.rodrigofaustini.com/fotos)

MikeCaine
13th of December 2006 (Wed), 10:45
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

devenh
13th of December 2006 (Wed), 11:10
Pekka,

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

Deven

rid
13th of December 2006 (Wed), 13:34
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

Faustini
14th of December 2006 (Thu), 07:02
What is the best way to contribute?

I ask the same question.

Sincerely,

Rodrigo Faustini

Pekka
14th of December 2006 (Thu), 17:25
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! :)

Pekka
14th of December 2006 (Thu), 17:53
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.

Pekka
14th of December 2006 (Thu), 17:54
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.

rid
14th of December 2006 (Thu), 18:43
Thanks, Pekka. I certainly appreciate your generosity, but I will certainly make a donation with a purchase from the POTN shop.

Ian Davis

MikeCaine
15th of December 2006 (Fri), 06:20
Embedded group template has a setting for maximum number of columns it has.

I've got that now, thanks. Is there an easy fix to add to get the horozontally aligned, like the horsort option did for the gallery index pages?

DavidW
15th of December 2006 (Fri), 07:38
Very well done, Pekka - a good collection of bug fixes and enhancements. Following the instructions, it installed just fine on my server. The only thing I noticed is that I didn't have an ee_commerce/required folder to delete - though I've never used EE Commerce.

Nailing the CSS issue that prevented thumbnails from displaying on the index page using IE6 was icing on the cake (see here (http://photography-on-the.net/forum/showthread.php?t=250851) for the fix, as Pekka noted in his edit to the release notes).


I seem to have featured several times in the release notes (and, indeed at least once on comments in the code - I really am flattered). EE 2.02 does an amazing job, and it's been my pleasure to contribute some fixes, ideas and suggestions. I hope to be able to contribute more in the future. My intention is to do some more work on the metadata handling, but things have been put on hold for a while because I'm so busy.


One question, Pekka. You were hoping to make EE cope with MySQL strict mode. Is that done in 2.02, not done but intending to be done, or not feasible?



David

thomascanty
18th of December 2006 (Mon), 05:18
I just completed the update, but I'm still missing random thumbnails in IE. If I refresh the screen, sometimes the thumbs will then show up, but others that were visible now disappear. Is anyone else having this happen?

Pekka
18th of December 2006 (Mon), 06:21
I just completed the update, but I'm still missing random thumbnails in IE. If I refresh the screen, sometimes the thumbs will then show up, but others that were visible now disappear. Is anyone else having this happen?

Fix is in http://photography-on-the.net/forum/showthread.php?t=250851

thomascanty
18th of December 2006 (Mon), 06:30
Thanks, Pekka. I'd missed that somehow.

jcriner
16th of February 2007 (Fri), 17:38
EE seems like a nice piece of software, and I would like to use it. But I can't seem to get past go. Searching the forums seems to indicate that one should install v1.5rc4, then upgrade to 2.0, then upgrade to 2.02. I gather this is simply to create the database as all of the ee files get replaced, and there is no 2.02 install script. I have a working setup of:

apache 2.2.4
mysql 5.0.27
php 5.2.1
imagemagick 6.3.2

php test scripts work and so does phpmyadmin.

Following http://photography-on-the.net/forum/showthread.php?t=29266, I created an empty mysql database and user and edited ee/input/backup/ee_backup_prefs/preferences.php and ee/add/connect.php accordingly. When I launch http://localhost/ee/rc4_installers/full_15rc4.php all I get is a BLANK PAGE. I suspect some php.ini issue with modules relevant to ee. Can anyone comment, provide a working php.ini for 5.2.1, or list the required modules for setup?

Thanks,

James

Ellis St. Rose
17th of March 2007 (Sat), 00:30
Hello I am just trying to get started. I have nothing installed yet. Help. Thank you.

idhome
31st of March 2007 (Sat), 10:08
Me too! where do I get it from anyway?

chriz
4th of April 2007 (Wed), 05:50
EE is a marvelous script but requires some effort from your side.
First read:
http://photography-on-the.net/forum/showthread.php?t=29266
Take your time, read it
and then install that version
and test it
Then read:
http://photography-on-the.net/forum/showthread.php?t=223149
again, read it from the first message to the last
and upgrade your first installation
Then read:
http://photography-on-the.net/forum/showthread.php?t=250579
and upgrade your second installation.

It takes some time, it takes effort, but you cannot imagine how much effort it took the developer who provides his work for free.

I'm using it since version 1.22 and have never had any serious problem with the script.
Even when hundreds of visitors were trying to access my albums all at the same time.

Chriz

Jezz
13th of August 2007 (Mon), 10:38
I would like to use this gallery software, but cannot find a download to install it? It says coming soon, but for now use the upgrade, but i cant upgrade something i dont have installed lol

wkitty42
20th of August 2007 (Mon), 00:15
as many other messages in the forum state, install the last public release of 1.5 and then upgrade from there... there's all too many messages about this that i cannot fathom that a forum search would turn up empty...

hawkslayer
23rd of August 2007 (Thu), 22:28
I've been looking around the site for a full installation and only seem to be able to find updates and upgrades. Can someone please point me in the direction of the full script? It looks pretty cool in the demo version.

Hawkslayer..

thomascanty
23rd of August 2007 (Thu), 22:31
There is no full script. Like wkitty42 said, you have to install 1.5, then follow the upgrade trail.

Peufeu
15th of October 2007 (Mon), 04:24
Installed 1.5rc4, updated to 2.0 and 2.02 right now in order to try EE. It seems to work. Automated installer would be nice, but it was only 10 minutes of work, and the instructions are good. Now I'm gonna play with it ;)

Thanks !

percepts
27th of November 2007 (Tue), 07:15
Any news on when 2.02 installer will be released?

jetmuzer
20th of December 2007 (Thu), 09:47
Looks like nothing news here.. Maybe somebody will answer if i *bump* it?
Thanks :cool:

sergei84
4th of May 2008 (Sun), 15:19
I am totally new to EE, so please forgive my ignorance. But, why don't you just have a full package of 2.02? Wouldn't that make more sense, instead of having to install 1.5, then 2.0 and then 2.02 to get to the most up-to-date version? ...The software demo does look great and that's why I am venturing to try it, but, I wish I didn't have to go through all of these installations and upgrades to be current, as a new user.

jeronimo
5th of May 2008 (Mon), 01:41
Yess it would make more sence, however
Pekka made this script by him self. And because he is such a busy man, we just have to wait for that :)

PrimaPhoto
29th of July 2008 (Tue), 11:48
A full one install would be great!!
A few years ago I used EE on my site but got hacked so I may try it again on my new server.

FULL EE 2.02 INSTALLER COMING SOON.On the site for a long time now.

Cheers!

thomascanty
29th of July 2008 (Tue), 12:56
A full one install would be great!!
A few years ago I used EE on my site but got hacked so I may try it again on my new server.

How did you get hacked? Did someone just get lucky and guess your password? Or did they find a vulnerability? I didn't think there was one.

chriz
29th of July 2008 (Tue), 13:13
Hey PrimaPhoto,

Do you mean the full installer is ready?
And if so, where can I download it?

Chriz
www.photoevents.nu

thomascanty
29th of July 2008 (Tue), 13:16
Do you mean the full installer is ready?
And if so, where can I download it?

No, he didn't, and you can't. He was saying that the "coming soon" announcement has been there for a long time.

PrimaPhoto
29th of July 2008 (Tue), 13:31
Exactly.
I am trying to install it and got a bit stuck. I'll have to try again once my head clears up.

chriz
30th of July 2008 (Wed), 06:10
SUCCES!!!

In January my server (1and1) went down after they moved it to another datacenter AND in the same week the backup server died (so much for backups) and I lost everything.

After that I didn't reinstall EE and switched to pixaria.
I liked/like EE a lot though (fast, stable) and might reinstall it in the future.
The full installer would help to do it sooner rather than later.

Chriz

tommykjensen
30th of July 2008 (Wed), 06:16
Unfortunately I don't have the time to do it right now (this or next month to be more precise) otherwise I could do it.

But I have this idea. If somebody has just installed EE completely from 1.5 to 2.02 then with MySQLdumper (http://www.mysqldumper.de/) dump the database structure and with Pekka's permission post it here (of course do it before any personalisation is done). Then all new users have to do is load that sql dump into the database and upload the latest files. Voila a full installation.

PrimaPhoto
30th of July 2008 (Wed), 08:19
After that I didn't reinstall EE and switched to pixaria.
I liked/like EE a lot though (fast, stable) and might reinstall it in the future.I went to Pixaria and now I feel sorry I did, I should have stuck it out with EE on my new server hosting company.
To be honest with you for a $195.00 script you would expect better support. Their is better support here for EE and it is FREEE!

Pekka
30th of July 2008 (Wed), 08:32
I went to Pixaria and now I feel sorry I did, I should have stuck it out with EE on my new server hosting company.
To be honest with you for a $195.00 script you would expect better support. Their is better support here for EE and it is FREEE!

:)

And I'm confident the EE support will get very fast too when it starts as Open Source.

PrimaPhoto
30th of July 2008 (Wed), 11:01
Great to hear Pekka.
I'm feeling pretty sad right now that I gave in to the other one.

BTW Pekka, I love the new photos in your demo gallery!
I finally got my "Dream lens" - a Canon EF 28-300 mm F3.5-F5.6 L IS USM!

I gave my EXHIBIT ENGINE 1.5 RC 4 installed now but I get these errors:

On create new exhibition:
Exhibit Engine MySQL error!
ERROR FROM QUERY get_all_thumbs_ids_used in page 'exhibition_editor':

------------------------------
MySQL client ran out of memory
------------------------------

If you encounter this error with unmodified EE source code please mail this error to EE developers with version number, detailed circumstances when it happened and preferably with a database backup dump. All reports helps improving EE to your satisfaction. Thank You.

When I hit edit exhibition data I get:
Exhibit Engine MySQL error!
ERROR FROM QUERY get_proper_paths in page 'exhibition_editor':

------------------------------
MySQL client ran out of memory
------------------------------

If you encounter this error with unmodified EE source code please mail this error to EE developers with version number, detailed circumstances when it happened and preferably with a database backup dump. All reports helps improving EE to your satisfaction. Thank You.

sreraku
9th of December 2008 (Tue), 22:40
Pekka,
Excellent software. Newbie here and got the reference from one of my cousins. Quick question. How many levels of galleries can we create? I seem to see only 2 levels. I am on 2.02. UPLOAD and UPLOAD/<newdir>. There is no option to create UPLOAD/<dir>/<createnewdir>

Also, I see on my ee gallery page, on the right side pane it still says "Welcome to Exhibit Engine 1.5 beta 4 " even though I am on 2.02. Is there anything wrong?

Thanks

axurit
30th of December 2008 (Tue), 06:12
I'm in search of a program like your EE and would like to try it. However, actually only upgrades to 2.02 are available, but nowhere any version to upgrade from. About when will the 2.02 installer be available?
Greetz! A