View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Importation doesn't work - Page 2 - ProjeQtOr
 
 

Importation doesn't work

More
28 Nov 2012 16:29 #7 by jmmbb
Replied by jmmbb on topic Re: Importation doesn't work
yes, it's works fine for attaching files, tickets, project, activity, every attachement is working.

Please Log in or Create an account to join the conversation.

More
28 Nov 2012 16:32 #8 by jmmbb
Replied by jmmbb on topic Re: Importation doesn't work
I do another test with same file, nothing append... only waiting wheel, just 1 second and nothing more...

Please Log in or Create an account to join the conversation.

More
28 Nov 2012 17:25 #9 by babynus
Very strange.
I tried on test database : all is working fine with your file :


(You have date format error, but not hard to fix ;) )

Check you have access to temporary directory :
../files/attach//import/
, with write access.
Check that file "Test import.csv" is present.

Try to remove space in file name.

If all this does not work, you'll have to debug :
in /model/Importable.php, in the function import(), add several lines :
echo "import - Step 1"
...
echo "import - Step 2"

Log show you enter correctly the import function :
import(../files/attach//import/Test import.csv, Project)

Babynus
Administrator of ProjeQtOr web site
Attachments:

Please Log in or Create an account to join the conversation.

More
28 Nov 2012 17:41 - 28 Nov 2012 17:43 #10 by jmmbb
Replied by jmmbb on topic Re: Importation doesn't work
Hello,

file is present in ../files/attach/import

After delete, i do a new import, files is present again (whitout space in filename) but doesn't work anymore.

Even with ECHO in import function, i can't get any result, here's the log :

2012-11-28 17:38:03 ..... SCRIPT .... XX.XXX.12.130 /tool/import.php
2012-11-28 17:38:03 ..... SCRIPT .... XX.XXX.12.130 ->/tool/import.php


Attachement is Importable.php after inserting ECHOS.
Attachments:
Last edit: 28 Nov 2012 17:43 by jmmbb.

Please Log in or Create an account to join the conversation.

More
28 Nov 2012 17:58 #11 by babynus
You previously had the first trace in the procedure in the log.
You don't have it anymore ?
2012-11-28 12:52:48 ..... SCRIPT .... 10.xxx /tool/import.php
2012-11-28 12:52:48 ..... SCRIPT .... 10.xxx    ->/tool/import.php
2012-11-28 12:52:48 ..... SCRIPT .... 10.xxx import(../files/attach//import/Test import.csv, Project)

Could you also add "echos" just at the begining of the procedure (step 0) ?

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
29 Nov 2012 09:00 #12 by jmmbb
Replied by jmmbb on topic Re: Importation doesn't work
Hello,

New test this morning...

Function import will be executed until BeginTransaction

Log is :

2012-11-29 08:56:28 ===== TRACE ===== NEW CONNECTED USER 'bremont'
2012-11-29 08:56:28 ..... SCRIPT .... <serveur> /tool/saveDataToSession.php
2012-11-29 08:56:29 ..... SCRIPT .... <serveur> /tool/saveDataToSession.php
2012-11-29 08:56:29 ..... SCRIPT .... <serveur> /view/main.php
2012-11-29 08:56:29 ..... SCRIPT .... <serveur> ->/view/main.php
2012-11-29 08:56:29 ..... SCRIPT .... <serveur> ->/view/menuTree.php
2012-11-29 08:56:29 ..... SCRIPT .... <serveur> ->/view/menuBar.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> /tool/saveDataToSession.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> /tool/saveDataToSession.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> /tool/jsonDirectory.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> ->/tool/jsonList.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> /tool/saveDataToSession.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> /tool/saveDataToSession.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> /tool/cronRelaunch.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> /tool/saveDataToSession.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> /tool/saveDataToSession.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> /view/today.php
2012-11-29 08:56:32 ..... SCRIPT .... <serveur> ->/view/today.php
2012-11-29 08:56:37 ..... SCRIPT .... <serveur> /view/importData.php
2012-11-29 08:56:37 ..... SCRIPT .... <serveur> ->/view/importFile.php
2012-11-29 08:56:55 ..... SCRIPT .... <serveur> /tool/import.php
2012-11-29 08:56:55 ..... SCRIPT .... <serveur> ->/tool/import.php
2012-11-29 08:56:55 ..... SCRIPT .... <serveur> import(../files/attach//import/Testimport.csv, Project)

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.059 seconds

Cookies settings

×

Functional Cookies

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

Please login to see yours activities!

Other cookies

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