I am still getting the same bugs in the administration (both menus).
After submitting (Save or Synchronize) the following error appears:
At the top of the page: Warning: Missing argument 1 for clear_cache() in /www/htdocs/pnnuke/includes/pnRender.class.php on line 398
In the main windows:
Warning: Cannot modify header information - headers already sent by (output started at /www/htdocs/xxxx/includes/pnRender.class.php:398) in /www/htdocs/xxxx/index.php on line 120
Failed to load module Gallery2 (at function: "updateconfig")
But I think that this isn't a problem of your module.
More and more modules are generating bugs like this.
Nevertheless the settings (path,user-sync) are saved.
So I can open the gallery-module with /index.php?module=Gallery2
Only one lang-definition seems to be missing in the header. Warning: constant(): Couldn't find constant _GALLERY2 in /www/htdocs/xxxx/modules/pnRender/plugins/function.pnml.php on line 88
I copy your language-files into my german-language-dir. But nothing changes.
I found _GALLERY2 in pnlang/eng/admin.php - but it seems that the module (user-mode) can't found it.
With your newest fix, the german letters are correct.
Thank you very much.
Duplicate stylesheets will be fixed in the next release.
Regards,
Mike
Herr.Vorragend
Joined: 2004-07-16
Posts: 120
Posted: Tue, 2006-06-27 14:44
My warnings seems to bee a E_ALL problem.
I removed the comment-sign // in includes/pnAPI.php in function pnInit().
Now I can use your module-administration without errors.
function pnInit()
{
// proper error_repoting
// E_ALL for development
// error_reporting(E_ALL);
// without warnings and notices for release
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING);
.....
UPDATE:
There is still bug with german "Umlaute".
In the album-title, description and so on are this letters not visible.
Herr.Vorragend
Joined: 2004-07-16
Posts: 120
Posted: Fri, 2006-06-30 14:12
Sorry for bumping.
But do you found a solution for the german vowel mutations (Umlaute: üäöß ÜÄÖ)?
Perhaps you can give me a hint, so I can search myself for a solution.
thaughbaer
Joined: 2006-06-19
Posts: 41
Posted: Fri, 2006-06-30 21:12
Difficult to say... since I don't really have a way to test things. If it's in the main Window then that's in pnuser.php:
function Gallery2_helper_convert_encoding($string)
{
if (function_exists(mb_convert_encoding)) {
return mb_convert_encoding($string, _CHARSET, 'UTF-8');
}
else {
return $string;
}
}
So you need a php with --enable-mbstring as a configure option. The version of my module you have also puts a duplicate content-type in the header. Edit gallery2_user_main.htm and delete the line containing $headHtml. See how you get on with that.
Regards,
Mike
Herr.Vorragend
Joined: 2004-07-16
Posts: 120
Posted: Sat, 2006-07-01 19:20
Everything if perfect now.
I search the gallery forum and WIKI and must say, that the gallery2 uses the charset UTF-8 and it can't definitly not changed.
(no differences between standalone and embedded)
You could change the charset output, but any user-input (comments, description, and further more) are UTF-8 encoded, too.
So.
I had to changed my charset in my postnuke-installation from ISO-8859-15 to UTF-8. Tutorial for german postnuke-users
Be quite carefull with changing the charset, ALL language-files, pn-templates, mysql ..... !!!!!
Now my postnuke and the embedded gallery are using UTF-8 as charset and I have no more problems with äöüß and so on.
After removing the Smarty-Tag for the additionally $headhtml, I have no more problems with double-css-files.
Thank you for you support and for the module.
RayPics
Joined: 2006-02-05
Posts: 12
Posted: Sat, 2006-07-01 20:12
I am giving up waiting for G2 and pn762 to get figured out. I have G2 working just fine inside pn750 using the old postwrap module on my site. To prove it here is the link http://raypics.net. click on the link for the gallery on the left side menu. If anyone else is interested in how I got this to work then drop me a pm and I will hook you up with the module and such. PostWrap doesnt work on my test site which uses 762 and autotheme 87. Try if you like but my forehead is still bleeding from smacking it on the monitor.
tuxxx
Joined: 2004-04-27
Posts: 13
Posted: Sat, 2006-07-01 21:03
thanks a lot mike!
tested your module with current releasy of gallery and pn8 from cvs. user sync and embedding works almost perfectly. though i didn't test the blocks yet.
thanks again =)
lancets
Joined: 2004-07-11
Posts: 15
Posted: Sun, 2006-07-02 19:05
I've also been running G2 in Postnuke with PostWrap for several months now (www.lanet.com), but mine is pn762 and I've not had any problems with it. I have been frustrated with the lack of development in Postnuke (both core and modules such as Gallery2 and PNphpBB), so am currently working on a migration to Drupal after evaluating several CMS packages.
RayPics
Joined: 2006-02-05
Posts: 12
Posted: Sun, 2006-07-02 20:31
lancets I sent you a pm.
Thanks
thaughbaer
Joined: 2006-06-19
Posts: 41
Posted: Mon, 2006-07-03 16:13
Well... what's not working ? If you don't say then noone can help you. There are bound to be teething problems when things are developed by an individual with just their own system to test on. As far as I am aware there are no outstanding issues with the module.
Regards,
Mike
RayPics
Joined: 2006-02-05
Posts: 12
Posted: Mon, 2006-07-03 19:14
Point me in the direction of the best bet of a working module and I will gladly give it another try. I see to many links to too many downloads followed up by I fixed it by doing this or that. Im not doubting the module or you Mike, Im just not sure what is the latest "stable" release. Also, everything that I have been trying I do believe is being fouled by AutoTheme. Does your latest release have any issues with AT based themes? I wont use anything but those so my options may be limited to getting G2 and pn living together in harmony.
Thanks
Steve
hardtoneselector
Joined: 2005-03-08
Posts: 46
Posted: Fri, 2006-07-07 16:03
@raypics: autotheme troubled me more often then I wish,... in my tests some weeks ago I did used a XT Theme,... Do you have a running enviroment or and a test system? I would sugest switching the theme to pndefault and then try it, if it is working just switch back to your autotheme, and give taughbaer a hint what went wrong with autotheme,... as more detailed as more possibility to solve it!!!
as I understand this thread and the versions attached,.. just use the latest attachment attached in the thread!
but maybe it makes also sense to put this module on the softwaremap of gallery2! or noc? and maybe also make a version for each attemp!
thaughbaer
Joined: 2006-06-19
Posts: 41
Posted: Fri, 2006-07-07 18:34
I'd prefer to put it on the noc... any suggestions for a name since pnGallery2 is taken ?
Regards,
Mike
Herr.Vorragend
Joined: 2004-07-16
Posts: 120
Posted: Fri, 2006-07-07 18:51
mGallery2 (for Menalto-Gallery v2) ?
Roshlin
Joined: 2004-09-14
Posts: 70
Posted: Sat, 2006-07-08 14:31
Hi,
Or just simply PN-G2
boricua
Joined: 2005-11-26
Posts: 44
Posted: Sun, 2006-07-09 23:05
Hi
UPDATE: IT IS WORKING NOW. DONT KNOW WHAT WAS THE PROBLEM...
Thanks for sharing the module! I am receiving this error:
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 50 (GalleryCoreApi::error)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 145 (GalleryEntityHelper_simple::loadEntitiesById)
in modules/core/classes/GalleryCoreApi.class at line 2424 (GalleryEntityHelper_simple::loadEntityByExternalId)
in modules/core/classes/GalleryEmbed.class at line 227 (GalleryCoreApi::loadEntityByExternalId)
in modules/core/classes/GalleryEmbed.class at line 131 (GalleryEmbed::checkActiveUser)
in /usr/local/apache2/htdocs2/modules/Gallery2/g2helper.php at line 63 (GalleryEmbed::init)
in /usr/local/apache2/htdocs2/modules/Gallery2/pnuser.php at line 69
in /usr/local/apache2/htdocs2/includes/pnMod.php at line 735
in /usr/local/apache2/htdocs2/index.php at line 137
I upgraded Gallery to latest. My setup is PHP 5.1.4, Apache 2.2.2, PostNuke .762
What exactly should go into URI?? Strange the pnGallery2 mod also stoped working after upgrading Gallery2...
Any idea?
Thanks.
boricua
Joined: 2005-11-26
Posts: 44
Posted: Sun, 2006-07-09 23:08
Hi:
Well this seems to be happening for username that are admins at BOTH Gallery and Postnuke...
Later
boricua
Joined: 2005-11-26
Posts: 44
Posted: Sun, 2006-07-09 23:31
Hi Again:
How it could be possible to add support for EZComments in the module?? Also which of these Gallery 2 modules I can use with this module:
Registration
Member
Quotas
Thanks.
boricua
Joined: 2005-11-26
Posts: 44
Posted: Mon, 2006-07-10 05:31
Hi:
Hi:
Well, I am receiving this error when trying to edit an item or an album.
Error (ERROR_BAD_PATH) : Invalid path: modules/map/mapItemEdit.inc
in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 208 (GalleryCoreApi::error)
in modules/core/classes/helpers/GalleryFactoryHelper_medium.class at line 59 (GalleryFactoryHelper_simple::newInstance)
in modules/core/classes/GalleryCoreApi.class at line 126 (GalleryFactoryHelper_medium::newInstanceById)
in modules/core/ItemEdit.inc at line 233 (GalleryCoreApi::newFactoryInstanceById)
in modules/core/ItemAdmin.inc at line 147 (ItemEditView::loadTemplate)
in modules/core/classes/GalleryView.class at line 317 (ItemAdminView::loadTemplate)
in main.php at line 386 (GalleryView::doLoadTemplate)
in main.php at line 87
in modules/core/classes/GalleryEmbed.class at line 192
in /usr/local/apache2/htdocs2/modules/Gallery2/g2helper.php at line 100 (GalleryEmbed::handleRequest)
in /usr/local/apache2/htdocs2/modules/Gallery2/pnuser.php at line 77
in /usr/local/apache2/htdocs2/includes/pnMod.php at line 735
in /usr/local/apache2/htdocs2/index.php at line 137
Gallery version: 2.1.1a:
PHP version (e.g.): 5.1.4
PHPInfo Link (see FAQ):
Webserver (e.g. Apache) 2.2.2
Database (e.g. MySql): 4.1.20
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux):
Browser (e.g. Firefox 1.0):
Later...
boricua
Joined: 2005-11-26
Posts: 44
Posted: Mon, 2006-07-10 06:25
Hi:
Problem gone. It was related with Gallery2 setup (my fault) and not the module implementation. I removed the map module mamually from 2.0.4 and that was the problem...
You should be able to use whichever Gallery modules you like. The user synchronization may cause a problem with registration though. It really should be an option in the PostNuke Gallery module to have the synchronization enabled or disabled and I will make that in the next release.
Do you want to use the SCM (CVS or SVN) in the future?
chicoquente
Joined: 2006-07-18
Posts: 2
Posted: Tue, 2006-07-18 02:00
Good work on the module thaughbaer. I appreciate it. I got it working well except for the Random block. Whenever it displays I am getting a ton of errors:
Quote:
Error (ERROR_CONFIGURATION_REQUIRED)
* in modules/core/classes/GalleryEmbed.class at line 851 (gallerycoreapi::error)
* in /homepages/29/d169045869/htdocs/modules/Gallery2/pnblocks/random.php at line 109 (galleryembed::getimageblock)
* in /homepages/29/d169045869/htdocs/includes/pnBlocks.php at line 134
* in /homepages/29/d169045869/htdocs/modules/Xanthia/pnuserapi.php at line 606
* in /homepages/29/d169045869/htdocs/modules/Xanthia/pnclasses/Xanthia.php at line 212
* in /homepages/29/d169045869/htdocs/themes/PostNuke/theme.php at line 139 (xanthia::do_themeheader)
* in /homepages/29/d169045869/htdocs/header.php at line 42
* in /homepages/29/d169045869/htdocs/header.php at line 45
* in /homepages/29/d169045869/htdocs/index.php at line 157
Any ideas what might be causing this?
EDIT: Also, do I need to setup anything in the COOKIES settings for Gallery 2? (Path/domain) If so, what info do I put in?
pbolomey
Joined: 2006-05-04
Posts: 7
Posted: Sat, 2006-07-22 08:44
Hi,
I been trying to install your method with no luck after the whole G2 installation and implemating your code I get the following error whe trying to call the module:
Error! Called unknown function: pnGallery2_user_main()
Please correct me if I'm wrong I have copy your module into the PN modules directory under a dir named pnGallery2 them gallery2 module into the same directory, ie:
Is this correct or do you have a better way to install.
Thanks,
Pablo
tuxxx
Joined: 2004-04-27
Posts: 13
Posted: Mon, 2006-07-24 10:19
as the error indicates, the function pnGallery2_user_main does not exist. this is because you'll have to rename your module folder to 'Gallery2'. then reinstall the module.
the path to your gallery2 installation must be defined in the postnuke administration panel of your Gallery2 module.
i hope i did not confuse you. good luck ;)
pbolomey
Joined: 2006-05-04
Posts: 7
Posted: Tue, 2006-07-25 13:13
Thnaks for that. All setup and done. I have on issue now and its when I'm trying to delete an inage or album while in the embeded move error is as follow:
PS Just trying to do other functions such move, rebuild thumbnails will also give a similar error
Error (ERROR_LOCK_REQUIRED)
in modules\core\classes\GalleryEntity.class at line 383 (gallerycoreapi::error)
in modules\core\classes\GalleryDerivative.class at line 226 (gallerychildentity::delete)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryderivativeimage::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\classes\GalleryDerivative.class at line 209 (gallerycoreapi::deleteentitybyid)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryderivativeimage::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\classes\GalleryItem.class at line 320 (gallerycoreapi::deleteentitybyid)
in modules\core\classes\GalleryDataItem.class at line 230 (galleryitem::delete)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryphotoitem::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\ItemDelete.inc at line 86 (gallerycoreapi::deleteentitybyid)
in main.php at line 199 (itemdeletecontroller::handlerequest)
in main.php at line 87
in modules\core\classes\GalleryEmbed.class at line 192
in E:\Websites\macherps.com\html\phoenix\modules\Gallery2\g2helper.php at line 100 (galleryembed::handlerequest)
in E:\Websites\macherps.com\html\phoenix\modules\Gallery2\pnuser.php at line 77
in E:\Websites\macherps.com\html\phoenix\includes\pnMod.php at line 735
in E:\Websites\macherps.com\html\phoenix\index.php at line 108
tuxxx
Joined: 2004-04-27
Posts: 13
Posted: Tue, 2006-07-25 14:24
looks like youve got a microsoft box. did you already check, if deleting of images or albums is working in standalone 'mode'?
i won't be able to help you any further, sorry!
pbolomey
Joined: 2006-05-04
Posts: 7
Posted: Thu, 2006-07-27 11:19
Thanks, I also discovered that I was working on a win box. The delete, move and thumbs rebuilt works ok in stand alone box.
But as soon as I try to do this function in embeded mode it give me that error. I'm using the latests "mgallery2" integration method apart from these the whole gallery work fine.
Any suggestions.
Pablo
tuxxx
Joined: 2004-04-27
Posts: 13
Posted: Sat, 2006-07-29 14:30
hehe, no need for sarcasm ;)
i just cant help with windows problems.
though, i tried to reproduce your errors on my local (linux) box. deleting images, movie files and albums is working absolutely flawlessly for me.
perhaps you should file a bug report on http://noc.postnuke.com/projects/mgallery2/. and dont forget to mention your system specs, like os, sql, php and apache versions, as well as the postnuke version you are using.
whatever, good luck =)
greetings from germany
ripthesystem
Joined: 2003-02-28
Posts: 11
Posted: Sun, 2006-08-06 02:34
Just viewed the NOC entry and there's no files there. Could someone upload the latest version that appears to be best working for all?
Herr.Vorragend
Joined: 2004-07-16
Posts: 120
Posted: Sun, 2006-08-06 12:10
I request to join the noc-project, in order to upload the necessary files.
But till now w/o reaction.
@Michael Bhola, could you help us?
Thx
whodah
Joined: 2003-05-17
Posts: 96
Posted: Sun, 2006-08-06 15:28
hi there!
on the 'old' pnGallery2 integration, i was able to setup mod_rewrite rules for standalone only. (embedded postnuke install did not use mod_rewrite rules). this was on G2 2.0.x
does anyone know how to do this with the 'Gallery2' G2 2.1 integration?
thanks!
9 x G1
4 x G2
Herr.Vorragend
Joined: 2004-07-16
Posts: 120
Posted: Sun, 2006-08-06 17:46
Or does anyone know, how to configure the short-urls with the gallery embedded?
I am just looking for the rewrite-rules?
I still know, how to integrate them.
pbolomey
Joined: 2006-05-04
Posts: 7
Posted: Thu, 2006-08-10 10:28
Does anyone know how to solve my problem:
The delete, move and thumbs rebuilt works ok in stand alone box.
But I get the following error when in embeded mode:
Error (ERROR_LOCK_REQUIRED)
in modules\core\classes\GalleryEntity.class at line 383 (gallerycoreapi::error)
in modules\core\classes\GalleryDerivative.class at line 226 (gallerychildentity::delete)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryderivativeimage::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\classes\GalleryDerivative.class at line 209 (gallerycoreapi::deleteentitybyid)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryderivativeimage::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\classes\GalleryItem.class at line 320 (gallerycoreapi::deleteentitybyid)
in modules\core\classes\GalleryDataItem.class at line 230 (galleryitem::delete)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryphotoitem::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\ItemDelete.inc at line 86 (gallerycoreapi::deleteentitybyid)
in main.php at line 199 (itemdeletecontroller::handlerequest)
in main.php at line 87
in modules\core\classes\GalleryEmbed.class at line 192
in E:\Websites\macherps.com\html\phoenix\modules\Gallery2\g2helper.php at line 100 (galleryembed::handlerequest)
in E:\Websites\macherps.com\html\phoenix\modules\Gallery2\pnuser.php at line 77
in E:\Websites\macherps.com\html\phoenix\includes\pnMod.php at line 735
in E:\Websites\macherps.com\html\phoenix\index.php at line 108
onalaska98
Joined: 2004-10-24
Posts: 2
Posted: Fri, 2006-08-11 14:59
Ok after surfing through the posts in this thread can someone just give me an idea... I am running PN 7.6.2 and Gallery 1.5.1, is it as simple as folling the instructions at http://codex.gallery2.org/index.php/Gallery2:migration to upgrade or is there some other things that have to be so that it will integrate completely (URL/Permissions etc)?
Thanks!
G2 URL (optional):
G2 version:
G1 URL (optional):
G1 version:1.5.1
G1 character set:
PHP memory limit:
--
PHP version (e.g. 4.3.11): 4.3.11
Webserver (e.g. Apache 1.3.33): Apache/2.0.55 (Win32) PHP/4.3.11
Database (e.g. MySql 4.0.11): MySQL 4.0.26
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux): 2K3 Web
Browser (e.g. Firefox 1.0): IE7/Firefox
rivka
Joined: 2003-08-30
Posts: 6
Posted: Mon, 2006-10-09 01:28
I've tried to get mgallery2 working on my site, and I don't see any comments, nor any admin features within embedded mode. Any suggestions? And is this tied into the permissions system at all?
cuwet
Joined: 2003-08-17
Posts: 7
Posted: Tue, 2006-10-17 00:11
OK..... Where can we download mgallery2.... what is the holdup?
How about attaching them here or a link to download to start people off while problems getting uploaded onto noc is resolved.
It'll be a day to remember :o)
hardtoneselector
Joined: 2005-03-08
Posts: 46
Posted: Tue, 2006-10-17 22:51
@cuwet: the files are attached here and it will work for the frontend well(just look for toughbaers posts!),... but in the administration of gallery I got a bunch of errors aonly when I use it embedded,...
and it seems that the 3rd developer is gone or is toughbaer still alive? Would be nice to hear that he is still on the project!
mat-c
Joined: 2006-10-25
Posts: 6
Posted: Wed, 2006-10-25 19:14
Hi! Really good work, thanks for that!
BUT: I have problems with the Random block, same as mentioned by chicoquente...maybe atemplate-problem??
Another question: Where can I edit the HTML-Code for the sidebar? It's a bit too large for my design and there a some borders that I dont't want to appear there. AND it is only displayed, when I sitch it to the LEFT blocks.
Would it be possible to add the menu UNDER the pictures? The comment-function for example - I don't think that everybody will mention it when its on the left menu...
thx a lot,
mat-c
mat-c
Joined: 2006-10-25
Posts: 6
Posted: Sat, 2006-10-28 17:14
ooops...problem solved. you have to install the random block module first...
boricua
Joined: 2005-11-26
Posts: 44
Posted: Sat, 2006-10-28 19:02
Hi:
I have had user - related problems with the integration. Admin nor any urser can log into Gallery. Maybe user sync was broken at some time (Gallery 2.1.2 update?).
Also, would like to know if this Integration will work with Gallery 2.2. Anyway we need information from the developer about Gallery 2.2 integration.
Later
Houston calling thaughbaer... Where are u??
hardtoneselector
Joined: 2005-03-08
Posts: 46
Posted: Tue, 2006-10-31 14:40
@boricua: I just took a small view in the Roadmap from 2.2, I don't think their will be nor problems with this integration, since between 2.1 and 2.2 are no changes about the embeded functionality,... but who knows with a big pakage like this,...
You may test it on a "sandbox" Postnuke gallery page?!?
Quote:
Non-Goals
We will not improve embedding support
We will not focus on increasing stability
No IPO (maybe in 2.3)
pbolomey - I am also running Postnuke on Windows and I'm getting the lock error that you're getting. Standalone works fine.
Error (ERROR_LOCK_REQUIRED)
* in modules\core\classes\GalleryEntity.class at line 288 (GalleryCoreApi::error)
* in modules\core\classes\GalleryItem.class at line 409 (GalleryEntity::save)
* in modules\core\ItemEditItem.inc at line 237 (GalleryItem::save)
* in modules\core\ItemEdit.inc at line 92 (ItemEditItem::handleRequest)
* in main.php at line 199 (ItemEditController::handleRequest)
* in main.php at line 87
* in modules\core\classes\GalleryEmbed.class at line 192
* in C:\Program Files\xampp\htdocs\modules\Gallery2\g2helper.php at line 100 (GalleryEmbed::handleRequest)
* in C:\Program Files\xampp\htdocs\modules\Gallery2\pnuser.php at line 77
* in C:\Program Files\xampp\htdocs\includes\pnMod.php at line 735
* in C:\Program Files\xampp\htdocs\index.php at line 108
System Information
Gallery version 2.1.2
PHP version 5.1.4 apache2handler
Webserver Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4
Database mysql 5.0.21-community-nt
Toolkits Gd
Operating system Windows NT STORAGE 5.2 build 3790
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Did you ever find a resolution?
thaughbaer
Joined: 2006-06-19
Posts: 41
Posted: Fri, 2006-11-17 01:13
I'm not within earshot of Houston that's for sure. I have it working with 2.1.2 and user sync seems ok. You could try resyncing from PostNuke.
Regards,
Mike
thaughbaer
Joined: 2006-06-19
Posts: 41
Posted: Fri, 2006-11-17 10:44
CVS is now active on the NOC. The module MUST be called mGallery2 ( case sensitive ) even though it is called mgallery2 in the NOC ( my mistake but difficult to change now ) so checkout using cvs checkout -d mGallery2 mgallery2
Regards,
Mike
maddruid
Joined: 2006-11-01
Posts: 15
Posted: Fri, 2006-11-17 14:06
FYI - I installed the CVS version and I still get LOCK errors when I try to delete an image. Otherwise, it's cool. For now, I go to gallery directly to delete.
erik_osaka
Joined: 2006-11-17
Posts: 4
Posted: Fri, 2006-11-17 15:10
Where can I download the latest release of mGallery2? I checked noc.postnuke but there are still no files releasd, and the last file attached in this forum was on 2006-06-25 18:52. Have there been any file releases since then?
I'm really interested in this module! My one conern is the user table integration. We have a lot of photos on our site (www.bikeclubosaka.com) posted by various members of the community (right now we're using My eGallery) and we need photos to maitain links to the user who uploaded. Has anyone done this before? Or does mGallery2 only work with fresh installs?
thaughbaer
Joined: 2006-06-19
Posts: 41
Posted: Fri, 2006-11-17 17:24
I assume you are still using Windows ? Works fine for me on Linux. Have you tried switching locking mechanisms ?
Posts: 120
I am still getting the same bugs in the administration (both menus).
After submitting (Save or Synchronize) the following error appears:
At the top of the page:
Warning: Missing argument 1 for clear_cache() in /www/htdocs/pnnuke/includes/pnRender.class.php on line 398
In the main windows:
But I think that this isn't a problem of your module.
More and more modules are generating bugs like this.
Nevertheless the settings (path,user-sync) are saved.
So I can open the gallery-module with /index.php?module=Gallery2
Only one lang-definition seems to be missing in the header.
Warning: constant(): Couldn't find constant _GALLERY2 in /www/htdocs/xxxx/modules/pnRender/plugins/function.pnml.php on line 88
I copy your language-files into my german-language-dir. But nothing changes.
I found _GALLERY2 in pnlang/eng/admin.php - but it seems that the module (user-mode) can't found it.
With your newest fix, the german letters are correct.
Thank you very much.
By the way:
The postnuke-admin.php was changed in the postnuke-NOC /trunk/Historic/PostNuke7x/html/modules/User/admin.php
added update hook, fixed create hook - credit to Michael Bhola for these fixes (from Gallery2 module)[markwest]
Posts: 120
One note:
The Stylesheets are linked two times:
Posts: 41
Duplicate stylesheets will be fixed in the next release.
Regards,
Mike
Posts: 120
My warnings seems to bee a E_ALL problem.
I removed the comment-sign // in includes/pnAPI.php in function pnInit().
Now I can use your module-administration without errors.
UPDATE:
There is still bug with german "Umlaute".
In the album-title, description and so on are this letters not visible.
Posts: 120
Sorry for bumping.
But do you found a solution for the german vowel mutations (Umlaute: üäöß ÜÄÖ)?
Perhaps you can give me a hint, so I can search myself for a solution.
Posts: 41
Difficult to say... since I don't really have a way to test things. If it's in the main Window then that's in pnuser.php:
data['bodyHtml'] = isset($g2moddata['bodyHtml']) ? Gallery2_helper_convert_encoding($g2moddata['bodyHtml']) : '';
Which calls in g2helper.php:
function Gallery2_helper_convert_encoding($string)
{
if (function_exists(mb_convert_encoding)) {
return mb_convert_encoding($string, _CHARSET, 'UTF-8');
}
else {
return $string;
}
}
So you need a php with --enable-mbstring as a configure option. The version of my module you have also puts a duplicate content-type in the header. Edit gallery2_user_main.htm and delete the line containing $headHtml. See how you get on with that.
Regards,
Mike
Posts: 120
Everything if perfect now.
I search the gallery forum and WIKI and must say, that the gallery2 uses the charset UTF-8 and it can't definitly not changed.
(no differences between standalone and embedded)
You could change the charset output, but any user-input (comments, description, and further more) are UTF-8 encoded, too.
So.
I had to changed my charset in my postnuke-installation from ISO-8859-15 to UTF-8.
Tutorial for german postnuke-users
Be quite carefull with changing the charset, ALL language-files, pn-templates, mysql ..... !!!!!
Now my postnuke and the embedded gallery are using UTF-8 as charset and I have no more problems with äöüß and so on.
After removing the Smarty-Tag for the additionally $headhtml, I have no more problems with double-css-files.
Thank you for you support and for the module.
Posts: 12
I am giving up waiting for G2 and pn762 to get figured out. I have G2 working just fine inside pn750 using the old postwrap module on my site. To prove it here is the link http://raypics.net. click on the link for the gallery on the left side menu. If anyone else is interested in how I got this to work then drop me a pm and I will hook you up with the module and such. PostWrap doesnt work on my test site which uses 762 and autotheme 87. Try if you like but my forehead is still bleeding from smacking it on the monitor.
Posts: 13
thanks a lot mike!
tested your module with current releasy of gallery and pn8 from cvs. user sync and embedding works almost perfectly. though i didn't test the blocks yet.
thanks again =)
Posts: 15
I've also been running G2 in Postnuke with PostWrap for several months now (www.lanet.com), but mine is pn762 and I've not had any problems with it. I have been frustrated with the lack of development in Postnuke (both core and modules such as Gallery2 and PNphpBB), so am currently working on a migration to Drupal after evaluating several CMS packages.
Posts: 12
lancets I sent you a pm.
Thanks
Posts: 41
Well... what's not working ? If you don't say then noone can help you. There are bound to be teething problems when things are developed by an individual with just their own system to test on. As far as I am aware there are no outstanding issues with the module.
Regards,
Mike
Posts: 12
Point me in the direction of the best bet of a working module and I will gladly give it another try. I see to many links to too many downloads followed up by I fixed it by doing this or that. Im not doubting the module or you Mike, Im just not sure what is the latest "stable" release. Also, everything that I have been trying I do believe is being fouled by AutoTheme. Does your latest release have any issues with AT based themes? I wont use anything but those so my options may be limited to getting G2 and pn living together in harmony.
Thanks
Steve
Posts: 46
@raypics: autotheme troubled me more often then I wish,... in my tests some weeks ago I did used a XT Theme,... Do you have a running enviroment or and a test system? I would sugest switching the theme to pndefault and then try it, if it is working just switch back to your autotheme, and give taughbaer a hint what went wrong with autotheme,... as more detailed as more possibility to solve it!!!
as I understand this thread and the versions attached,.. just use the latest attachment attached in the thread!
but maybe it makes also sense to put this module on the softwaremap of gallery2! or noc? and maybe also make a version for each attemp!
Posts: 41
I'd prefer to put it on the noc... any suggestions for a name since pnGallery2 is taken ?
Regards,
Mike
Posts: 120
mGallery2 (for Menalto-Gallery v2) ?
Posts: 70
Hi,
Or just simply PN-G2
Posts: 44
Hi
UPDATE: IT IS WORKING NOW. DONT KNOW WHAT WAS THE PROBLEM...
Thanks for sharing the module! I am receiving this error:
Error (ERROR_BAD_PARAMETER)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 50 (GalleryCoreApi::error)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 145 (GalleryEntityHelper_simple::loadEntitiesById)
in modules/core/classes/GalleryCoreApi.class at line 2424 (GalleryEntityHelper_simple::loadEntityByExternalId)
in modules/core/classes/GalleryEmbed.class at line 227 (GalleryCoreApi::loadEntityByExternalId)
in modules/core/classes/GalleryEmbed.class at line 131 (GalleryEmbed::checkActiveUser)
in /usr/local/apache2/htdocs2/modules/Gallery2/g2helper.php at line 63 (GalleryEmbed::init)
in /usr/local/apache2/htdocs2/modules/Gallery2/pnuser.php at line 69
in /usr/local/apache2/htdocs2/includes/pnMod.php at line 735
in /usr/local/apache2/htdocs2/index.php at line 137
I upgraded Gallery to latest. My setup is PHP 5.1.4, Apache 2.2.2, PostNuke .762
What exactly should go into URI?? Strange the pnGallery2 mod also stoped working after upgrading Gallery2...
Any idea?
Thanks.
Posts: 44
Hi:
Well this seems to be happening for username that are admins at BOTH Gallery and Postnuke...
Later
Posts: 44
Hi Again:
How it could be possible to add support for EZComments in the module?? Also which of these Gallery 2 modules I can use with this module:
Registration
Member
Quotas
Thanks.
Posts: 44
Hi:
Hi:
Well, I am receiving this error when trying to edit an item or an album.
Error (ERROR_BAD_PATH) : Invalid path: modules/map/mapItemEdit.inc
in modules/core/classes/helpers/GalleryFactoryHelper_simple.class at line 208 (GalleryCoreApi::error)
in modules/core/classes/helpers/GalleryFactoryHelper_medium.class at line 59 (GalleryFactoryHelper_simple::newInstance)
in modules/core/classes/GalleryCoreApi.class at line 126 (GalleryFactoryHelper_medium::newInstanceById)
in modules/core/ItemEdit.inc at line 233 (GalleryCoreApi::newFactoryInstanceById)
in modules/core/ItemAdmin.inc at line 147 (ItemEditView::loadTemplate)
in modules/core/classes/GalleryView.class at line 317 (ItemAdminView::loadTemplate)
in main.php at line 386 (GalleryView::doLoadTemplate)
in main.php at line 87
in modules/core/classes/GalleryEmbed.class at line 192
in /usr/local/apache2/htdocs2/modules/Gallery2/g2helper.php at line 100 (GalleryEmbed::handleRequest)
in /usr/local/apache2/htdocs2/modules/Gallery2/pnuser.php at line 77
in /usr/local/apache2/htdocs2/includes/pnMod.php at line 735
in /usr/local/apache2/htdocs2/index.php at line 137
Gallery version: 2.1.1a:
PHP version (e.g.): 5.1.4
PHPInfo Link (see FAQ):
Webserver (e.g. Apache) 2.2.2
Database (e.g. MySql): 4.1.20
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux):
Browser (e.g. Firefox 1.0):
Later...
Posts: 44
Hi:
Problem gone. It was related with Gallery2 setup (my fault) and not the module implementation. I removed the map module mamually from 2.0.4 and that was the problem...
http://gallery.menalto.com/node/51497#comment-190967
Later
Posts: 41
You should be able to use whichever Gallery modules you like. The user synchronization may cause a problem with registration though. It really should be an option in the PostNuke Gallery module to have the synchronization enabled or disabled and I will make that in the next release.
Regards,
Mike
Posts: 120
I won
Title "mgallery2" in NOC
http://noc.postnuke.com/projects/mgallery2/
Do you want to use the SCM (CVS or SVN) in the future?
Posts: 2
Good work on the module thaughbaer. I appreciate it. I got it working well except for the Random block. Whenever it displays I am getting a ton of errors:
Any ideas what might be causing this?
EDIT: Also, do I need to setup anything in the COOKIES settings for Gallery 2? (Path/domain) If so, what info do I put in?
Posts: 7
Hi,
I been trying to install your method with no luck after the whole G2 installation and implemating your code I get the following error whe trying to call the module:
Error! Called unknown function: pnGallery2_user_main()
Please correct me if I'm wrong I have copy your module into the PN modules directory under a dir named pnGallery2 them gallery2 module into the same directory, ie:
pnGallery2
-- core files
-- Gallery2 (application)
Is this correct or do you have a better way to install.
Thanks,
Pablo
Posts: 13
as the error indicates, the function pnGallery2_user_main does not exist. this is because you'll have to rename your module folder to 'Gallery2'. then reinstall the module.
the path to your gallery2 installation must be defined in the postnuke administration panel of your Gallery2 module.
i hope i did not confuse you. good luck ;)
Posts: 7
Thnaks for that. All setup and done. I have on issue now and its when I'm trying to delete an inage or album while in the embeded move error is as follow:
PS Just trying to do other functions such move, rebuild thumbnails will also give a similar error
Error (ERROR_LOCK_REQUIRED)
in modules\core\classes\GalleryEntity.class at line 383 (gallerycoreapi::error)
in modules\core\classes\GalleryDerivative.class at line 226 (gallerychildentity::delete)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryderivativeimage::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\classes\GalleryDerivative.class at line 209 (gallerycoreapi::deleteentitybyid)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryderivativeimage::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\classes\GalleryItem.class at line 320 (gallerycoreapi::deleteentitybyid)
in modules\core\classes\GalleryDataItem.class at line 230 (galleryitem::delete)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryphotoitem::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\ItemDelete.inc at line 86 (gallerycoreapi::deleteentitybyid)
in main.php at line 199 (itemdeletecontroller::handlerequest)
in main.php at line 87
in modules\core\classes\GalleryEmbed.class at line 192
in E:\Websites\macherps.com\html\phoenix\modules\Gallery2\g2helper.php at line 100 (galleryembed::handlerequest)
in E:\Websites\macherps.com\html\phoenix\modules\Gallery2\pnuser.php at line 77
in E:\Websites\macherps.com\html\phoenix\includes\pnMod.php at line 735
in E:\Websites\macherps.com\html\phoenix\index.php at line 108
Posts: 13
looks like youve got a microsoft box. did you already check, if deleting of images or albums is working in standalone 'mode'?
i won't be able to help you any further, sorry!
Posts: 7
Thanks, I also discovered that I was working on a win box. The delete, move and thumbs rebuilt works ok in stand alone box.
But as soon as I try to do this function in embeded mode it give me that error. I'm using the latests "mgallery2" integration method apart from these the whole gallery work fine.
Any suggestions.
Pablo
Posts: 13
hehe, no need for sarcasm ;)
i just cant help with windows problems.
though, i tried to reproduce your errors on my local (linux) box. deleting images, movie files and albums is working absolutely flawlessly for me.
perhaps you should file a bug report on http://noc.postnuke.com/projects/mgallery2/. and dont forget to mention your system specs, like os, sql, php and apache versions, as well as the postnuke version you are using.
whatever, good luck =)
greetings from germany
Posts: 11
Just viewed the NOC entry and there's no files there. Could someone upload the latest version that appears to be best working for all?
Posts: 120
I request to join the noc-project, in order to upload the necessary files.
But till now w/o reaction.
@Michael Bhola, could you help us?
Thx
Posts: 96
hi there!
on the 'old' pnGallery2 integration, i was able to setup mod_rewrite rules for standalone only. (embedded postnuke install did not use mod_rewrite rules). this was on G2 2.0.x
does anyone know how to do this with the 'Gallery2' G2 2.1 integration?
thanks!
9 x G1
4 x G2
Posts: 120
Or does anyone know, how to configure the short-urls with the gallery embedded?
I am just looking for the rewrite-rules?
I still know, how to integrate them.
Posts: 7
Does anyone know how to solve my problem:
The delete, move and thumbs rebuilt works ok in stand alone box.
But I get the following error when in embeded mode:
Error (ERROR_LOCK_REQUIRED)
in modules\core\classes\GalleryEntity.class at line 383 (gallerycoreapi::error)
in modules\core\classes\GalleryDerivative.class at line 226 (gallerychildentity::delete)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryderivativeimage::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\classes\GalleryDerivative.class at line 209 (gallerycoreapi::deleteentitybyid)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryderivativeimage::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\classes\GalleryItem.class at line 320 (gallerycoreapi::deleteentitybyid)
in modules\core\classes\GalleryDataItem.class at line 230 (galleryitem::delete)
in modules\core\classes\helpers\GalleryEntityHelper_medium.class at line 123 (galleryphotoitem::delete)
in modules\core\classes\GalleryCoreApi.class at line 2395 (galleryentityhelper_medium::deleteentitybyid)
in modules\core\ItemDelete.inc at line 86 (gallerycoreapi::deleteentitybyid)
in main.php at line 199 (itemdeletecontroller::handlerequest)
in main.php at line 87
in modules\core\classes\GalleryEmbed.class at line 192
in E:\Websites\macherps.com\html\phoenix\modules\Gallery2\g2helper.php at line 100 (galleryembed::handlerequest)
in E:\Websites\macherps.com\html\phoenix\modules\Gallery2\pnuser.php at line 77
in E:\Websites\macherps.com\html\phoenix\includes\pnMod.php at line 735
in E:\Websites\macherps.com\html\phoenix\index.php at line 108
Posts: 2
Ok after surfing through the posts in this thread can someone just give me an idea... I am running PN 7.6.2 and Gallery 1.5.1, is it as simple as folling the instructions at http://codex.gallery2.org/index.php/Gallery2:migration to upgrade or is there some other things that have to be so that it will integrate completely (URL/Permissions etc)?
Thanks!
G2 URL (optional):
G2 version:
G1 URL (optional):
G1 version:1.5.1
G1 character set:
PHP memory limit:
--
PHP version (e.g. 4.3.11): 4.3.11
Webserver (e.g. Apache 1.3.33): Apache/2.0.55 (Win32) PHP/4.3.11
Database (e.g. MySql 4.0.11): MySQL 4.0.26
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux): 2K3 Web
Browser (e.g. Firefox 1.0): IE7/Firefox
Posts: 6
I've tried to get mgallery2 working on my site, and I don't see any comments, nor any admin features within embedded mode. Any suggestions? And is this tied into the permissions system at all?
Posts: 7
OK..... Where can we download mgallery2.... what is the holdup?
STILL NO FILES AT
http://noc.postnuke.com/projects/mgallery2/
How about attaching them here or a link to download to start people off while problems getting uploaded onto noc is resolved.
It'll be a day to remember :o)
Posts: 46
@cuwet: the files are attached here and it will work for the frontend well(just look for toughbaers posts!),... but in the administration of gallery I got a bunch of errors aonly when I use it embedded,...
and it seems that the 3rd developer is gone or is toughbaer still alive? Would be nice to hear that he is still on the project!
Posts: 6
Hi! Really good work, thanks for that!
BUT: I have problems with the Random block, same as mentioned by chicoquente...maybe atemplate-problem??
Another question: Where can I edit the HTML-Code for the sidebar? It's a bit too large for my design and there a some borders that I dont't want to appear there. AND it is only displayed, when I sitch it to the LEFT blocks.
Would it be possible to add the menu UNDER the pictures? The comment-function for example - I don't think that everybody will mention it when its on the left menu...
thx a lot,
mat-c
Posts: 6
ooops...problem solved. you have to install the random block module first...
Posts: 44
Hi:
I have had user - related problems with the integration. Admin nor any urser can log into Gallery. Maybe user sync was broken at some time (Gallery 2.1.2 update?).
Also, would like to know if this Integration will work with Gallery 2.2. Anyway we need information from the developer about Gallery 2.2 integration.
Later
Houston calling thaughbaer... Where are u??
Posts: 46
@boricua: I just took a small view in the Roadmap from 2.2, I don't think their will be nor problems with this integration, since between 2.1 and 2.2 are no changes about the embeded functionality,... but who knows with a big pakage like this,...
You may test it on a "sandbox" Postnuke gallery page?!?
http://codex.gallery2.org/index.php/Gallery2:Roadmap:2.2
Posts: 15
pbolomey - I am also running Postnuke on Windows and I'm getting the lock error that you're getting. Standalone works fine.
Error (ERROR_LOCK_REQUIRED)
* in modules\core\classes\GalleryEntity.class at line 288 (GalleryCoreApi::error)
* in modules\core\classes\GalleryItem.class at line 409 (GalleryEntity::save)
* in modules\core\ItemEditItem.inc at line 237 (GalleryItem::save)
* in modules\core\ItemEdit.inc at line 92 (ItemEditItem::handleRequest)
* in main.php at line 199 (ItemEditController::handleRequest)
* in main.php at line 87
* in modules\core\classes\GalleryEmbed.class at line 192
* in C:\Program Files\xampp\htdocs\modules\Gallery2\g2helper.php at line 100 (GalleryEmbed::handleRequest)
* in C:\Program Files\xampp\htdocs\modules\Gallery2\pnuser.php at line 77
* in C:\Program Files\xampp\htdocs\includes\pnMod.php at line 735
* in C:\Program Files\xampp\htdocs\index.php at line 108
System Information
Gallery version 2.1.2
PHP version 5.1.4 apache2handler
Webserver Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4
Database mysql 5.0.21-community-nt
Toolkits Gd
Operating system Windows NT STORAGE 5.2 build 3790
Browser Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
Did you ever find a resolution?
Posts: 41
I'm not within earshot of Houston that's for sure. I have it working with 2.1.2 and user sync seems ok. You could try resyncing from PostNuke.
Regards,
Mike
Posts: 41
CVS is now active on the NOC. The module MUST be called mGallery2 ( case sensitive ) even though it is called mgallery2 in the NOC ( my mistake but difficult to change now ) so checkout using cvs checkout -d mGallery2 mgallery2
Regards,
Mike
Posts: 15
FYI - I installed the CVS version and I still get LOCK errors when I try to delete an image. Otherwise, it's cool. For now, I go to gallery directly to delete.
Posts: 4
Where can I download the latest release of mGallery2? I checked noc.postnuke but there are still no files releasd, and the last file attached in this forum was on 2006-06-25 18:52. Have there been any file releases since then?
I'm really interested in this module! My one conern is the user table integration. We have a lot of photos on our site (www.bikeclubosaka.com) posted by various members of the community (right now we're using My eGallery) and we need photos to maitain links to the user who uploaded. Has anyone done this before? Or does mGallery2 only work with fresh installs?
Posts: 41
I assume you are still using Windows ? Works fine for me on Linux. Have you tried switching locking mechanisms ?
Regards,
Mike