0
Welcome Guest! Login
0 items Join Now

Clarion - 500 - An error has occurred.

  • Clarion - 500 - An error has occurred.

    Posted 13 years 1 week ago
    • Hi Guys,

      I'm using a bitnami joomla image on Amazon webservices. On the fresh image mission control loads okay and all existing templates can be edited. Then when I load rt_clarion-bundle.zip and try to edit the template I get 500 - An error has occurred. Unable to use given directory. Check file permissions.

      Ive seen a previous post about file and directory permissions, but before I recursively hack (decrease security) I was wondering if there are any known specific files / directories I need to address.

      joomla is 775
      configuration.php is 640
      all directories in templates are 775
      files in clarion template are 644
      files in default deplates are 664

      I also saw a reference to DOM in a previous post. What would I need to check on Apache?
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Clarion - 500 - An error has occurred.

    Posted 13 years 1 week ago
    • Normal permissions in Joomla:

      Folders: 755 (on some servers you need 757 due to ownership issues)
      Files: 644 (on some servers you need 646 due to ownership issues)

      configuration.php should be writable normally. Your Joomla directory must be writable, 755 or 757...
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Clarion - 500 - An error has occurred.

    Posted 13 years 1 week ago
  • Re: Clarion - 500 - An error has occurred.

    Posted 13 years 1 week ago
    • Many thanks prim.

      I ssh'ed to my server and ran a recursive chmod via:
      find . -type f -print0 | xargs -0 chmod 646
      find . -type d -print0 | xargs -0 chmod 757

      Double checked with cyberduck (graphically) on various files/dirs. and it all looks good. However Clarion is still providing the same error on this AWS/bitnami build.
      Also I can't find the screen in my joomla you refer to(mission control already installed) . Sorry a complete joomla newbie here learning from video tutorials which are clarion based. Looking forward to getting it working as your themes look good.

      Any other thoughts?
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Clarion - 500 - An error has occurred.

    Posted 13 years 1 week ago
    • In MC it is:

      System Tools > System Information > Directory Permissions
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Clarion - 500 - An error has occurred.

    Posted 13 years 1 week ago
    • Thanks again.
      Definitely something a little different on the bitnami/joomla setup
      That screen shows everything unwritable with 757 / 646
      Making dirs 777 (adding group write vs 757) starts to make the directories appear green
      I also have to make configuration.php 777 for that to go green.

      All working now, but a bit worried about these wide open permissions for this to go live. Anyone any ides?
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Clarion - 500 - An error has occurred.

    Posted 13 years 1 week ago
    • Yes, let AWS or someone else set the correct ownership(s) on the web server.

      777 is not recommended to use on a "live" server as you already know but some hosting companies forces you to use it because of ownership issues which you often cannot fix yourself...







      11111 posts, woohoo! 8)
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Clarion - 500 - An error has occurred.

    Posted 12 years 9 months ago
    • I too have this issues each time I load this template. In my case, the Administrative Cache folder needed 777 permissions whereas all other items were set as 755.

      With 755 this folder showed up in Directory Permissions as Writable, but changing to 777 allowed Gantry to push what it needed.
    • prim's Avatar
    • prim
    • Preeminent Rocketeer
    • Posts: 17290
    • Thanks: 217

    Re: Clarion - 500 - An error has occurred.

    Posted 12 years 9 months ago
    • 777 is only needed when you have ownership issues on the server, contact your host about that.

      Using 777 can create security issues.
    • Please reply with a direct link to the issue & create a new thread for each new issue.

      A template is only as good as the content that goes into it ;) - DanG
  • Re: Clarion - 500 - An error has occurred.

    Posted 12 years 9 months ago
    • PremierePC wrote:
      I too have this issues each time I load this template. In my case, the Administrative Cache folder needed 777 permissions whereas all other items were set as 755.

      With 755 this folder showed up in Directory Permissions as Writable, but changing to 777 allowed Gantry to push what it needed.

      Thank you for this! I have spent the entire morning trying to get this to work.

Time to create page: 0.061 seconds