D
|
DealerModulesDevClub member 3/19/2021 |
Hello, I am using PHPR Enterprise V 10.5 / 36834. I want to create a CSV file in a certain format. Among other things without writing the texts or fields in quotation marks. But this is exactly what PHPR does. I have read that you can change this in a PHPR file, but I don't want to do that, because otherwise you always have to remember to follow this (update/reinstall). At this point I would like a switch to be able to configure this in PHPR. To get around this problem I would like to create my "own" CSV file. When I execute the SQL statement in e.g. Maria-DB, I get my desired CSV file. If I put it in the server part of a button, I get neither an error code in the syntax check nor a CSV file created. The command is not executed, no matter if with DB::Exec($SQL) or with DB::Query($SQL). Please give me a nudge in the right direction, I guess I can't see the forest for the trees? Here is the SQL command in the server-part of a button to create the CSV file:
|
T
|
taumic author 3/19/2021 |
Hello Paul, |
A
|
acpan 3/20/2021 |
As a first step, I would check if MySQL user that PHPRunner uses to connect to MySQL DB has global File permissions granted in MySQL.
|
A
|
acpan 3/20/2021 |
Another way, better way IMO, save all trouble and just do a small change for project_folder/classes/exportpage.php:
|
T
|
taumic author 3/22/2021 |
Hello all, |