[SOLVED] 500 error with image in category description

More
8 years 2 weeks ago - 8 years 2 weeks ago #64498 by ggppdk
Hello

edit file:
templates/yourJoomlaTemplate/error.php

find line that has: both getCode() and getMessage() (*or just getMessage() but search to find last of it, as it may appear twice)


e.g. it will look like:
Code:
<span class="label label-inverse"><?php echo $this->error->getCode(); ?></span> <?php echo htmlspecialchars($this->error->getMessage(), ENT_QUOTES, 'UTF-8');?>

after it add:
Code:
<br /> <span class="label label-inverse"><?php echo $this->error->getLine(); ?></span> <?php echo htmlspecialchars($this->error->getFile(), ENT_QUOTES, 'UTF-8');?> <br /> <?php echo $this->renderBacktrace(); ?>

Thus, we will know, exactly the place that the error is occuring


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Last edit: 8 years 2 weeks ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 2 weeks ago #64517 by Rooney
Hi ggppdk,
thanks for your reply. My templates are pretty old. From ancient FC times ;-). I guess 4, 5 years. So I took the current blog template and adjusted it to my needs. Makes more sense than searching for errors in old templates!
Rooney

Joomla! 3.9.24 and FC 3.3.9

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.257 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline