Jump to content

SimWhite

Members
  • Posts

    33
  • Joined

  • Last visited

Posts posted by SimWhite

  1. I'm trying to rename package and change it price, when I click "save" I receive an error: "The term could not be removed because it is used by one or more services." When I change payment type to reccuring payments everything is OK, when I select "One time" I get an error again. CORE-1056 is installed.

    Path: /admin/packages/edit/1/

    OS: Debian

    Blesta: 3.1.1

    PHP: 5.4.4

    MySQL: 5.5.35

    Screenshot: http://dl.dropbox.com/u/2332741/Screenshots/imc125j9ikkm.png

  2. The 2GB you will need to edit the PHP configuration for max upload and the memory limit. I upload big files to the /uploads/1/download_files/ folder and then link to it on the path to file /home/username/uploads/2/download_files/blesta-3.1.1.zip

    I mean users download, not upload. Previously I use WP with some plugins for PD, and users download fails with php timeout settings, so I use xsendfile apache mod for download files directly bypassing php. What about Blesta?

     

    Not sure about the add package unless it's the "One time only payment, and then you need to edit the file one file, which you can find in the bugs forum.

    Fixed for me. Thanks a lot.

  3. I tried to create package, but receive an error:

    SQLSTATE[21000]: Cardinality violation: 1241 Operand should contain 1 column(s) on line 124 in /var/www/lib/model.php Printing Stack Trace:
    #0 /var/www/lib/model.php(124): PDOStatement->execute(Array)
    #1 /var/www/components/record/record.php(655): Model->query('SELECT `id` FRO...', Array)
    #2 /var/www/app/models/packages.php(1354): Record->fetch()
    #3 [internal function]: Packages->validatePriceInUse(0, Array)
    #4 /var/www/components/input/input.php(478): call_user_func_array(Array, Array)
    #5 /var/www/components/input/input.php(254): Input->validateRule('pricing', Array, 0, 'term', Array)
    #6 [internal function]: Input->processValidation(0, 'term', Array, 2, 2, Array)
    #7 /var/www/components/input/input.php(542): call_user_func_array(Array, Array)
    #8 /var/www/components/input/input.php(546): Input::array_walk_recursive(Array, Array, Array, 2, 1, Array)
    #9 /var/www/components/input/input.php(305): Input::array_walk_recursive(Array, Array, Array, 2)
    #10 /var/www/app/models/packages.php(80): Input->validates(Array)
    #11 /var/www/app/controllers/admin_packages.php(224): Packages->add(Array)
    #12 /var/www/lib/dispatcher.php(111): AdminPackages->add()
    #13 /var/www/index.php(21): Dispatcher::dispatch('/admin/packages...')
    #14 {main}

    UPD: Found a problem. When I try to use one time payment in package I receive an error provided above, but if create recurring payment, save it and edit it to one time - everything is going well.

    Also I wanna know what about huge download files more than 2GB, it will be fails with php timeout or not? Is there xsendfile support?

×
×
  • Create New...