/
Common Issues, Errors and Troubleshooting Solutions

Common Issues, Errors and Troubleshooting Solutions

 

 

When generating PDF, I am getting a page with a permissions error and sign-in page.

Solution:

  •  Open command prompt and change the directory to your Rx-Hub install.

  • Run set RAILS_ENV=production

  • Open the Ruby console in the Rx-Hub directory. You can launch an interactive terminal by running bundle exec rails c in the application directory

  • Get the module_id of the module that you are generating the PDF.

  • In the Ruby console, run RxModuleComponent.find_by(module_id: "<the module id>").update_token

    • Example: RxModuleComponent.find_by(module_id: "rx_inventory").update_token

 

Related content

Import Frame Inventory Data
Import Frame Inventory Data
Read with this
Troubleshooting Work Ticket Printing
Troubleshooting Work Ticket Printing
More like this
Adjust Quantities
Adjust Quantities
Read with this
Rx-Hub: Emails
Rx-Hub: Emails
More like this
Rx-Suite Product Support and Resources
Rx-Suite Product Support and Resources
Read with this
Rx-Inventory: Purchase Orders
Rx-Inventory: Purchase Orders
More like this