We are in the process of transitioning a large gallery from zenphoto over to MODX Evo 1.0.5 using Easy2Gallery. The goal is to unify the website management and site style. The transition as a whole went well except two of the top level galleries (years) didn't work properly causing the page to error out.
We got things working by hiding those two galleries, but as they are newer galleries (2006 and 2011), we couldn't just leave them out of the site.
The site is running on a VPS server, so we have a fair amount of control over the configuration, but as it stands right now, the basic info:
Folders : 110
Hidden Folders : 7
Files : 10974 ( 634.65 MB )
Hidden Files : 0 ( 0 bytes )
Server : Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_fcgid/2.3.6 Phusion_Passenger/2.2.15 mod_bwlimited/1.4
Magic Quotes : Off OK
Multibyte String : Enabled OK
set_time_limit : Enabled OK
ZipArchive : Enabled OK
Max Upload Size : 10M
MySQL : 5.0.91-community-log
PHP 5.3.8
The call: [!easy2? &gid=`1` &limit=`16` &cat_order=`ASC` !]
This leaves us with the question, will we need to drop seven years worth of photos (likely 8 by the time we finish adding back 2011 and start 2012), or can we get things working. Showing all of the galleries works, but the page load time is super slow.
Did we hit the limit?
[!easy2? &limit=`16` &cat_order=`ASC` !]
Without &gid means &gid=`1` as the default.
Do you mind to take a screenshot of how the structure of your folders is from your explorer?
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
Correct, this is all one big gallery.
You can find the screenshot here:
http://www.dropbox.com/gallery/1749172/1/misc-web?h=b8968c
The site is run by the organizations youth, so easy to operate is important.
[ed. note: AMDbuilder last edited this post 12 years, 3 months ago.]
404?
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
Whoahhh...
That's small... :p
Yeah, seriously, it's small amount of the folders.
I had 200+ folders on the first level folders, and it worked nicely.
How deep is the folder tree?
What do you have on the error logs?
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
It's usually just two levels deep, in some rare cases there might be a third level if they break events into days, but not usually.
The last error log lines:
[12-Jan-2012 20:15:28] PHP Warning: imagecreatefromjpeg() [<a href='function.imagecreatefromjpeg'>function.imagecreatefromjpeg</a>]: '../../../../../assets/images/gallery/2006/winter-fellowship_1/oa055.jpg' is not a valid JPEG file in /home/xxxxx/public_html/assets/modules/easy2/includes/models/e2g.public.thumbnail.class.php on line 96
[12-Jan-2012 20:15:28] PHP Warning: imagecopyresized() expects parameter 2 to be resource, boolean given in /home/xxxxxx/public_html/assets/modules/easy2/includes/models/e2g.public.thumbnail.class.php on line 108
[12-Jan-2012 20:15:28] PHP Warning: imagedestroy() expects parameter 1 to be resource, boolean given in /home/xxxxxxx/public_html/assets/modules/easy2/includes/models/e2g.public.thumbnail.class.php on line 113
[12-Jan-2012 20:46:50] PHP Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 12224 bytes) in /home/xxxxxxx/public_html/assets/modules/easy2/includes/models/e2g.module.class.php on line 939
Granted those are from a few days back and have since been resolved. There are no errors in the system events either.
have you synched them?
looks like it's missing the file.
PS:
remember to set the max width/height of the image before processing.
or set them as 0 (zero) to leave the original size.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.
The earlier errors are from a few days back, there are no errors from working on the gallery tonight.
The images and thumbnails have set sizes (set in settings). The last time I ran synchronize it never seamed to stop running (actually watched a movie and it was still going). I am attempting that again and will post the results shortly.
The gallery works with all the albums shown, but the page load is slow (in the 8+ sec range).
You might want to specified the thumbnail of the folder by setting it from the folder's editing section, Folder's thumbnail.
It'll make the script skips the thumbnail's crawling when generating the folders.
Rico
Genius is one percent inspiration and ninety-nine percent perspiration.
Thomas A. Edison
MODx is great, but knowing how to use it well makes it perfect!
www.virtudraft.com
Security, security, security! |
Indonesian MODx Forum |
MODx Revo's cheatsheets |
MODx Evo's cheatsheets
Author of
Easy 2 Gallery 1.4.x,
PHPTidy,
spieFeed,
FileDownload R,
Upload To Users CMP,
Inherit Template TV,
LexRating,
ExerPlan,
Lingua,
virtuNewsletter,
Grid Class Key,
SmartTag,
prevNext
Maintainter/contributor of
Babel
Because it's hard to follow all topics on the forum, PING ME ON TWITTER
@_goldsky if you need my help.