Hi there, i am wanting to give access to admin/pageUploadCSV.php to a couple of ordinary users (dont want to give them admin access)
I copied over the page from admin, updated the header includes/required but i am getting a 500 error, has anyone done this before?
Import CSV as ordinary user
Re: Import CSV as ordinary user
We plan to make the option to allow CSV uploads as part of group permissions available in future releases. Stay tuned.

- DataTalk is an innovative AppGini plugin based on ChatGPT that allows you to interact with your AppGini database using natural language questions, without writing any SQL. Check the demo video
- Check our other plugins and get a generous discount of up to 30% when buying 2 or more plugins.
- Need personalized consulting on your specific app and customizations? Book an online call with me here.
Re: Import CSV as ordinary user
Hi,
I copied the pageUploadCSV.php to the root directory and replaced
by
at the top
Then you need to apply your user checking (which I did not need).
Hope that helps
I copied the pageUploadCSV.php to the root directory and replaced
Code: Select all
$currDir = dirname(__FILE__);
require("{$currDir}/incCommon.php");
Code: Select all
$app_dir = dirname(__FILE__);
if(!defined('PREPEND_PATH')) define('PREPEND_PATH', '');
include("$app_dir/defaultLang.php");
include("$app_dir/language.php");
include("$app_dir/language-admin.php");
include("$app_dir/lib.php");
include("$app_dir/add-on-functions.php");
Then you need to apply your user checking (which I did not need).
Hope that helps
Any help offered comes with the best of intentions. Use it at your own risk. In any case, please make a backup of your existing environment before applying any changes.