• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Adding a new custom module to fog/services

    Scheduled Pinned Locked Moved
    General Problems
    2
    4
    735
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      thebrennan47
      last edited by

      SERVER
      FOG Version: 1.4.3
      OS: Ubuntu 16.04 Server LTS

      CLIENT
      Service Version:
      OS: Windows 10

      I have a new .php module I want to install — I have put it next to the others in packages/web/service, but I don’t want to re-install fog in order to load this. Is there a better way to install this?

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @thebrennan47
        last edited by

        @thebrennan47 Just for clarity you wrote your own php page to do something else, is that right?

        Placing the php in the file path should be all that is needed. Its possible with the FOG rewrite rules apache may not see your new php page. As a test place this php in the /var/www/html/fog directory and see if you can access it.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 0
        • T
          thebrennan47
          last edited by

          Thanks @george1421

          I went ahead and moved the php — but I am now getting http 500. I rebooted the fog server to see if that would resolve it but it doesn’t look like it did

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @thebrennan47
            last edited by

            @thebrennan47 The 500 error indicates you have an issue in your php.

            You might want to review the apache error log to see if it will give you a clue to the issue.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            249

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project