Config::updateCustomConfig() – Unable to open ‘./config/custom.config.php.new

SimpleInvoices Group Forum Forums Fearless359 SimpleInvoices Discussion Group Config::updateCustomConfig() – Unable to open ‘./config/custom.config.php.new

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1431
    ramanc51
    Participant

    Config::updateCustomConfig() – Unable to open new ‘./config/custom.config.php.new’ file

    I got this error even after copying config.php into custom.config.php in config folder, screenshot attached

    simpleinvoice version 2019.2
    OS ubuntu 20.04.

    How to resolve it?

    • This topic was modified 3 years, 9 months ago by ramanc51.
    #1441
    RRowley
    Participant

    SI updates your custom.config.php file if it is missing tags that have been added to config.php. To do this, it renames your custom.config.php file to custom.config.php.old and then creates a new custom.config.php and loads the data in it. If the application does not have write access to the config directory, it cannot do this.

    You need to make sure the application has write access to this directory. Also to the public and tmp directories.

    #1498
    ramanc51
    Participant

    Ok, thanks sir, i changed config, public & tmp directories permission now loading custom.config.php, simple invoice working.

    • This reply was modified 3 years, 8 months ago by ramanc51.
    • This reply was modified 3 years, 8 months ago by ramanc51.
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.