i'll bump the version number and add your changes.
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Thu, 2006-05-18 12:25
The patch has been committed to SVN.
GusDoeMatik
Joined: 2006-04-11
Posts: 25
Posted: Thu, 2006-05-18 15:58
dmolavi
Quote:
Once i find a safe way to add this (to prevent injection exploits, etc), this will be put into SVN.
What do you mean by this?
Also I did exactly as you said
Quote:
In SendEcard.inc find:
$data['footer'] = nl2br($data['footer']);
After Add:
GalleryUtilities::unsanitizeInputValues($data['footer'], false);
nothing happened
and I don't see what I should do from there.
But this is what I'm thinking on how to solve the problem
Quote:
on the "site admin side" the eCard admin page you see this:
"You can use the following keywords: %from% (sender e-mail), %fromName% (sender name), %to% (recipient e-mail), %toName% (recipient name)."
Why can't you create this:
"%mySite% (site name and link)"
also add 2 input boxes above and separate from the input fields that already exisist on this page.
input box 1 will be the name of the site
input box 2 will be the link to the site
these fields will be the data that %mySite% uses.
so in the footer I can say this:
"This eCard was sent from (%mySite%) - Your photos on your website."
but the outcome says this:
"This eCard was sent from WhatEverMySiteIs.com - Your photos on your website."
does this make sense?????
I know sh*t about php but I can see what's working and make suggestions based on that.
supraman215
Joined: 2004-10-19
Posts: 26
Posted: Thu, 2006-05-18 16:01
I'm having some serious problems with the eCard module. I can install it fine and the permissions show up ok when I edit an album and it shows up in the drop down but when I go to send one I get an error. I just upgraded to gallery 2.1.1 and I have a multisite installation. Any ideas?
Error:
Warning: GalleryCoreApi::require_once(/home/wheels/public_html/www.example.org/gallery2_codebase/modules/core/classes/helpers/../../../../modules/ecard/classes/EcardHelper.class) [function.require-once]: failed to open stream: No such file or directory in /home/wheels/public_html/www.example.org/gallery2_codebase/modules/core/classes/GalleryCoreApi.class on line 2827
Fatal error: GalleryCoreApi::require_once() [function.require]: Failed opening required '/home/wheels/public_html/www.example.org/gallery2_codebase/modules/core/classes/helpers/../../../../modules/ecard/classes/EcardHelper.class' (include_path='.:/usr/local/php/5.1.1/lib/php') in /home/wheels/public_html/www.example.org/gallery2_codebase/modules/core/classes/GalleryCoreApi.class on line 2827
Here is my set up:
System info:
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 5.1.1 apache2handler
Webserver = Apache/2.0.55 (Unix) mod_ssl/2.0.55 OpenSSL/0.9.7e PHP/5.1.1 mod_jk/1.2.15 mod_fastcgi/2.4.2
Database = mysql 4.1.16-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM, Ffmpeg, Thumbnail
Acceleration = none, none
Operating system = Linux 2.6.14.3 #2 SMP Mon Dec 12 15:50:30 EST 2005 i686
Default theme = matrix
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
Here is the error when I try to configure it through the Site Admin.
Error Detail -
Error (ERROR_BAD_PARAMETER) : Smarty error: unable to read resource: "gallery:modules/ecard/templates/AdminEcard.tpl"
in modules/core/classes/GallerySmarty.class at line 109 (GalleryCoreApi::error)
in lib/smarty/Smarty.class.php at line 1584 (GallerySmarty::trigger_error)
in lib/smarty/Smarty.class.php at line 1410 (Smarty::_fetch_resource_info)
in lib/smarty/Smarty.class.php at line 1859 (Smarty::_compile_resource)
in /home/wheels/public_html/www.example.com/gallery/g2data/smarty/templates_c/%%3706317768/%%CD^CD7^CD714190%%SiteAdmin.tpl.php at line 63 (Smarty::_smarty_include)
in lib/smarty/Smarty.class.php at line 1861
in /home/wheels/public_html/www.example.com/gallery/g2data/smarty/templates_c/%%3706317768/%%54^54D^54D7A448%%admin.tpl.php at line 4 (Smarty::_smarty_include)
in lib/smarty/Smarty.class.php at line 1861
in modules/core/classes/GalleryTemplateAdapter.class at line 659 (Smarty::_smarty_include)
in /home/wheels/public_html/www.example.com/gallery/g2data/smarty/templates_c/%%3706317768/%%3A^3A8^3A818B59%%theme.tpl.php at line 53 (GalleryTemplateAdapter::theme)
in lib/smarty/Smarty.class.php at line 1258
in modules/core/classes/GallerySmarty.class at line 90 (Smarty::fetch)
in modules/core/classes/GalleryTemplate.class at line 206 (GallerySmarty::fetch)
in main.php at line 418 (GalleryTemplate::fetch)
in main.php at line 87
in main.php at line 80
in /home/wheels/public_html/www.example.com/gallery/main.php at line 3
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Thu, 2006-05-18 16:08
GusDoeMatik-
What you do after applying my little tweak is to make your footer read like this in the admin config:
This card sent from <a href="http://www.foobar.com">MySite.com</a>.
what my tweak does is allow html in the footer.
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Thu, 2006-05-18 16:10
supraman-
are you using the svn version, or the one from nico's site? the svn version is coded for gallery 2.2, not 2.1.x, and probably won't work w/ 2.1.1.
GusDoeMatik
Joined: 2006-04-11
Posts: 25
Posted: Thu, 2006-05-18 16:18
dmolavi
Your right it works I didn't see it take effect until I sent myself an eCard.
Sorry I should have done that first.
but does my suggestion in anyway help you to add it the SVN?
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Thu, 2006-05-18 16:22
re: your suggestion - possibly. i just have to make sure that the input is sanitized as to not allow any injections, XSS, etc into the result.
supraman215
Joined: 2004-10-19
Posts: 26
Posted: Thu, 2006-05-18 17:04
I'm using v0.1.0. How do I get the one from Nico's site?
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Thu, 2006-05-18 17:05
that should be the one from his site, as SVN is up to 0.1.1
supraman215
Joined: 2004-10-19
Posts: 26
Posted: Thu, 2006-05-18 17:22
ok so since I'm using the right version for my gallery what's the next step?
supraman215
Joined: 2004-10-19
Posts: 26
Posted: Thu, 2006-05-18 17:34
I was extracting the whole zip file to ../modules/eCard. I didn't realize that there were subfolders in there that needed to be retained. hehe sorry about that. All working now.
schwos
Joined: 2006-04-15
Posts: 50
Posted: Sun, 2006-05-21 06:06
Evening,
I just upgraded to the recent release of this module and I am still having the issue with ecard and fopen().. Fatal error: Call to undefined function: fopen() in /home/www/huskies/modules/core/classes/GalleryPlatform.class on line 345
I have checked the php.ini configuration. Everything else works within my configuration.
When I preview the email is works fine, but the minute I hit the Send button I get the above error.
I don't understand why I would be having this issue and would really appreciate any help I could get.
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.2.2 apache2filter
Webserver = Apache/2.0.40 (Red Hat Linux)
Database = mysql 3.23.54, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, NetPBM, Thumbnail, ImageMagick, Dcraw
Acceleration = partial/900, full/900
Operating system = Linux sylvester.devel.redhat.com 2.4.20-2.41smp #1 SMP Sun Feb 9 09:29:47 EST 2003 i686 athlon i386 GNU/Linux
Default theme = classic
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
then, via g2 site admin, uninstall and then reinstall the module.
spankee
Joined: 2004-06-12
Posts: 51
Posted: Fri, 2006-05-26 19:53
Does the version for 2.1 include the fix for sending an album?
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Fri, 2006-05-26 20:25
no. the version in SVN, which will be the official version release w/ 2.2 probably will though.
LFrank
Joined: 2005-02-19
Posts: 1023
Posted: Sun, 2006-05-28 07:06
dmolavi, SVN revision 607/608 breaks ecard on my system - it gets an error about getting the "Smallest Size".
Reverted to 606 and running again - any idea? I assume the return status fix causes it.
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.18-nt-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Sun, 2006-05-28 12:40
yaaaay a bug report i haven't finished the unit tests, hence the presence of this bug. what error are you getting? and what revision of sendcard.inc and ecardhelper.class are you using?
LFrank
Joined: 2005-02-19
Posts: 1023
Posted: Sun, 2006-05-28 19:01
it simply breaks into an Gallery-Error telling not being able to get the SmallestResize.
I was running the latest SVN (Revision 608) - I will load the 608 back to reproduce the error if you like to...
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.18-nt-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Wed, 2006-05-31 12:09
what photo gave you that error? i'd like to try it myself and see what info i can get...
LFrank
Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2006-06-01 15:33
dmolavi,
thats the error I get with builds > 606
Error
An error has occurred.
Back to the Gallery
Error Detail -
Error (ERROR_MISSING_VALUE)
* in modules\ecard\classes\EcardHelper.class at line 92 (GalleryCoreApi::error)
* in modules\ecard\SendEcard.inc at line 310 (EcardHelper::getSmallestSize)
* in modules\core\classes\GalleryView.class at line 312 (SendEcardView::loadTemplate)
* in main.php at line 390 (GalleryView::doLoadTemplate)
* in main.php at line 85
* in main.php at line 78
System Information
Gallery version 2.2-svn
PHP version 5.1.4 apache2handler
Webserver Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database mysql 5.1.9-beta-log
Toolkits ImageMagick, SquareThumb, NetPBM, Gd
Operating system Windows NT DELL-4550 5.1 build 2600
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Thu, 2006-06-01 15:42
can you PM me the URL of the image that throws this error?
were you logged in, logged out, etc?
LFrank
Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2006-06-01 17:40
I was logged in with my admin account but got the errror - im my 'Guest Folder' (no restrictions) it seems to work. Looks like a permission issue.
Logged out or as Guest on the first one, I only get an error occured. (Try http://localmail.dynip.com/GALLERY2/v/Maximilian/lillie/_R8I3020f.jpg.html)
(I leave the latest SVN for a few hours ...)
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Thu, 2006-06-01 17:52
does that image have any resizes available to it (ie, larger images)? are those resizes restricted in any way to logged in users, etc?
LFrank
Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2006-06-01 17:55
file_exists(F:\G2data\cache\entity/1/0/103579.inc) file_exists(F:\G2data\cache\entity/1/0/103528.inc) getParameter default.theme for core plugin Loading plugin PGtheme Class not defined, trying to include it. file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../config.php) file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../plugins/index.themes) file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../themes/PGtheme/theme.inc) PGtheme plugin successfully instantiated Check the version of the PGtheme plugin file_exists(F:\G2data\cache\theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the PGtheme plugin is ok file_exists(F:\G2data\cache\theme/PGtheme/0/0/0.inc) file_exists(F:\G2data\cache\theme/PGtheme/1/0/103528.inc) file_exists(F:\G2data\cache\module/ecard/0/0/0.inc) getParameter id.anonymousUser for core plugin (mysql): SELECT g2_Group.g_id, g2_Group.g_groupName FROM g2_UserGroupMap, g2_Group WHERE g2_Group.g_id = g2_UserGroupMap.g_groupId AND g2_UserGroupMap.g_userId = 4 ORDER BY g2_Group.g_groupName LIMIT 2147483647 (mysql): SELECT g2_AccessSubscriberMap.g_itemId, BIT_OR(g2_AccessMap.g_permission) FROM g2_AccessMap, g2_AccessSubscriberMap WHERE g2_AccessSubscriberMap.g_itemId IN (103579) AND g2_AccessSubscriberMap.g_accessListId = g2_AccessMap.g_accessListId AND g2_AccessMap.g_userOrGroupId IN (4,3,1) GROUP BY g2_AccessSubscriberMap.g_itemId (mysql): SELECT g2_PermissionSetMap.g_module, g2_PermissionSetMap.g_permission, g2_PermissionSetMap.g_description, g2_PermissionSetMap.g_bits, g2_PermissionSetMap.g_flags FROM g2_PermissionSetMap getParameter default.theme for core plugin Loading plugin PGtheme PGtheme plugin successfully instantiated Check the version of the PGtheme plugin The version of the PGtheme plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes\helpers/../../../../modules/core/ErrorPage.inc) getParameter id.adminGroup for core plugin realpath(C:\Inetpub\Scripts\GALLERY2\modules\core\classes/../../../) (mysql): SELECT g2_TkOperatnMimeTypeMap.g_mimeType, g2_TkOperatnMimeTypeMap.g_toolkitId FROM g2_TkOperatnMimeTypeMap WHERE g2_TkOperatnMimeTypeMap.g_operationName = 'thumbnail' ORDER BY g2_TkOperatnMimeTypeMap.g_mimeType ASC, g2_TkOperatnMimeTypeMap.g_priority ASC file_exists(F:\G2data\smarty\templates_c\%%3582604413) is_dir(F:\G2data\smarty\templates_c\%%3582604413) file_exists(F:\G2data\smarty\templates_c\%%3582604413) is_writeable(F:\G2data\smarty\templates_c\%%3582604413) file_exists(F:\G2data\smarty\templates_c\%%3582604413/v_10) file_exists(C:\Inetpub\Scripts\GALLERY2\modules\core\classes/../../../lib/javascript/local/BlockToggle.js)
the 'immediate' debug output ...
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
LFrank
Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2006-06-01 17:57
the resizes are only available to logged in users, yep
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2006-06-01 19:05
dmolavi, isn't that one of the things I fixed in EcardHelper? it used to have "else if" before checking core.viewSource permission, so if you have core.viewResizes permission but there are no resizes then you'd get this error instead of falling back to full size. I removed the "else" so now it checks full size if there are no resizes.
LFrank
Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2006-06-01 19:23
in my case, guests normally are only allowed to see the thumbs and - no resizes or full sizes (thats the reason I've asked for a specific guest resize separate from the normal resizes)
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Thu, 2006-06-01 19:25
with SVN down now, here's the current code:
function getSmallestSize($itemId) {
list ($ret, $anonymousUserId) =
GalleryCoreApi::getPluginParameter('module', 'core', 'id.anonymousUser');
if ($ret) {
return array($ret, null);
}
list ($ret, $permissions) = GalleryCoreApi::getPermissions($itemId, $anonymousUserId);
if ($ret) {
return array($ret, null);
}
if (isset($permissions['core.viewResizes'])) {
/* Try to get the smallest derivative */
list ($ret, $resizes) = GalleryCoreApi::fetchResizesByItemIds(array($itemId));
if ($ret) {
return array($ret, null);
}
if (!empty($resizes)) {
$currentDimensions = 0;
foreach ($resizes[$itemId] as $resize) {
/* Rebuild the derivative if we don't have its dimensions */
if ($resize->getWidth() == 0 || $resize->getHeight() == 0) {
list ($ret, $resize) =
GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent($resize->getId());
if ($ret) {
return array($ret, null);
}
}
$dimensions = $resize->getWidth() + $resize->getHeight();
if (!$currentDimensions || $dimensions < $currentDimensions) {
$currentDimensions = $dimensions;
$item = $resize;
}
}
return array(null, $item);
}
}
if (isset($permissions['core.viewSource'])) {
list ($ret, $item) = GalleryCoreApi::loadEntitiesById($itemId);
if ($ret) {
return array($ret, null);
}
list ($ret, $preferred) = GalleryCoreApi::fetchPreferredsByItemIds(array($itemId));
if ($ret) {
return array($ret, null);
}
return array(null, empty($preferred) ? $item : $preferred[$itemId]);
}
return array(GalleryCoreApi::error(ERROR_MISSING_VALUE), null);
}
the "else" is gone before the core.viewSource check.
and it works (nearly) again. It displays the SendEcard template but fails to send the mail.
Btw. this was the only change between version 604 and 607 in the EcardHelper.class
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
LFrank
Joined: 2005-02-19
Posts: 1023
Posted: Thu, 2006-06-01 20:01
and - even with revision 606 the mail is not really sent - as it can't find any resizes he's allowed to use
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Thu, 2006-06-01 23:42
i'll add in code to use the thumbnail if the user can't view any other derivative.
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Fri, 2006-06-02 12:23
LFrank -
Replace this line: return array(GalleryCoreApi::error(ERROR_MISSING_VALUE), null);
with this:
list ($ret, $thumbnail) = GalleryCoreApi::fetchThumbnailsByItemIds(array($itemId));
if ($ret) {
return array($ret, null);
}
if (isset($thumbnail[$itemId])) {
$item = $thumbnail[$itemId];
}
return array(null, $item);
does that fix it?
LFrank
Joined: 2005-02-19
Posts: 1023
Posted: Fri, 2006-06-02 17:11
dmolavi,
perfect now - the eCard is sent now perfectly
Thanks,
CU
Lutz
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Fri, 2006-06-02 17:22
change committed to SVN.
thanks for the bug report
technobilder
Joined: 2003-02-09
Posts: 214
Posted: Mon, 2006-06-05 08:42
I just downloaded and installed the "actual" version shown in the modules overview (http://siriux.net/files/g2-module-ecard.zip) but that's without captcha and all the other goodies.
Could someone please update the link
And if someone could also please send me the actual module as zip it would be nice: technobilder at gmx.de
I don't use the dropdown actions for users - and I have the floating menu -
So I'm trying to get an ecard icon-link (envelope) to appear in the photo template below the photo with the icon links for comments, etc
Has anyone already executed this?
ps
dmolavi, I checked your site for the link after registering but could not find the ecard icon link you set up...did you remove it for some reason?
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.4.1 cgi
Webserver = Apache/1.3.34
Database = mysql 4.1.19-standard
Operating system = Linux
Default theme = PGtheme
dmolavi
Joined: 2002-12-05
Posts: 569
Posted: Fri, 2006-06-23 00:55
yes, i'm tweaking it and don't have it active.
pilotdamien
Joined: 2006-06-28
Posts: 2
Posted: Wed, 2006-06-28 01:13
Hi guys,
I just tried to install the ecard module and it gives me this error on the "site admin"->"modules" page.
Status: Incompatible Module (Inactive) eCard 0.9.0 Send photos as eCards
Incompatible module!
Core API Required: 7.9 (available: 7.2)
I currently have the updated Gallery 2.1.1.
What is the Core API and how can I update it?
Thanks a mil.
William.
pilotdamien
Joined: 2006-06-28
Posts: 2
Posted: Wed, 2006-06-28 03:39
Well, nevermind. I figured the problem. I did a checkout of the lates ecard code, but didn't realized I was replacing the SendEcard.inc file with an old version.
Thanks for the awesome module.
William.
becky11
Joined: 2006-06-23
Posts: 8
Posted: Mon, 2006-07-03 23:08
Hi there
Thanks for this cool module!
ThomasH
Joined: 2006-05-08
Posts: 10
Posted: Sun, 2006-07-09 09:44
Hi,
I just installed the eCard Module, i put on group "Everybody" the permission to send eCard and if i try to send an eCard without login in then i get just "Security Violation - The action you attempted is not permitted."
Gallery version = 2.2-svn core 1.1.10
PHP version = 4.3.10-16 apache
Webserver = Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-16
Database = mysqlt 4.1.11-Debian_4sarge3-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Thumbnail, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux einstein 2.6.15-rootserver #1 SMP Sun Jan 15 05:58:01 CET 2006 i686
Default theme = classic
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
iampd
Joined: 2006-08-01
Posts: 3
Posted: Tue, 2006-08-01 21:06
I'm receiving the same error as ThomasH after a fresh install of 0.1.0 to gallery 2.1:
Security Violation
The action you attempted is not permitted.
I have [everybody] set to be able to send ecards but you get this
error whether you're logged in or not, only admin can send currently.
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.3.9 apache2handler
Webserver = Apache
Database = mysql 4.1.20, lock.system=flock
Toolkits = Exif, Gd, ImageMagick, ArchiveUpload
Acceleration = partial/900, none
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Tue, 2006-08-01 21:59
at this point we can really only support the code going into Gallery 2.2, which is currently in gallery-contrib, version 0.9.0.. but you need current svn or nightly snapshot to use this version. look for eCard moving into main gallery svn in a few days.
iampd
Joined: 2006-08-01
Posts: 3
Posted: Tue, 2006-08-01 22:13
Is 2.2 safe to run for a production site? I'm relatively new to Gallery, just discovered the world of modules and could upgrade to 2.2 but my site is live with public traffic for some high profile local event pictures.
mindless
Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-08-02 14:44
2.2 is not released yet. We do a reasonably good job of keeping current svn / nightly snapshots stable, but they are not supported releases. Plenty of people use the latest code (which we appreciate, for testing before official releases), but we don't recommend it for production sites.
eCard module has now moved from gallery-contrib to main gallery svn; it should be in the current nightly snapshot too.
luvdodo
Joined: 2005-10-20
Posts: 20
Posted: Tue, 2006-08-08 03:35
Hi,
I have Gallery 2.1 installed and just installed the ecard module.
I can get to the "Send as ecard" page and fill information.
I get an error saying "The action you attempted is not permitted." when I log in as a regular member.
And when I log is as a admin I get the following error -
Error (ERROR_BAD_PARAMETER) : Controller results are missing status, error, (redirect, delegate, return)
in main.php at line 211 (gallerycoreapi::error)
in main.php at line 87
in main.php at line 80
System Information
Gallery version 2.1.1
PHP version 4.4.1 cgi
Webserver Apache/1.3.34 (Unix) mod_gzip/1.3.26.1a mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b
Database mysql 4.1.19-standard-log
Toolkits ImageMagick, SquareThumb, Gd
Operating system Linux leucothea.site5.com 2.6.9-34.0.2.ELsmp #1 SMP Fri Jul 7 19:52:49 CDT 2006 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Posts: 569
i'll bump the version number and add your changes.
Posts: 569
The patch has been committed to SVN.
Posts: 25
dmolavi
What do you mean by this?
Also I did exactly as you said
nothing happened
and I don't see what I should do from there.
But this is what I'm thinking on how to solve the problem
Posts: 26
I'm having some serious problems with the eCard module. I can install it fine and the permissions show up ok when I edit an album and it shows up in the drop down but when I go to send one I get an error. I just upgraded to gallery 2.1.1 and I have a multisite installation. Any ideas?
Error:
Warning: GalleryCoreApi::require_once(/home/wheels/public_html/www.example.org/gallery2_codebase/modules/core/classes/helpers/../../../../modules/ecard/classes/EcardHelper.class) [function.require-once]: failed to open stream: No such file or directory in /home/wheels/public_html/www.example.org/gallery2_codebase/modules/core/classes/GalleryCoreApi.class on line 2827
Fatal error: GalleryCoreApi::require_once() [function.require]: Failed opening required '/home/wheels/public_html/www.example.org/gallery2_codebase/modules/core/classes/helpers/../../../../modules/ecard/classes/EcardHelper.class' (include_path='.:/usr/local/php/5.1.1/lib/php') in /home/wheels/public_html/www.example.org/gallery2_codebase/modules/core/classes/GalleryCoreApi.class on line 2827
Here is my set up:
System info:
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 5.1.1 apache2handler
Webserver = Apache/2.0.55 (Unix) mod_ssl/2.0.55 OpenSSL/0.9.7e PHP/5.1.1 mod_jk/1.2.15 mod_fastcgi/2.4.2
Database = mysql 4.1.16-standard, lock.system=flock
Toolkits = ArchiveUpload, Exif, NetPBM, Ffmpeg, Thumbnail
Acceleration = none, none
Operating system = Linux 2.6.14.3 #2 SMP Mon Dec 12 15:50:30 EST 2005 i686
Default theme = matrix
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322)
Here is the error when I try to configure it through the Site Admin.
Error Detail -
Error (ERROR_BAD_PARAMETER) : Smarty error: unable to read resource: "gallery:modules/ecard/templates/AdminEcard.tpl"
in modules/core/classes/GallerySmarty.class at line 109 (GalleryCoreApi::error)
in lib/smarty/Smarty.class.php at line 1584 (GallerySmarty::trigger_error)
in lib/smarty/Smarty.class.php at line 1410 (Smarty::_fetch_resource_info)
in lib/smarty/Smarty.class.php at line 1859 (Smarty::_compile_resource)
in /home/wheels/public_html/www.example.com/gallery/g2data/smarty/templates_c/%%3706317768/%%CD^CD7^CD714190%%SiteAdmin.tpl.php at line 63 (Smarty::_smarty_include)
in lib/smarty/Smarty.class.php at line 1861
in /home/wheels/public_html/www.example.com/gallery/g2data/smarty/templates_c/%%3706317768/%%54^54D^54D7A448%%admin.tpl.php at line 4 (Smarty::_smarty_include)
in lib/smarty/Smarty.class.php at line 1861
in modules/core/classes/GalleryTemplateAdapter.class at line 659 (Smarty::_smarty_include)
in /home/wheels/public_html/www.example.com/gallery/g2data/smarty/templates_c/%%3706317768/%%3A^3A8^3A818B59%%theme.tpl.php at line 53 (GalleryTemplateAdapter::theme)
in lib/smarty/Smarty.class.php at line 1258
in modules/core/classes/GallerySmarty.class at line 90 (Smarty::fetch)
in modules/core/classes/GalleryTemplate.class at line 206 (GallerySmarty::fetch)
in main.php at line 418 (GalleryTemplate::fetch)
in main.php at line 87
in main.php at line 80
in /home/wheels/public_html/www.example.com/gallery/main.php at line 3
Posts: 569
GusDoeMatik-
What you do after applying my little tweak is to make your footer read like this in the admin config:
This card sent from <a href="http://www.foobar.com">MySite.com</a>.
what my tweak does is allow html in the footer.
Posts: 569
supraman-
are you using the svn version, or the one from nico's site? the svn version is coded for gallery 2.2, not 2.1.x, and probably won't work w/ 2.1.1.
Posts: 25
dmolavi
Your right it works I didn't see it take effect until I sent myself an eCard.
Sorry I should have done that first.
but does my suggestion in anyway help you to add it the SVN?
Posts: 569
re: your suggestion - possibly. i just have to make sure that the input is sanitized as to not allow any injections, XSS, etc into the result.
Posts: 26
I'm using v0.1.0. How do I get the one from Nico's site?
Posts: 569
that should be the one from his site, as SVN is up to 0.1.1

Posts: 26
ok so since I'm using the right version for my gallery what's the next step?
Posts: 26
I was extracting the whole zip file to ../modules/eCard. I didn't realize that there were subfolders in there that needed to be retained. hehe sorry about that. All working now.
Posts: 50
Evening,
I just upgraded to the recent release of this module and I am still having the issue with ecard and fopen().. Fatal error: Call to undefined function: fopen() in /home/www/huskies/modules/core/classes/GalleryPlatform.class on line 345
I have checked the php.ini configuration. Everything else works within my configuration.
When I preview the email is works fine, but the minute I hit the Send button I get the above error.
I don't understand why I would be having this issue and would really appreciate any help I could get.
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.2.2 apache2filter
Webserver = Apache/2.0.40 (Red Hat Linux)
Database = mysql 3.23.54, lock.system=flock
Toolkits = ArchiveUpload, Exif, Getid3, NetPBM, Thumbnail, ImageMagick, Dcraw
Acceleration = partial/900, full/900
Operating system = Linux sylvester.devel.redhat.com 2.4.20-2.41smp #1 SMP Sun Feb 9 09:29:47 EST 2003 i686 athlon i386 GNU/Linux
Default theme = classic
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Posts: 62
hello,
i get this error:
Inkompatibles Modul!
Folgende Kern-API benötigt: 6.0 (verfügbar: 7.3)
Folgendes Modul-API wird benötigt: 2.0 (Verfügbar sind: 3.0)
but i have the newes version of gallery.
Posts: 569
ack, sorry. that snuck in by mistake. open the module.inc file and find these two lines:
$this->setRequiredCoreApi(array(7, 9)); $this->setRequiredModuleApi(array(3, 1));replace with these two:
$this->setRequiredCoreApi(array(7, 0)); $this->setRequiredModuleApi(array(3, 0));then, via g2 site admin, uninstall and then reinstall the module.
Posts: 51
Does the version for 2.1 include the fix for sending an album?
Posts: 569
no. the version in SVN, which will be the official version release w/ 2.2 probably will though.
Posts: 1023
dmolavi, SVN revision 607/608 breaks ecard on my system - it gets an error about getting the "Smallest Size".
Reverted to 606 and running again - any idea? I assume the return status fix causes it.
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.18-nt-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
Posts: 569
yaaaay a bug report
i haven't finished the unit tests, hence the presence of this bug. what error are you getting? and what revision of sendcard.inc and ecardhelper.class are you using?
Posts: 1023
it simply breaks into an Gallery-Error telling not being able to get the SmallestResize.
I was running the latest SVN (Revision 608) - I will load the 608 back to reproduce the error if you like to...
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.0.18-nt-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
Posts: 569
what photo gave you that error? i'd like to try it myself and see what info i can get...
Posts: 1023
dmolavi,
thats the error I get with builds > 606
Error An error has occurred. Back to the Gallery Error Detail - Error (ERROR_MISSING_VALUE) * in modules\ecard\classes\EcardHelper.class at line 92 (GalleryCoreApi::error) * in modules\ecard\SendEcard.inc at line 310 (EcardHelper::getSmallestSize) * in modules\core\classes\GalleryView.class at line 312 (SendEcardView::loadTemplate) * in main.php at line 390 (GalleryView::doLoadTemplate) * in main.php at line 85 * in main.php at line 78 System Information Gallery version 2.2-svn PHP version 5.1.4 apache2handler Webserver Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b Database mysql 5.1.9-beta-log Toolkits ImageMagick, SquareThumb, NetPBM, Gd Operating system Windows NT DELL-4550 5.1 build 2600 Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
Posts: 569
can you PM me the URL of the image that throws this error?
were you logged in, logged out, etc?
Posts: 1023
I was logged in with my admin account but got the errror - im my 'Guest Folder' (no restrictions) it seems to work. Looks like a permission issue.
Logged out or as Guest on the first one, I only get an error occured. (Try http://localmail.dynip.com/GALLERY2/v/Maximilian/lillie/_R8I3020f.jpg.html)
(I leave the latest SVN for a few hours ...)
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
Posts: 569
does that image have any resizes available to it (ie, larger images)? are those resizes restricted in any way to logged in users, etc?
Posts: 1023
the 'immediate' debug output ...
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
Posts: 1023
the resizes are only available to logged in users, yep
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
Posts: 8601
dmolavi, isn't that one of the things I fixed in EcardHelper? it used to have "else if" before checking core.viewSource permission, so if you have core.viewResizes permission but there are no resizes then you'd get this error instead of falling back to full size. I removed the "else" so now it checks full size if there are no resizes.
Posts: 1023
in my case, guests normally are only allowed to see the thumbs and - no resizes or full sizes (thats the reason I've asked for a specific guest resize separate from the normal resizes)
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
Posts: 569
with SVN down now, here's the current code:
function getSmallestSize($itemId) { list ($ret, $anonymousUserId) = GalleryCoreApi::getPluginParameter('module', 'core', 'id.anonymousUser'); if ($ret) { return array($ret, null); } list ($ret, $permissions) = GalleryCoreApi::getPermissions($itemId, $anonymousUserId); if ($ret) { return array($ret, null); } if (isset($permissions['core.viewResizes'])) { /* Try to get the smallest derivative */ list ($ret, $resizes) = GalleryCoreApi::fetchResizesByItemIds(array($itemId)); if ($ret) { return array($ret, null); } if (!empty($resizes)) { $currentDimensions = 0; foreach ($resizes[$itemId] as $resize) { /* Rebuild the derivative if we don't have its dimensions */ if ($resize->getWidth() == 0 || $resize->getHeight() == 0) { list ($ret, $resize) = GalleryCoreApi::rebuildDerivativeCacheIfNotCurrent($resize->getId()); if ($ret) { return array($ret, null); } } $dimensions = $resize->getWidth() + $resize->getHeight(); if (!$currentDimensions || $dimensions < $currentDimensions) { $currentDimensions = $dimensions; $item = $resize; } } return array(null, $item); } } if (isset($permissions['core.viewSource'])) { list ($ret, $item) = GalleryCoreApi::loadEntitiesById($itemId); if ($ret) { return array($ret, null); } list ($ret, $preferred) = GalleryCoreApi::fetchPreferredsByItemIds(array($itemId)); if ($ret) { return array($ret, null); } return array(null, empty($preferred) ? $item : $preferred[$itemId]); } return array(GalleryCoreApi::error(ERROR_MISSING_VALUE), null); }the "else" is gone before the core.viewSource check.
Posts: 1023
I've changed the line 92 from
to
and it works (nearly) again. It displays the SendEcard template but fails to send the mail.
Btw. this was the only change between version 604 and 607 in the EcardHelper.class
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
Posts: 1023
and - even with revision 606 the mail is not really sent - as it can't find any resizes he's allowed to use
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
Posts: 569
i'll add in code to use the thumbnail if the user can't view any other derivative.
Posts: 569
LFrank -
Replace this line:
return array(GalleryCoreApi::error(ERROR_MISSING_VALUE), null);with this:
list ($ret, $thumbnail) = GalleryCoreApi::fetchThumbnailsByItemIds(array($itemId)); if ($ret) { return array($ret, null); } if (isset($thumbnail[$itemId])) { $item = $thumbnail[$itemId]; } return array(null, $item);does that fix it?
Posts: 1023
dmolavi,
perfect now - the eCard is sent now perfectly
Thanks,
CU
Lutz
Gallery version = 2.2-svn core 1.1.9
PHP version = 5.1.4 apache2handler
Webserver = Apache/2.2.2 (Win32) DAV/2 PHP/5.1.4 mod_ssl/2.2.2 OpenSSL/0.9.8b
Database = mysql 5.1.9-beta-log,
Theme=PGtheme,
Gallery-URL=http://lf-photodesign.de
Posts: 569
change committed to SVN.
thanks for the bug report
Posts: 214
I just downloaded and installed the "actual" version shown in the modules overview (http://siriux.net/files/g2-module-ecard.zip) but that's without captcha and all the other goodies.
Could someone please update the link
And if someone could also please send me the actual module as zip it would be nice: technobilder at gmx.de
Posts: 569
Use SVN to download the current version.
svn checkout https://svn.sourceforge.net/svnroot/gallery-contrib/trunk/gallery2/modules/ecardPosts: 41
First - kudos to the team/ great mod!!
I don't use the dropdown actions for users - and I have the floating menu -
So I'm trying to get an ecard icon-link (envelope) to appear in the photo template below the photo with the icon links for comments, etc
Has anyone already executed this?
ps
dmolavi, I checked your site for the link after registering but could not find the ecard icon link you set up...did you remove it for some reason?
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.4.1 cgi
Webserver = Apache/1.3.34
Database = mysql 4.1.19-standard
Operating system = Linux
Default theme = PGtheme
Posts: 569
yes, i'm tweaking it and don't have it active.

Posts: 2
Hi guys,
I just tried to install the ecard module and it gives me this error on the "site admin"->"modules" page.
Status: Incompatible Module (Inactive) eCard 0.9.0 Send photos as eCards
Incompatible module!
Core API Required: 7.9 (available: 7.2)
I currently have the updated Gallery 2.1.1.
What is the Core API and how can I update it?
Thanks a mil.
William.
Posts: 2
Well, nevermind. I figured the problem. I did a checkout of the lates ecard code, but didn't realized I was replacing the SendEcard.inc file with an old version.
Thanks for the awesome module.
William.
Posts: 8
Hi there
Thanks for this cool module!
Posts: 10
Hi,
I just installed the eCard Module, i put on group "Everybody" the permission to send eCard and if i try to send an eCard without login in then i get just "Security Violation - The action you attempted is not permitted."
Gallery version = 2.2-svn core 1.1.10
PHP version = 4.3.10-16 apache
Webserver = Apache/1.3.33 (Debian GNU/Linux) PHP/4.3.10-16
Database = mysqlt 4.1.11-Debian_4sarge3-log, lock.system=flock
Toolkits = ArchiveUpload, Exif, Thumbnail, Gd, ImageMagick
Acceleration = none, none
Operating system = Linux einstein 2.6.15-rootserver #1 SMP Sun Jan 15 05:58:01 CET 2006 i686
Default theme = classic
gettext = enabled
Locale = en_US
Browser = Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.8.0.4) Gecko/20060508 Firefox/1.5.0.4
Posts: 3
I'm receiving the same error as ThomasH after a fresh install of 0.1.0 to gallery 2.1:
Security Violation
The action you attempted is not permitted.
I have [everybody] set to be able to send ecards but you get this
error whether you're logged in or not, only admin can send currently.
Gallery version = 2.1.1 core 1.1.0.1
PHP version = 4.3.9 apache2handler
Webserver = Apache
Database = mysql 4.1.20, lock.system=flock
Toolkits = Exif, Gd, ImageMagick, ArchiveUpload
Acceleration = partial/900, none
Posts: 8601
at this point we can really only support the code going into Gallery 2.2, which is currently in gallery-contrib, version 0.9.0.. but you need current svn or nightly snapshot to use this version. look for eCard moving into main gallery svn in a few days.
Posts: 3
Is 2.2 safe to run for a production site? I'm relatively new to Gallery, just discovered the world of modules and could upgrade to 2.2 but my site is live with public traffic for some high profile local event pictures.
Posts: 8601
2.2 is not released yet. We do a reasonably good job of keeping current svn / nightly snapshots stable, but they are not supported releases. Plenty of people use the latest code (which we appreciate, for testing before official releases), but we don't recommend it for production sites.
eCard module has now moved from gallery-contrib to main gallery svn; it should be in the current nightly snapshot too.
Posts: 20
Hi,
I have Gallery 2.1 installed and just installed the ecard module.
I can get to the "Send as ecard" page and fill information.
I get an error saying "The action you attempted is not permitted." when I log in as a regular member.
And when I log is as a admin I get the following error -
Error (ERROR_BAD_PARAMETER) : Controller results are missing status, error, (redirect, delegate, return)
in main.php at line 211 (gallerycoreapi::error)
in main.php at line 87
in main.php at line 80
System Information
Gallery version 2.1.1
PHP version 4.4.1 cgi
Webserver Apache/1.3.34 (Unix) mod_gzip/1.3.26.1a mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.25 OpenSSL/0.9.7a PHP-CGI/0.1b
Database mysql 4.1.19-standard-log
Toolkits ImageMagick, SquareThumb, Gd
Operating system Linux leucothea.site5.com 2.6.9-34.0.2.ELsmp #1 SMP Fri Jul 7 19:52:49 CDT 2006 i686
Browser Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
Appreciate any info on this error.
Thank you,
Dodz.
Posts: 569
if you are using the ecard code from SVN, it's for 2.2 only, not 2.1. see http://codex.gallery2.org/index.php/Gallery2:User_Contributions#Modules for a version compatible w/ 2.1