• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Search results

  1. J

    Issue pm_View_List_Simple options

    Any reason why this table should not default to sorting by col-5 desc and page size of 25. $options = [ 'defaultSortField' => 'column-5', 'defaultSortDirection' => pm_View_List_Simple::SORT_DIR_DOWN, 'defaultItemsPerPage' => 25, ]...
  2. J

    Resolved REST API POST /domains

    Yes apparently documentation is being corrected, thanks.
  3. J

    Forwarded to devs XML Subdomain Add (with FTP)

    TITLE: XML Subdomain Add (with FTP) PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE: Plesk Onyx Version 17.8.11 on ‪CentOS Linux 7.6.1810 PROBLEM DESCRIPTION: Using the add operation as documented here Creating Subdomain Creates the subdomain with the proper document root, but Does not create...
  4. J

    Resolved REST API POST /domains

    I've had a few questions and there just doesn't seem to be very much API support for developers. Tried Discord, nothing there. There should at least be a dedicated developer forum, I'm never sure where I should post API related questions. General Contact email often takes better part of a...
  5. J

    Resolved REST API POST /domains

    So maybe the REST API is not the way to go. Found this and it looks very promising . . . Using the XML API, this is virtually straight from the documentation at Creating Subdomain PROBLEM with this is the FTP Account is not being created. I get an ok, creates the subdomain with the proper...
  6. J

    Resolved REST API POST /domains

    in case it helps, this will work to create the subdomain with physical webhosting. (don't use a parent domain) { "name": "subdomain.mywebsite.website", "hosting_type": "virtual", "hosting_settings": { "ftp_login": "test_login", "ftp_password": "test_pwd" }, "owner_client"...
  7. J

    Resolved REST API POST /domains

    Trying to create a SUBDOMAIN with physical hosting. Sending a POST call to the REST API creates the subdomain but it has no physical hosting attached to it. The documentation states the choices are as follows hosting_type: description: >- It specifies the hosting type of the...
  8. J

    Resolved CustomButtons order

    I found a hack that helped, here it is in case anyone is looking for something similar. Using the param 'id' will change the id=[0]. At this point the button goes last in the toolbar not first. Any ID will do the same thing, there doesn't seem to be any logic or ordering going on...
  9. J

    Resolved CustomButtons order

    Is there no way to order CustomButtons that are in the Toolbar. "order" seems to have no effect. The button always appears first. And is there a way to assign an ID. it seems to always be id=[0]. 'place' => [self::PLACE_TOOLBAR], 'order' => 4, Thanks.
  10. J

    Question No documentation on how to display errors

    I see plenty of examples of $this->_status->addError() and addMessage() in various Controllers. But nowhere do I see how to display these in a view. Is there any documentation other than the sparse outlines of the methods in Extensions API Documentation - Plesk 17.5 To recap in my...
  11. J

    Resolved enable mod_substitute from command line

    Perfect, and that's regardless of Linux distribution?
  12. J

    Resolved enable mod_substitute from command line

    The question is "how can I turn it on via command line?". I want to have it as part of an install.sh
  13. J

    Resolved enable mod_substitute from command line

    CentOS 7, when I do 'yum list' I don't even see mod_substitute. But it's available to be enabled in Home > Tools & Settings > Apache Web Server Settings Is it installed by Plesk, and just needs to be enabled/disabled? If so is there a plesk command line option to do that?
  14. J

    Resolved enable mod_substitute from command line

    My extension requires mod_substitute. I can get true or false from # httpd -M | grep -ci -o "substitute_module" Is there a way to enable it if the answer is false? Should I use yum, or some other mechanism? Thanks for any advice.
  15. J

    Question License for distributed extension

    Does Plesk require, or suggest a license to be used with Extensions developed by other parties. I notice that your sample extensions use this license Copyright 1999-2017. Parallels IP Holdings GmbH. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file...
  16. J

    Resolved Tokens created by plesk utility 401 with RestAPI

    It's my experience that tokens created by and extension on the command line will not work immediately afterwards in a curl call from the extension. I'm going to have to respectfully disagree, at least when it comes to tokens created and used via extensions, and I'm not going to waste another...
  17. J

    Question get Service Plan for Logged in User

    pm_Plan requires the plan id (int) pm_Session has no such entity in it. How does one go about getting the Service Plan for the Logged in User?
  18. J

    Resolved file_put_contents() permission denied in extension

    This seems to cover the bases, Is there a file If not create it Get the contents Put the new contents $fileManager = new pm_FileManager($domainId); if(!$fileManager->fileExists($file)){ $fileManager->touch($file); } $contents =...
  19. J

    Resolved file_put_contents() permission denied in extension

    Thanks Peter for your question. I've been advised by Support not to use the native functions, but instead to use pm_FileManager() $fileManager = new pm_FileManager($domainId); $contents = $fileManager->fileGetContents($file); // do something with $contents...
Back
Top