[Remove ~username from URL] PHP Thumb - File Path Issue

More
6 years 9 months ago - 6 years 9 months ago #68442 by torres86
I'm using the FlexiContent - Universal Content module. I'm displaying a resized image on the news layout. For some reason, the path to the image changes to reflect the Unix username for the site. This causes an error in displaying the image. When I clear the Joomla! cache in the Joomla administrator it seems to fix the problem. However, the problem comes back after a while.

Here is an example of what I get when I have the error:

<img style=" width: 100%; height: auto; display: block !important; border: 0 !important;" src=" hendersonvanatta.com/ ~henderso/components/com_flexicontent/librairies/phpthumb/phpThumb.php?src=/~henderso/images/obituaries/thumbs/l_fld20_obit_blank.jpg&w=80&h=80&aoe=1&q=95&zc=1" alt="Fritz K. Rector">


I essentially need to get the "/~henderso/" to go away. Not sure why it is inserted into the path.

Any insight as to how this happens and how I can fix it?
Site: www.hendersonvanatta.com/
Joomla 3.7.3
FlexiContent 3.1.1
Last edit: 6 years 9 months ago by torres86.

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

More
6 years 9 months ago #68445 by ggppdk
Replied by ggppdk on topic PHP Thumb - File Path Issue
Hello

exactly ~henderso
aka ~username

probably you have set the variable
"live_site" in your Joomla configuration file

configuration.php

backup the above file
and then remove that line from it


-- 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...

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

More
6 years 9 months ago #68479 by torres86
That seemed to do the trick, @ggppdk. Thanks so much for the tip!

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.510 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