• Content count

  • Joined

  • Last visited


About roc13x

  • Rank
    Spam Happy
  • Birthday 05/04/1994

Recent Profile Visitors

23,689 profile views

roc13x's Activity

  1. roc13x added a comment Chunked upload and storage container bug   

    Still reproducing this issue on 4.0.0 Gold
  2. roc13x added a bug in Bug Tracker   

    Chunked upload and storage container bug
    If an "Upload" form element uses a custom storage container, and a large file is uploaded, the upload chunking breaks. The first chunk is stored in the custom container, but the rest of the chunks are stored in a default "monthly_x_x" folder. This breaks the file in half, corrupting it.
    $form->add( new \IPS\Helpers\Form\Upload( 'rf_url', \IPS\File::get( 'myApp_myFiles', $this->url ), TRUE, array( 'storageExtension' => 'myApp_myFiles', 'storageContainer' => 'my_files' ) ) );The expected behavior is that files uploaded through this element are put into a "my_files" directory in the /uploads/ folder. And it does do this if the uploaded files are small.
    But now upload a large one, to cause chunked uploading. Now, the result is a "chunk-xxxxx.txt" file in the my_files directory, and the rest of the file in a "monthly_x_x" directory. Neither of them is a valid file because it's split up.
    • 2 replies
  3. roc13x added a bug in Bug Tracker   

    [RC6][Commerce] Package upgrade error
    If the user upgrades a package from the client area, and there is no renewals for the packages, an error is thrown when the invoice is marked paid:
    /ips4/applications/nexus/sources/Package/Package.php : 2336
    $chosenRenewalOption should be null when there is no renewals. But it's set as 0 at Package.php : 1693
    • 2 replies
  4. roc13x added a bug in Bug Tracker   

    [RC4][Commerce] SQL error on purchase
    After an upgrade from 3.x, this error happens when buying a package. It seems the schema was not fully updated.
    • 1 reply
  5. roc13x added a bug in Bug Tracker   

    [RC4][Commerce] Package upgrade title broken
    Upgrading a product in the Client Area results in this on the checkout screen. Viewing the upgrade invoice results in this error:
    ErrorException (E_ERROR)
    Access to undeclared static property: IPS\nexus\extensions\nexus\Item\UpgradeCharge::$title
    \ips4\applications\nexus\sources\Invoice\Item\Item.php The upgrade itself did not work either, if you attempt to finish payment it just errors
    • 1 reply
  6. roc13x added a bug in Bug Tracker   

    [RC4][Commerce] Package custom field lang bits
    There are several places in the code where package custom fields are referenced with "nexus_cfield_{id}". They should be "nexus_pfield_{id}". It causes custom field titles to not display in some areas after an upgrade from 3.4. Here are the incorrect lines:
    applications\nexus\dev\email\shipment.phtml : 52
    applications\nexus\dev\html\admin\invoices\generate.phtml : 42
    applications\nexus\dev\html\admin\invoices\view.phtml : 147
    applications\nexus\dev\html\admin\purchases\hovercard.phtml : 8
    applications\nexus\dev\html\admin\shiporders\packingSheet.phtml : 66
    applications\nexus\dev\html\admin\support\request.phtml : 292
    applications\nexus\dev\html\front\clients\invoice.phtml : 104
    applications\nexus\extensions\nexus\Item\Package.php : 345
    applications\nexus\sources\Package\Package.php : 1865
    • 2 replies
  7. roc13x added a bug in Bug Tracker   

    [RC3][Commerce] IN_DEV error on client area
    When visiting the client area while IN_DEV mode is on, you get an E_NOTICE:
    Undefined index: cfields
    • 3 replies
  8. roc13x added a bug in Bug Tracker   

    [Beta 6][Commerce] Product thumbnails broken on upgrade
    When upgrading to IPS4, the p_image field in the packages table is not converted to a full URL, resulting in broken images on the store homepage.
    • 2 replies
  9. roc13x added a bug in Bug Tracker   

    [Beta 6][Commerce] Package custom fields corrupted on upgrade
    When upgrading from 3.4, custom package fields are not upgraded properly. The fields lose their names and become "nexus_pfield_1" wherever they are displayed. Their field type and type info is also not converted, causing errors on the product page.
    • 2 replies
  10. roc13x added a bug in Bug Tracker   

    [Commerce] Base prices not converted on upgrade
    When upgrading from 3.4.7, the "p_base_price" field on packages is not converted to JSON. This results in OutOfBoundsExceptions when viewing the store
    • 2 replies
  11. roc13x added a record in IP.Nexus   

    Stripe address fields incorrect
    On the Stripe gateway, it sets the wrong parameter names for most of the address.
    The parameters it should send to Stripe.js are:[list]
    But instead it sets:[list]
    City, State, ZIP and Country are always null when Stripe receives them as a result, which hinders fraud checking
    • 0 replies
  12. roc13x added a topic in IP.Nexus   

    Upgrade/Downgrade fee
    Our web store has some packages that are similar, and have the same price. But we'd like customers to be able to convert between those packages for a small fee. However with the current upgrade/downgrade system, the price to change between those packages would always be 0, since the original prices are the same.
    I would like to suggest a way to set a custom upgrade/downgrade fee for a package, to make situations like the one above possible.
    • 0 replies
  13. roc13x added a topic in IP.Nexus   

    Record IP on tickets
    Nexus support tickets and replies should record the IP that submitted them. On our system, we have had many cases of an account being compromised, and the unauthorized person submits a support ticket under the hacked account, requesting changes to it to make it harder for the real owner to recover it.
    It can be very difficult to determine who is really behind these tickets, so knowing which IP they came from would be very useful to us.
    • 0 replies
  14. roc13x added a post in a topic MODERATION TOOL: Swap order of selected posts   

    It may simply be ordering them by the post ID. I have not checked that but it'd be my best guess.
  15. roc13x added a comment Text overflow in information dialog box   

    [quote name='Andy Rixon' timestamp='1340100632']
    This is handy for what I need to do, but what about fetching data from a custom feild?
    I fetch them from:
    [CODE]$custom_fields_array = unserialize($purchase['ps_custom_fields']);[/CODE]