Results 1 to 6 of 6

Thread: Problems moving Contao to different subdirectory

  1. #1
    User
    Join Date
    06-30-09.
    Posts
    37

    Default Problems moving Contao to different subdirectory

    Hello.

    While trying to migrate Contao to one subdirectory to another, I came across this Warning on the home page:

    Warning: imagejpeg() [function.imagejpeg]: Unable to open '~/public_html/site/system/html/012-a7f8d5dc.jpg' for writing: Permission denied in ~/public_html/site/system/libraries/Controller.php on line 946

    I am assuming this is a reference to a temporary file form the old directory, and is no longer valid. My question is, how can I safely clean this up so that those temp files will be re-generated?

    EDIT: Tried to go through "Maintenance" -> "Purge Data" in the new directory and got Permission Denied. However, in the original directory, "Purge Data" works just fine. Checked file permissions and both directories are the same: 755

    Thanks

  2. #2
    User
    Join Date
    06-27-09.
    Location
    Ljusne, Sweden
    Posts
    59

    Default Re: Problems moving Contao to different subdirectory

    Did you remember to change the "Relative path to the Contao directory" under "Global configuration" in the Settings (or in your "localconfig.php" if you prefer)?

  3. #3
    User
    Join Date
    06-30-09.
    Posts
    37

    Default Re: Problems moving Contao to different subdirectory

    Yes, I did change the relative path in settings.

  4. #4
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: Problems moving Contao to different subdirectory

    and in .htaccess?

  5. #5
    User
    Join Date
    06-30-09.
    Posts
    37

    Default Re: Problems moving Contao to different subdirectory

    There is no .htaccess in use.

  6. #6
    Experienced user
    Join Date
    06-20-09.
    Posts
    1,311

    Default Re: Problems moving Contao to different subdirectory

    have you used the contao-check tool to check everything? ..it should pick up any wrong permissions and missing/corrupt files.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •