Correcting file paths when your data/media folders are moved

  • Published by
    George Papadakis
  • Last modified
    28 October 2013
  • Up to date
    Yes
  • Profile concerned
    End user, Webdesigner
  • Concerns
    Component Plugins
  • Since Version
    1.5.6
  • Voting
    Average rating
    1 vote
    • 1
    • 2
    • 3
    • 4
    • 5
  • Favourites
    339 Correcting file paths when your data/media folders are moved /documentation/tutorials-english/71-fields-usages-tips-joomla-plugin/339-correcting-file-paths-when-your-datamedia-folders-are-moved.html

If for some reason the folder of your files is moved then you need to reconfigure FLEXIcontent parameters

-- In Component configuration
under TAB "options"
under parameter SECTION "Files Configuration" (in future this may become a new TAB)
find 2 parameters:
Path to secure files folder
Path to media files folder

  1. To correct files field
    edit and correct Path to secure files folder
  2. To correct minigallery field
    edit and correct Path to media files folder
  3. To correct image/gallery field
    goto to image/gallery field configuration and correct the thumbnails parameter

NOTE: all paths are relative compared to your joomla ROOT folder
e.g. for path
/home/users/mysite/httpdocs/images/stories/flexicontent
enter
images/stories/flexicontent

NOTE: If you are testing your site via a joomla folder under ~username then note that on the fly phpThumb images will not work, but as soon as you access your site normally then they will work.

NOTE: if thumbnailing with phpThumb fails, then you get a message "error messages disabled" to make the actual problem appear use:
EDIT
components/com_flexicontent/libraries/phpthumb/phpthumb.class.php
find:
$PHPTHUMB_CONFIG['disable_debug'] = true;
change to:
$PHPTHUMB_CONFIG['disable_debug'] = false;