MODx Community Forums
The MODx Blog
Donations
Feedburner Feeds
Documentation
Bugs & Requests
The Wiki
download MODx
plugins, modules, snippets
online demo
Jul 05, 2009, 01:22 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search via SMF
or Google:
modx forums
all of modxcms.com
web
MODxCMS.com
Forums
Help
Login
Register
News
:Read what MODx Developers say:
MODx Dev. Blogs
MODx Community Forums
»
Add-ons, Extensions & Elements
»
Module, Plugin & Snippet Usage
»
[Module] Easy Peasy Gallery 2
Pages: [
1
]
2
3
...
8
Go Down
« Previous topic
Next topic »
Print
Author
Topic: [Module] Easy Peasy Gallery 2 (Read 45784 times)
0 Members and 1 Guest are viewing this topic.
xwisdom
Foundation
Posts: 1,732
[Module] Easy Peasy Gallery 2
«
on:
Dec 19, 2005, 10:26 PM »
Hello Everyone,
Here's the modxified verion of Easy Peasy Gallery 2 by Nick_NP from Etomite.
I've managed to update this module to support the lastest fixes etc.
Quick Installation and Setup quide:
-------------------------------------
1) Download and extract the photogallery.zip file.
2) FTP or copy the files into the root of your website
3) Run the install/index.php file to install the module
4) Follow the on screen instructions.
After install run the PhotoGallery Admin panel and click on the Install/Clear Galleries button.
Usage:
Calls to the gallery snippet are made using the gallery's ID (as displayed on the admin panel).
example:
[[PhotoGallery?galleryid=`4`]]
Where 4 is the id of your photo gallery.
For more information please see the help section accessible via the admin panel.
How to uninstall the module
---------------------------------------
1) Run the Admin Panel
2) Click the "Uninstall galleries" button to remove agllery tables
3) Delete the module, snippet and files (assets/modules/epg2) associated with the photo gallery
epg2.zip
(64.46 KB - downloaded 2096 times.)
Logged
xWisdom
www.xwisdomhtml.com
The fear of the Lord is the beginning of wisdom:
MODx Co-Founder
- Create and do more with less.
zatoichi
Jr. Member
Posts: 30
Re: [Module] Easy Peasy Gallery 2
«
Reply #1 on:
Dec 20, 2005, 03:01 AM »
Quote
Unable to load dynamic library './gd2.so' - ./gd2.so: cannot open shared object file: No such file or directory
What did I do wrong?
I am still learning how modules work etc, (Still learning how the TV's work for that matter.)
Logged
"Adversus solem ne loquitor." -don't speak against the sun (don't waste your time arguing the obvious) Something I sometimes need to be reminded of.
sottwell
Documentation Team
Posts: 8,837
Re: [Module] Easy Peasy Gallery 2
«
Reply #2 on:
Dec 20, 2005, 03:17 AM »
Looks like your Apache server's php module was compiled without the GD library support. Check the phpinfo() view in Administration->View system info. You should see something like this '--with-gd' in the Configure command section (near the top) as well as a "gd" section further down in the (alphabetical) list of available modules.
I see that the module attempts to dynamically load the GD library if it's not available; here's some interesting info on the dl() function:
http://il2.php.net/dl
«
Last Edit: Dec 20, 2005, 03:40 AM by sottwell
»
Logged
sottwell.com has moved to a lovely Solaris 10 server!
Log in
username guest, password guestuser.
Templates are now becoming available at
http://sottwell.com/templates.html
sottwell
Documentation Team
Posts: 8,837
Re: [Module] Easy Peasy Gallery 2
«
Reply #3 on:
Dec 20, 2005, 03:34 AM »
Heh! The leading comment in the setup.info file is still
Quote
#:: SMF Connector Setup file
Logged
sottwell.com has moved to a lovely Solaris 10 server!
Log in
username guest, password guestuser.
Templates are now becoming available at
http://sottwell.com/templates.html
zatoichi
Jr. Member
Posts: 30
Re: [Module] Easy Peasy Gallery 2
«
Reply #4 on:
Dec 20, 2005, 03:17 PM »
Quote from: sottwell on Dec 20, 2005, 03:17 AM
Looks like your Apache server's php module was compiled without the GD library support. Check the phpinfo() view in Administration->View system info. You should see something like this '--with-gd' in the Configure command section (near the top) as well as a "gd" section further down in the (alphabetical) list of available modules.
I see that the module attempts to dynamically load the GD library if it's not available; here's some interesting info on the dl() function:
http://il2.php.net/dl
No, phpinfo tells me gd is installed. '--with-gd'
GD version = bundled (2.0.28 compatible)
Should there be a mod_gd listing as well?
My first basic assumption is always that I don't know enough about how it's supposed to work. So I'm not sure if I'm missing something about how the module system... for instance I was looking for the admin panel and finally figured out that the box to the left of the module popped up a menu. I chose ->run module. That's when I get the error.
For instance, the quickedit module runs a help page. Am I assuming correctly that this is where and how to run the admin panel?
The other thing I thought was maybe I'm missing a file.
«
Last Edit: Dec 20, 2005, 03:27 PM by zatoichi
»
Logged
"Adversus solem ne loquitor." -don't speak against the sun (don't waste your time arguing the obvious) Something I sometimes need to be reminded of.
sottwell
Documentation Team
Posts: 8,837
Re: [Module] Easy Peasy Gallery 2
«
Reply #5 on:
Dec 20, 2005, 04:06 PM »
No, looks like your gd is fine. Hopefully the module's developers will have more to say. I only ran the earlier version for a while, so really can't say much more.
Logged
sottwell.com has moved to a lovely Solaris 10 server!
Log in
username guest, password guestuser.
Templates are now becoming available at
http://sottwell.com/templates.html
zi
MODx Special Forces /
Administrator
Posts: 3,329
May Peace Be On You
Re: [Module] Easy Peasy Gallery 2
«
Reply #6 on:
Dec 20, 2005, 04:10 PM »
I get this in EventLog viewer:
Code:
Not supported in multithreaded Web servers - use extension=php_gd2.dll in your php.ini
I have XAMPP install in windows, and GD2 is enabled and working in other tests.
regards,
zi
Logged
Subscribe to
MODx Commercial Support Plans
Share and Explore websites made in MODx
--------------------------------------------------
Follow me on Twitter
My Blog
,
Resource Center
ziworks | Custom/Free MODx Templates
xwisdom
Foundation
Posts: 1,732
Re: [Module] Easy Peasy Gallery 2
«
Reply #7 on:
Dec 20, 2005, 09:05 PM »
Hmmm,
Try commenting out lines 68-75 inside the module code. The module is trying to load the GD lib but it seems to be failing on different install.
Code:
// attempt to load GD2 library
if (!extension_loaded('gd2')) {
if (strtoupper(substr(PHP_OS, 0,3) == 'WIN')) {
if(!@dl('php_gd2.dll')) return 0;
} else {
if(!@dl('gd2.so')) return 0;
}
}
Logged
xWisdom
www.xwisdomhtml.com
The fear of the Lord is the beginning of wisdom:
MODx Co-Founder
- Create and do more with less.
zatoichi
Jr. Member
Posts: 30
Re: [Module] Easy Peasy Gallery 2
«
Reply #8 on:
Dec 20, 2005, 11:00 PM »
Yes. It works like a charm now. I even created a test gallery to make sure. Although the wanring that I didn't have gallery tables did throw me for a second.
Logged
"Adversus solem ne loquitor." -don't speak against the sun (don't waste your time arguing the obvious) Something I sometimes need to be reminded of.
zatoichi
Jr. Member
Posts: 30
Re: [Module] Easy Peasy Gallery 2
«
Reply #9 on:
Dec 20, 2005, 11:12 PM »
Um, well I have a gallery but clicking on the thumbnails doesn't take me anywhere. I see the status bar making alot of noise but it's too fast for me to read. No actually, I think it just reloads the same page.
I think I need to delve in a little and read to see if there is a setting I neglected.
Logged
"Adversus solem ne loquitor." -don't speak against the sun (don't waste your time arguing the obvious) Something I sometimes need to be reminded of.
xwisdom
Foundation
Posts: 1,732
Re: [Module] Easy Peasy Gallery 2
«
Reply #10 on:
Dec 21, 2005, 01:26 AM »
Is the page cached?
try using [!PhotoGallery!]
Logged
xWisdom
www.xwisdomhtml.com
The fear of the Lord is the beginning of wisdom:
MODx Co-Founder
- Create and do more with less.
zatoichi
Jr. Member
Posts: 30
Re: [Module] Easy Peasy Gallery 2
«
Reply #11 on:
Dec 22, 2005, 03:30 AM »
Quote from: xwisdom on Dec 21, 2005, 01:26 AM
Is the page cached?
try using [!PhotoGallery!]
DOH!
I'm having a Homer Simpson moment.
Works great now.
I need to play with this. I just printed out the module script to read in bed... 29 pages!
Logged
"Adversus solem ne loquitor." -don't speak against the sun (don't waste your time arguing the obvious) Something I sometimes need to be reminded of.
Tsabrack
New Member
Posts: 1
Re: [Module] Easy Peasy Gallery 2
«
Reply #12 on:
Dec 26, 2005, 09:28 AM »
Quote from: xwisdom on Dec 20, 2005, 09:05 PM
Hmmm,
Try commenting out lines 68-75 inside the module code. The module is trying to load the GD lib but it seems to be failing on different install.
Code:
// attempt to load GD2 library
if (!extension_loaded('gd2')) {
if (strtoupper(substr(PHP_OS, 0,3) == 'WIN')) {
if(!@dl('php_gd2.dll')) return 0;
} else {
if(!@dl('gd2.so')) return 0;
}
}
Heya, I had the same problem with xammp. The solution is pretty simple. If you have a look had Phpinfo there's no GD2, but there's a GD bundled (2.0.28 compatible). So this line:
if (!extension_loaded('gd2')) {
To
if (!extension_loaded('gd')) {
It worked perfectly for me.
Tsa
Logged
Briggsy
Sr. Member
Posts: 372
Re: [Module] Easy Peasy Gallery 2
«
Reply #13 on:
Dec 27, 2005, 03:46 PM »
Quote from: xwisdom on Dec 19, 2005, 10:26 PM
3) Run the install/index.php file to install the module
4) Follow the on screen instructions.
After install run the PhotoGallery Admin panel and click on the Install/Clear Galleries button.
A simple question, how do you run the admin module?
After step 3, I was given the option to close the installer and delete the install directory. The manager then loaded, but gave an error saying that the install directory hadn't been deleted, so I did that manually. However, I get no "on screen instructions"
If I try to run the module form within the manager I get an error saying"
Photo Gallery - Module runtime error:
An error occurred while loading the module. Please see the event log.
The log file shows
Code:
Event Id:
1
Source:
Photo Gallery - Module
Date:
28-Dec-2005 10:41 AM
User:
admin
Dynamically loaded extentions aren't enabled
Logged
Emergency Management Academy of New Zealand
http://www.emanz.ac.nz
MODx Sandbox
Login: sandbox Password: castle
Admin Sandbox
Login: sandbox Password: castle
zi
MODx Special Forces /
Administrator
Posts: 3,329
May Peace Be On You
Re: [Module] Easy Peasy Gallery 2
«
Reply #14 on:
Dec 28, 2005, 03:18 AM »
You need to comment the following lines to run it: (because some server config does not have dynamic loading enabled, including XAMPP on Windows)
Code:
// attempt to load GD2 library
if (!extension_loaded('gd2')) {
if (strtoupper(substr(PHP_OS, 0,3) == 'WIN')) {
if(!@dl('php_gd2.dll')) return 0;
} else {
if(!@dl('gd2.so')) return 0;
}
}
OR
try changing:
Code:
if (!extension_loaded('gd2'))
to
Code:
if (!extension_loaded('gd'))
After adopting one method from the 2 above, it should work.
regards,
zi
Logged
Subscribe to
MODx Commercial Support Plans
Share and Explore websites made in MODx
--------------------------------------------------
Follow me on Twitter
My Blog
,
Resource Center
ziworks | Custom/Free MODx Templates
Pages: [
1
]
2
3
...
8
Go Up
Print
« Previous topic
Next topic »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> Important News
=> Security Notices
-----------------------------
Commercial Support
-----------------------------
=> [CS] About Commercial Support
-----------------------------
Development & Coding
-----------------------------
=> Commercial Inquiries & Bounties
=> Core Code
===> MODx Next
===> xPDO
=> Module, Plugin & Snippet Creation and Modification
=> In Development
=> Templates
-----------------------------
Add-ons, Extensions & Elements
-----------------------------
=> Module, Plugin & Snippet Usage
=> General Repository Items Support
=> Navigation & Tagging/Taxonomy
===> Wayfinder & DropMenu
=> Creating & Repurposing Content
===> Ditto
===> Jot
===> Front-end Document Management
=> Users, Authentication & Personalization
===> WebloginPE
===> WebLogin, WebSignup and WebChangePwd
=> Rich Text Editors & File Browser
===> TinyMCE
===> FCKeditor
===> MCPuck File Browser
=> Forms, Form Processing & Anti-Spam
===> eForm
=> Search
===> AjaxSearch
=> E-business
=> Polls, Calendars, Address Book and Community
=> Third-party integrations
=> Images, Videos & Podcasts
===> MaxiGallery
=> Manager, Parser & the Core
===> Backup & Versioning
===> Doc Finder
===> ManagerManager
===> PHx
=> Templates
-----------------------------
Support
-----------------------------
=> Release Support
===> 0.9.6.3
===> 0.9.6.2
===> 0.9.6.1
===> 0.9.6
===> 0.9.5 and earlier
=> General Support
===> MODx 101
===> E-Commerce, E-Marketing, Analytics & SEO
===> Hosting Experiences
===> IIS / Windows Hosting Issues
=> Documentation, Tips & Tricks
===> Documentation Suggestions & Corrections
-----------------------------
General Discussions
-----------------------------
=> General MODx Discussions
=> Webworker Lounge
=> Wishlist
=> You and Your Sites
=> modxcms.com Discussions and Suggestions
=> Off-topic
-----------------------------
International Support & Translations
-----------------------------
=> Internationalization
=> Bulgarian
===> Поддръжка
=====> Често задавани въпроси
=====> Инсталация
=====> Модули, Плъгини, Снипети и код
=====> Дизайн и Шаблони
===> Документация, Ръководства и Превод
=====> Документация
=====> Ръководства
=====> Превод
===> Общество
=====> Съобщения
=====> Представете се
=====> Представете сайта си
=====> Дискусии извън MODx
=> Chinese
=> Czech
===> Oznámení
=====> Důleitá oznámení/novinky
=====> Bezpečnost
===> Komunita
=====> Oznámení
=====> Představte se, prosím
=====> Ukázky práce
=====> Různé aneb cokoli co se jinam nehodí
===> Podpora
=====> FAQ (často kladené otázky)
=====> Instalace
=====> Moduly, pluginy, "snippets & code" (ablony zdrojových kódů)
=====> Design & ablony
===> Dokumentace, tutoriály (návody) a překlady
=====> Dokumentace
=====> Tutoriály (návody)
=====> Překlady (lokalizace)
=> Dutch
===> Ondersteuning
=====> Veel gestelde vragen
=====> Modules, Plugins, Snippets & Code
=====> Design & Templates
===> Documentatie, Tutorials en Vertalingen
=====> Documentatie
=====> Tutorials
=====> Vertalingen
===> Community
=====> Aankondigingen
=====> Stel jezelf voor
=====> Site Showcase
=====> De stamkroeg
=> Filipino
===> Suporta
=====> Kadalasang tanong
=====> Instalasyon
=====> Moduler, Maidadagdag, Karagdagang mga Code
=====> Desenyo at Templates
===> Dokumentasyon, Mga Turo, Mga Salin
=====> Dokumentasyon
=====> Mga Turo
=====> Mga Salin
===> Kumunidad
=====> Anunsyo
=====> Ipakilala ang sarili
=====> Ang Galing ng pinoy
=====> Tsismisan atbp
=> Finnish
===> Tuki
=====> UKK
=====> Asennus
=====> Moduulit, liitännäiset, koodinpätkät
=====> Ulkoasu/Sivustopohjat
===> Dokumentaatio, oppaat ja käännökset
=====> Dokumentaatio
=====> Käännökset
=====> Oppaat
===> Yhteisö
=====> Tiedotteet
=====> Esittele itsesi
=====> MODx sivustosi
=====> Kahvihuone
=> French
===> Support
=====> FAQ
=====> Installation
=====> Module, plugin, snippets
=====> Design/Templates
===> Documentation, Tutoriels et Traductions
=====> Documentation
=====> Traduction
=====> Tutoriels
===> Communauté
=====> Annonces
=====> Présentez vous
=====> Vos sites
=====> Le Bistrot Français
=> German
===> Support (de)
=====> FAQ (de)
=====> Installation (de)
=====> Module, Plugins, Snippets & Code (de)
=====> Design & Templates (de)
===> Dokumentation, Tutorials und Übersetzung
=====> Dokumentation
=====> Tutorials (de)
=====> Übersetzung
===> Community (de)
=====> Ankündigungen
=====> Stellt Euch vor
=====> Beispielseiten
=====> Off Topic / Verschiedenes
=> Hebrew
===> הכרזה
=====> חדשות חשובות
=====> אבטחה
===> תמיכה
=====> התקנה
=====> תיעוד, מדריכים ותרגומים
=====> עיצוב ותבניות
=====> שאלות נפוצות
===> תיעוד, מדריכים ותרגומים
=====> תיעוד
=====> מדריכים
=====> תרגומים
===> קהילה
=====> הודעות
=====> הצג את עצמך
=====> אתרים לדוגמא
=====> כללי
=> Irish
=> Italian
===> Supporto
=====> FAQ
=====> Installazione
=====> Moduli, Plugin, Snippet e altro codice
=====> Web Design e Template
===> Documentazione, Tutorial e Traduzione
=====> Documentazione
=====> Tutorial
=====> Traduzione
===> Comunitŕ
=====> Annunci
=====> Presentazioni
=====> Siti in vetrina
=====> Chiacchiere in libertŕ
=> Japanese
===> サポート
=====> 良くある質問
=====> インストール
=====> モジュール・プラグイン・スニペット・本体
=====> デザインやテンプレート
===> マニュアル・テュートリアル・翻訳
=====> マニュアル
=====> 事例集、テュートリアル
=====> 日本語化
===> コミュニティ
=====> お知らせ
=====> MODxサイト展示場
=====> 自己紹介
=====> 雑談
=====> 国産リソース
=> Persian - فارسي
===> پشتيباني
=====> راهنما
=====> نصب
=====> ماژول , پلاگین ها , کد ها و جزییات
=====> طراحی و قالب ها
===> مستند سازی , آموزش ها و ترجمه ها
=====> مستند سازی
=====> آموزش ها
=====> ترجمه ها
===> انجمن ها
=====> اخبار
=====> معرفی کردن خود
=====> نمایش دادن سایت ها
=====> بحث های عمومی و سایر موضوعات
=> Polish
===> Wsparcie
=====> FAQ
=====> Instalacja
=====> Moduły, pluginy, snipety i kod
=====> Wygląd i szablony
===> Dokumentacja, tutoriale i tłumaczenie
=====> Dokumentacja
=====> Tutoriale
=====> Tłumaczenie
===> Społeczność
=====> Ogłoszenia
=====> Przedstaw się
=====> Twój serwis WWW
=====> Hyde Park
=> Portuguese
===> Suporte
=====> FAQ - Dúvidas Frequentes
=====> Instalaçăo
=====> Módulos, Plugins, Snippets e Código
=====> Design e Templates
===> Documentaçăo, Guias e Traduçőes
=====> Documentaçăo
=====> Guias
=====> Traduçőes
===> Comunidade
=====> Anúncios
=====> Apresente-se!
=====> Bar da esquina (fora de tópico)
=====> Portfólio de Sites
=> Russian
===> Поддержка
=====> ЧАВО (FAQ)
=====> Установка
=====> Модули, плагины, сниппеты и код
=====> Дизайны и шаблоны
===> Документация, Уроки, Перевод
=====> Документация
=====> Уроки
=====> Перевод
===> Сообщество
=====> Объявления
=====> Представьтесь публике
=====> Галерея сайтов
=====> Диван
=> Scandanavian
===> Support
=====> Frĺgor och svar
=====> Installation
=====> Moduler, plugins, snippets och kod
=====> Design & sidmallar
===> Dokumentation, guider och översättningar
=====> Dokumentation
=====> Guider
=====> Översättningar
===> Webbgemenskap
=====> Meddelanden
=====> Presentera dig själv
=====> Visa upp dina webbsidor
=====> Ordet fritt
=> Slovak
=> Spanish
===> Soporte
=====> FAQ
=====> Instalación
=====> Modulos, Plugins, Snippets & Código
=====> Diseńo y plantillas
===> Documentación, Tutoriales y Traducciones
=====> Documentatción
=====> Tutoriales
=====> Traducciones
===> Comunidad
=====> Anuncios
=====> Presentaciones personales
=====> Muestra de sitios
=====> El Café
=> Swedish
=> TÜRKÇE (Turkish)
===> Destek
=====> SSS
=====> Kurulum
=====> Modüller, Pluginler, Snippetlar & Kodlar
=====> Dizayn & Temalar
===> Belgeleme, Eğitmenler ve Çeviri
=====> Belgeleme
=====> Eğitmenler
=====> Çeviri
===> Topluluk
=====> Duyurular
=====> Kendinizi Tanıtın
=====> Site Vitrini
=====> Konu Dışı