QloApps Forums
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Unable to generate Invoice

    Technical Help
    2
    6
    36
    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.
    • R
      Rajul Garg last edited by

      Hi,
      I have deployed the app to AWS cloud, EC2 and MySQL RDS.
      I have configured the app but I am not able to generate Invoices or able to download Credit Receipts etc.
      its always getting timeout.

      please help!

      A 1 Reply Last reply Reply Quote 0
      • A
        Aradhana Kumari Global Moderator @Rajul Garg last edited by

        Hi @Rajul-Garg ,

        Please share a screenshot showing from where you are trying to generate the invoices or download the credit receipts. This will help us understand the issue better.

        Also, please enable the development mode and then try again. If any error appears, share the screenshot of it.

        Steps to Enable Development Mode

        1. Go to your QloApps (website) directory → config folder → open the file:
          config/defines.inc.php

        2. Find the following line:

          if (!defined('_PS_MODE_DEV_')) {
             define('_PS_MODE_DEV_', false);
          }
          
        3. Change false to true, like this:

           if (!defined('_PS_MODE_DEV_')) {
              define('_PS_MODE_DEV_', true);
           }
          
        4. Save the file and refresh the page.

        After enabling development mode, if any error occurs, please share its screenshot so we can assist you further.

        R 1 Reply Last reply Reply Quote 0
        • R
          Rajul Garg @Aradhana Kumari last edited by

          @Aradhana-Kumari I am trying to download it from Order Page and also from the CR Page. both of them giving me the same error.
          ![image (64).png](
          Something went wrong installing the "sharp" module

          Cannot find module '../build/Release/sharp-linux-arm64v8.node'
          Require stack:

          • /opt/nodebb/node_modules/sharp/lib/sharp.js
          • /opt/nodebb/node_modules/sharp/lib/constructor.js
          • /opt/nodebb/node_modules/sharp/lib/index.js
          • /opt/nodebb/src/image.js
          • /opt/nodebb/src/posts/uploads.js
          • /opt/nodebb/src/posts/index.js
          • /opt/nodebb/src/topics/index.js
          • /opt/nodebb/src/privileges/topics.js
          • /opt/nodebb/src/privileges/index.js
          • /opt/nodebb/src/categories/index.js
          • /opt/nodebb/src/groups/update.js
          • /opt/nodebb/src/groups/index.js
          • /opt/nodebb/src/user/index.js
          • /opt/nodebb/src/plugins/index.js
          • /opt/nodebb/src/meta/configs.js
          • /opt/nodebb/src/meta/index.js
          • /opt/nodebb/src/start.js
          • /opt/nodebb/require-main.js
          • /opt/nodebb/app.js

          Possible solutions:

          • Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
          • Install for the current linux-arm64v8 runtime: "npm install --platform=linux --arch=arm64v8 sharp"
          • Consult the installation documentation: https://sharp.pixelplumbing.com/install) ![image (63).png](
            Something went wrong installing the "sharp" module

          Cannot find module '../build/Release/sharp-linux-arm64v8.node'
          Require stack:

          • /opt/nodebb/node_modules/sharp/lib/sharp.js
          • /opt/nodebb/node_modules/sharp/lib/constructor.js
          • /opt/nodebb/node_modules/sharp/lib/index.js
          • /opt/nodebb/src/image.js
          • /opt/nodebb/src/posts/uploads.js
          • /opt/nodebb/src/posts/index.js
          • /opt/nodebb/src/topics/index.js
          • /opt/nodebb/src/privileges/topics.js
          • /opt/nodebb/src/privileges/index.js
          • /opt/nodebb/src/categories/index.js
          • /opt/nodebb/src/groups/update.js
          • /opt/nodebb/src/groups/index.js
          • /opt/nodebb/src/user/index.js
          • /opt/nodebb/src/plugins/index.js
          • /opt/nodebb/src/meta/configs.js
          • /opt/nodebb/src/meta/index.js
          • /opt/nodebb/src/start.js
          • /opt/nodebb/require-main.js
          • /opt/nodebb/app.js

          Possible solutions:

          • Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
          • Install for the current linux-arm64v8 runtime: "npm install --platform=linux --arch=arm64v8 sharp"
          • Consult the installation documentation: https://sharp.pixelplumbing.com/install) ![image (62).png](
            Something went wrong installing the "sharp" module

          Cannot find module '../build/Release/sharp-linux-arm64v8.node'
          Require stack:

          • /opt/nodebb/node_modules/sharp/lib/sharp.js
          • /opt/nodebb/node_modules/sharp/lib/constructor.js
          • /opt/nodebb/node_modules/sharp/lib/index.js
          • /opt/nodebb/src/image.js
          • /opt/nodebb/src/posts/uploads.js
          • /opt/nodebb/src/posts/index.js
          • /opt/nodebb/src/topics/index.js
          • /opt/nodebb/src/privileges/topics.js
          • /opt/nodebb/src/privileges/index.js
          • /opt/nodebb/src/categories/index.js
          • /opt/nodebb/src/groups/update.js
          • /opt/nodebb/src/groups/index.js
          • /opt/nodebb/src/user/index.js
          • /opt/nodebb/src/plugins/index.js
          • /opt/nodebb/src/meta/configs.js
          • /opt/nodebb/src/meta/index.js
          • /opt/nodebb/src/start.js
          • /opt/nodebb/require-main.js
          • /opt/nodebb/app.js

          Possible solutions:

          • Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
          • Install for the current linux-arm64v8 runtime: "npm install --platform=linux --arch=arm64v8 sharp"
          • Consult the installation documentation: https://sharp.pixelplumbing.com/install) ![image (61).png](
            Something went wrong installing the "sharp" module

          Cannot find module '../build/Release/sharp-linux-arm64v8.node'
          Require stack:

          • /opt/nodebb/node_modules/sharp/lib/sharp.js
          • /opt/nodebb/node_modules/sharp/lib/constructor.js
          • /opt/nodebb/node_modules/sharp/lib/index.js
          • /opt/nodebb/src/image.js
          • /opt/nodebb/src/posts/uploads.js
          • /opt/nodebb/src/posts/index.js
          • /opt/nodebb/src/topics/index.js
          • /opt/nodebb/src/privileges/topics.js
          • /opt/nodebb/src/privileges/index.js
          • /opt/nodebb/src/categories/index.js
          • /opt/nodebb/src/groups/update.js
          • /opt/nodebb/src/groups/index.js
          • /opt/nodebb/src/user/index.js
          • /opt/nodebb/src/plugins/index.js
          • /opt/nodebb/src/meta/configs.js
          • /opt/nodebb/src/meta/index.js
          • /opt/nodebb/src/start.js
          • /opt/nodebb/require-main.js
          • /opt/nodebb/app.js

          Possible solutions:

          • Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
          • Install for the current linux-arm64v8 runtime: "npm install --platform=linux --arch=arm64v8 sharp"
          • Consult the installation documentation: https://sharp.pixelplumbing.com/install) ![image (60).png](
            Something went wrong installing the "sharp" module

          Cannot find module '../build/Release/sharp-linux-arm64v8.node'
          Require stack:

          • /opt/nodebb/node_modules/sharp/lib/sharp.js
          • /opt/nodebb/node_modules/sharp/lib/constructor.js
          • /opt/nodebb/node_modules/sharp/lib/index.js
          • /opt/nodebb/src/image.js
          • /opt/nodebb/src/posts/uploads.js
          • /opt/nodebb/src/posts/index.js
          • /opt/nodebb/src/topics/index.js
          • /opt/nodebb/src/privileges/topics.js
          • /opt/nodebb/src/privileges/index.js
          • /opt/nodebb/src/categories/index.js
          • /opt/nodebb/src/groups/update.js
          • /opt/nodebb/src/groups/index.js
          • /opt/nodebb/src/user/index.js
          • /opt/nodebb/src/plugins/index.js
          • /opt/nodebb/src/meta/configs.js
          • /opt/nodebb/src/meta/index.js
          • /opt/nodebb/src/start.js
          • /opt/nodebb/require-main.js
          • /opt/nodebb/app.js

          Possible solutions:

          • Install with verbose logging and look for errors: "npm install --ignore-scripts=false --foreground-scripts --verbose sharp"
          • Install for the current linux-arm64v8 runtime: "npm install --platform=linux --arch=arm64v8 sharp"
          • Consult the installation documentation: https://sharp.pixelplumbing.com/install)
          R 1 Reply Last reply Reply Quote 0
          • R
            Rajul Garg @Rajul Garg last edited by

            seems like the image upload is not working here

            A 1 Reply Last reply Reply Quote 0
            • A
              Aradhana Kumari Global Moderator @Rajul Garg last edited by

              Hi @Rajul-Garg ,

              Please let us know which QloApps version you are currently using.

              If your website is public, kindly share the public domain URL of your hotel website so we can check further.

              Regarding the issue you mentioned above, it does not appear to be related to QloApps. QloApps does not use the libraries shown in your error. It seems that the issue may be caused by an external code.

              R 1 Reply Last reply Reply Quote 0
              • R
                Rajul Garg @Aradhana Kumari last edited by Rajul Garg

                @Aradhana-Kumari the issue above in the chat is while I am trying to upload images to this chat. its not from QloApps.

                Seems like i am using the develop branch from GIT. Its not public website.

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