View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Supportez nous sur Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Importation doesn't work - Page 3 - ProjeQtOr

Prochaines sessions de formation

Les prochaines formations et démonstrations sont ouvertes, inscrivez-vous rapidement !

 

Démonstration de ProjeQtOr

(gratuit, sur inscription)

Mardi 23 avril (10h30-12h)

Jeudi 16 mai (16h-17h30)

Jeudi 13 juin (10h30-12h)

 
 

Planifiez avec ProjeQtOr

3 et 4 avril (9h - 12h30)

 
 

Administrez avec ProjeQtOr

10 et 11 avril (9h - 12h30)

 

 

 
 

Importation doesn't work

More
29 Nov 2012 15:52 #13 by babynus
Very strange. :huh:

Can you try to comment the transaction lines :
Sql::beginTransaction();
and
Sql::commitTransaction();
in this function to see how it goes ?

Babynus
Administrator of ProjeQtOr web site

Please Connexion or Create an account to join the conversation.

More
29 Nov 2012 18:16 #14 by jmmbb
Replied by jmmbb on topic Re: Importation doesn't work
It done, here is the result :

Import - Step 1 : initImport - Step 2 - Class existImport - Step 3 - Sql::beginTransaction()


Function stop before CommitTransaction...

Here is the log :

2012-11-29 18:13:53 ..... SCRIPT .... <Serveur> /tool/import.php
2012-11-29 18:13:53 ..... SCRIPT .... <Serveur> ->/tool/import.php
2012-11-29 18:13:53 ..... SCRIPT .... <Serveur> import(../files/attach//import/Testimport.csv, Project)

Please Connexion or Create an account to join the conversation.

More
02 Déc 2012 13:16 - 02 Déc 2012 13:19 #15 by babynus
Hi,
I really don't understand why you can't get it work.
I tried on :
- windows / mysql : OK
- linux (debian) / mysql : OK
- linux (debian) / postgresql : OK
Could you precise your test environment :
- php server OS / version
- php version
- db server OS / version
- db used (mysql/postgres) and version

Also, could you also test with joined Importable.php file ?
I added many debug line to track progress of treatment.
For information, I joined the log file that was geznerated with this debug level, with correct treatment of your test file.

Babynus
Administrator of ProjeQtOr web site
Attachments:
Last edit: 02 Déc 2012 13:19 by babynus.

Please Connexion or Create an account to join the conversation.

More
03 Déc 2012 12:00 #16 by jmmbb
Replied by jmmbb on topic Re: Importation doesn't work
Hello,

PHP : 5.2.3
MySQL : 5.0.77

I'll tried with new version of IMPORTABLE.PHP, log is attached...

Thanks !
Attachments:

Please Connexion or Create an account to join the conversation.

More
03 Déc 2012 14:36 - 03 Déc 2012 14:47 #17 by babynus
Hi,

The issue is on these lines :
if (trim($line)=='') {	
				continue;
			}
			if (! mb_detect_encoding($line, 'UTF-8', true) ) {		
				$line=utf8_encode($line);
			}

Can you check mbstring plugin on you php ?
(run joined info.php file)
You should get something like this :

Babynus
Administrator of ProjeQtOr web site
Attachments:
Last edit: 03 Déc 2012 14:47 by babynus.

Please Connexion or Create an account to join the conversation.

More
03 Déc 2012 16:01 #18 by jmmbb
Replied by jmmbb on topic Re: Importation doesn't work
Ok, that's the reason.

After enabling mbstring plugin, it works !

Many thanks !

Please Connexion or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.063 seconds

Paramétrages de cookies

×

Cookies fonctionnels

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Veuillez vous connecter pour voir vos activités!

Autres cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.