Forum

[SOLVED] Export to ...
 
Notifications
Retirer tout

[SOLVED] Export to csv

9 Posts
2 Utilisateurs
0 Reactions
9,871 Vu
(@ripal)
Posts: 53
Active Member
Début du sujet
 
[#4594]

Version 6.3.3

Where "export to csv" file is storing exported file.

Regards
Ripal Shah


 
Posté : 19 Août PM 22:088
(@ripal)
Posts: 53
Active Member
Début du sujet
 

while "export to csv" process no error or nothing happening...

while PDF export, below error in log file ...

2017-08-20 07:33:49.876 ** ERROR ** [V6.3.3] ERROR **
2017-08-20 07:33:49.876
** ERROR ** [V6.3.3] on file '/home/sales/public_html/project/projeqtor/tool/formatter.php' at line (181)
2017-08-20 07:33:49.876
** ERROR ***** [V6.3.3] cause = Missing argument 5 for formatLetterThumb(), called in /home/sales/public_html/project/projeqtor/tool/formatter.php on line 177 and defined

Tried on demo.projeqtor.org ... working fine and able to export csv file...

Please help...

Regards
Ripal Shah


 
Posté : 20 Août AM 06:088
(@babynus)
Posts: 14952
Membre Admin
 

Exported CSV go into your download folder (on your workstation)


 
Posté : 20 Août PM 22:088
(@babynus)
Posts: 14952
Membre Admin
 

Ab out issue,
fix is to replace line 181 in /tool/formatter.php from

function formatLetterThumb($idUser,$size,$userName=null,$floatLetter="right", $idTicket) {

to

function formatLetterThumb($idUser,$size,$userName=null,$floatLetter="right", $idTicket=null) {

Fix will be integrated in next patch/version


 
Posté : 20 Août PM 22:088
(@ripal)
Posts: 53
Active Member
Début du sujet
 

I did changes ...

below error showing

2017-08-21 07:19:47.850 ** ERROR ** [V6.3.3] Cannot create image thumb of size 32 for ../files/attach//attachment_1/ID Card copy.jpg
2017-08-21 07:19:50.642 ** ERROR ** [V6.3.3] ERROR **
2017-08-21 07:19:50.642
** ERROR ** [V6.3.3] on file '/home/sales/public_html/project/projeqtor/external/html2pdf/html2pdf.class.php' at line (1353)
2017-08-21 07:19:50.642
** ERROR ***** [V6.3.3] cause = getimagesize(): Filename cannot be empty

Regards
Ripal Shah


 
Posté : 21 Août AM 05:088
(@babynus)
Posts: 14952
Membre Admin
 

Possibly it's now access rights on filder /files/thumbs
PHP user must have write rights to this folder.


 
Posté : 21 Août AM 10:088
(@ripal)
Posts: 53
Active Member
Début du sujet
 

Permission to /files/thumbs is 755

Regards
Ripal Shah


 
Posté : 21 Août PM 13:088
(@babynus)
Posts: 14952
Membre Admin
 

Sure there is an issue on folder access :

Cannot create image thumb of size 32 for ../files/attach//attachment_1/ID Card copy.jpg

Check that this file exists.
If it does not, then possibly acces rights were wrong when adding picture of user.

Try and delete picture for corresponding user and re-insert it.


 
Posté : 21 Août PM 17:088
(@ripal)
Posts: 53
Active Member
Début du sujet
 

Yes, I deleted user image and got PDF exported.

"After migration of database on new server, image file was not showing on particular user's profile. "

Now it's working ....

Regards
Ripal Shah


 
Posté : 21 Août PM 19:088
Share:
Retour en haut