Memory error while uploading

Phoca Gallery - image gallery extension
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Post by Jan »

If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

I will try to implem

Post by Jan »

I will try to implement:

try - catch execptions - it solves the problem with error message (fatal error) but only in php5, for php4, there is no solution how to continue after fatal error

hmm the try - catch doesn't work with fatal errors too

So I added the link "Stop Thumbnails Creation" before the Fatal erro can appear... so you can now disable the looping...

Jan
If you find Phoca extensions useful, please support the project
Pecoo
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 15 Mar 2008, 18:59

In the fix to add a

Post by Pecoo »

In the fix to add a stopText The div-tag is not closed with > before the a-tag is started.
This causes an issue in IE. IE doesn't show the 'Stop Thumbnails Creation' as a link. FireFox does, so use firefox
$stopText = '<div style="text-align:right;padding:10px"<a style="font-family: sans-serif, Arial;font-weight:bold;color:#fc0000;font-size:14px;" href="index.php?option=com_phocagallery&controller=phocagallery&task=disablethumbs">' .JText::_( 'Stop Thumbnails Creation' ).'</a></div>';

BTW It's a very nice Joomla component.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Thank you for your i

Post by Jan »

Thank you for your info, fixed...

Jan
If you find Phoca extensions useful, please support the project
Post Reply