View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Create a attachment with the API - ProjeQtOr
 
 

Create a attachment with the API

More
19 Mar 2024 16:09 #1 by evinatie
Hi,
I try to create a attachment between an activity and a file (name OUVERTURE_RESEAUX_PRESTATIONS.xls) using the API.
But I have this error :
<br />
<b>Fatal error</b>:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 122880 bytes) in <b>/projeqtor/tool/projeqtor_string.php</b> on line <b>128</b><br />
<br />
<b>Fatal error</b>:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 114688 bytes) in <b>Unknown</b> on line <b>0</b><br />


Can you help me ?

Thank you

Eric

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

More
26 Mar 2024 15:11 #2 by babynus
The API is not designed to include files

Babynus
Administrator of ProjeQtOr web site

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

More
27 Mar 2024 13:55 #3 by evinatie
Hello,

I don't want to create an attachment with a file, I just want to create a line in the attachment table to do a migration from our old system to projeqtor.
When I'll done this, I will be able to copy the files from the old server to the new one in the good directory (%%%/attachment_[number])

Eric

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

More
28 Mar 2024 17:17 #4 by babynus
I'm afraid it won't work as the object Attachment expects to have a file in the create process.

Babynus
Administrator of ProjeQtOr web site

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

Moderators: babynusprotion
Time to create page: 0.032 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.