Forum Activity for @developer-networks

Developer Networks
@developer-networks
19 Jun 2020 08:08:50PM
528 posts

Aparna tool


Jamroom Developers

Im just going to manually write the module. I loved this tool for prototyping ideas and getting up and running quickly.

it was a very cool tool. sad to see it go.
Developer Networks
@developer-networks
19 Jun 2020 03:14:21AM
528 posts

Aparna tool


Jamroom Developers

went to use the jrAparna tool today and instead of creating it on submit the ajax hangs.

I was able to locate this error.

error: jrCore_checktype: invalid type: user_name

I have checked my developer credentials and everything seems correct.

I have cleared out the form and tried different module names but it keeps hanging with this error.

the post is saving to the database and seems to pass the form data but stops during the response with the error and and never creates the module.

updated by @developer-networks: 17 Sep 2020 09:40:38PM
Developer Networks
@developer-networks
07 Aug 2019 10:15:37PM
528 posts

Shopping cart pass specific file in sale


Jamroom Developers

I see what your saying but not really because if my module was selling Tshirts lets say and depending on the size selected the end user would pay a different price for size and also would recieve a different downloadable file based on selection then quickly run in to this problem.

Since my module has multiple different downloadable files uploaded to the item and depending on the sale there is a problem if I followed your example. It would plague the shopping catalog list with different versions of the same item.

If i had to upload an item of the same Tshirt for every single different size for each file download the end users would have to sort the list through 25 different versions of the same shirt. To simplify their shopping experience I need to be able to just pass specific files related to the item sold to deliver the variable file options for the item just like other online markets do.

I was hoping you would say passing something like this would do it.

<a href="" onclick="jrPayment_add_to_cart('myCoffee','{$item._item_id}','coffee_small_price','small_coffee.zip', )">{jrCore_icon icon="cart"}{$item.coffee_small_price}</a>


Im able to get the shopping cart sale to show the small coffee in the sale or large coffee based on selection with my module during sale but how can I associate that properly so the right downloadable file is passed or included in the sale here. All three files are uploaded to the item and based on the version purchased i am trying to allow only the end user only access to the correct downloadable file.
updated by @developer-networks: 07 Aug 2019 10:44:38PM
Developer Networks
@developer-networks
07 Aug 2019 08:30:10AM
528 posts

Shopping cart pass specific file in sale


Jamroom Developers

I have items in my module with three different download options. Small medium and large files to download. I am able to pass the prices to the shopping cart but how do I pass the individual downloadable file during the sale?

well call this module coffee with small medium and large cups available for download.

   <a href="" onclick="jrPayment_add_to_cart('myCoffee','{$item._item_id}','coffee_small_price')">{jrCore_icon icon="cart"}{$item.coffee_small_price}</a>

I need to allow only the small coffee file in this item during this sale.

How would I pass that to the shopping cart as well?

small_coffee.zip
medium_coffee.zip
large_coffee.zip are all uploaded to the item.

During this sale I am trying to pass small_coffee.zip file only and contain the sale to only allow small_coffee.zip download.


updated by @developer-networks: 20 Nov 2019 04:27:11AM
Developer Networks
@developer-networks
31 Jul 2019 02:24:06AM
528 posts

CRI: unable to retrieve quota settings for module: myModule


Jamroom Developers

Yes that did it got rid of the CRI error.


Thank you!



updated by @developer-networks: 31 Jul 2019 02:24:52AM
Developer Networks
@developer-networks
31 Jul 2019 01:11:46AM
528 posts

CRI: unable to retrieve quota settings for module: myModule


Jamroom Developers

I apologize I accidentally copied and posted the schema file in the post above here.

I do have that file in the module as well as I noted earlier.

But the quota file in the module looks like this. I changed the name to myOranges.


<?php


// make sure we are not being called directly
defined('APP_DIR') or exit();

/**
 * quota_config
 */
function myOranges_quota_config(){
    return true;
}

What is the meaning of the CRI error? The code looks right and nothing is showing in my error logs.


also it did create the item and item key in the database for the module.
updated by @developer-networks: 31 Jul 2019 01:29:47AM
Developer Networks
@developer-networks
31 Jul 2019 01:05:40AM
528 posts

CRI: unable to retrieve quota settings for module: myModule


Jamroom Developers

beginning of this post in the code. That is copied from quota.php

<?php
// make sure we are not being called directly
defined('APP_DIR') or exit();

/**
 * db_schema
 */
function myModule_db_schema(){
    jrCore_db_create_datastore('myOranges', 'orange');
    return true;
}

when I click on the module in the ACP I get this error:

Quote:
error says:
CRI: unable to retrieve quota settings for module: myOranges

updated by @developer-networks: 31 Jul 2019 01:09:05AM
Developer Networks
@developer-networks
31 Jul 2019 12:31:13AM
528 posts

CRI: unable to retrieve quota settings for module: myModule


Jamroom Developers

Your right, I’m using module just as the example here for the post.

"myModule" is named something like you suggest it could be anything.. "myOranges" orange

I posted the exact quota.php file here to see there is no reason for the error as far as I can see but the system is throwing this error in my module development.


updated by @developer-networks: 31 Jul 2019 12:59:48AM
Developer Networks
@developer-networks
30 Jul 2019 05:46:46PM
528 posts

CRI: unable to retrieve quota settings for module: myModule


Jamroom Developers

<?php
// make sure we are not being called directly
defined('APP_DIR') or exit();

/**
 * db_schema
 */
function myModule_db_schema(){
    jrCore_db_create_datastore('myModule', 'module');
    return true;
}



get a white screen on the module and cannot set up quota.

error says:
CRI: unable to retrieve quota settings for module: myModule
I ran integrity check and checked the code it appears to be normal.
no other errors in the logs. Its just a basic module to get up and running.


the module consist of:
Lang directory and en-US.php file
icon
include.php
quota.php
schema.php
updated by @developer-networks: 30 Oct 2019 09:02:43AM
Developer Networks
@developer-networks
30 Jul 2019 05:16:07PM
528 posts

Query Error: Table 'myDatabase_name.jr_jrfollower_follow' doesn't exist


Installation and Configuration

Solved this by:
- Deleting the jrFollower module
- Then installing it again from the marketplace.
maybe the module had a missing/corrupted file during the install.

Thanks
updated by @developer-networks: 30 Jul 2019 05:16:53PM
1