Report any technical problems you discover and discuss solutions.

import/ needs to be writeable

  • cgoacher
  • Onderwerp Auteur
  • Offline
  • Junior lid
  • Junior lid
Meer
12 jaren 4 maanden geleden #1413 door cgoacher
Beantwoord door cgoacher in topic import/ needs to be writeable
That's brilliant Tom, thank you very much.

As soon as I get some time I'll try applying this to our system and will let you know how I get on.

Thanks again

Craig

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 4 maanden geleden - 12 jaren 4 maanden geleden #1414 door tom
Beantwoord door tom in topic import/ needs to be writeable
This is already in 2.1 :-)
Laatst bewerkt 12 jaren 4 maanden geleden door tom.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • cgoacher
  • Onderwerp Auteur
  • Offline
  • Junior lid
  • Junior lid
Meer
12 jaren 4 maanden geleden #1415 door cgoacher
Beantwoord door cgoacher in topic import/ needs to be writeable
Ah that's good to know. It's a shame my colleague (the one who's left) hadn't upgraded to 2.1 before leaving!

I'm not sure when we're going to be happy to do another upgrade, possibly not for a while.

Many thanks again.

Craig

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • cgoacher
  • Onderwerp Auteur
  • Offline
  • Junior lid
  • Junior lid
Meer
12 jaren 4 maanden geleden #1416 door cgoacher
Beantwoord door cgoacher in topic import/ needs to be writeable
Thanks again Tom,

Although I now don't get the message I was receiving before (as the code that would generate that is commented out anyway) I'm now getting a different error message that just says "File Transfer has failed".

I can't see any of the code in this page generating this error so I'm guessing it's a PHP error but as yet I'm not sure what the issue could be. I don't suppose you have any troubleshooting recommendations for this error do you?

Thanks again

Craig

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
12 jaren 4 maanden geleden #1417 door tom
Beantwoord door tom in topic import/ needs to be writeable
Sure I do...
I suspect the package is larger than allowed by the php.ini settings

If that's not the case, please check the file config.php, and set $develop to true around line 26
Also, as you are on Windows, make sure to change line 33
Code:
// Change this to where you want the XOT log file to go; // the webserver will need to be able to write to it. define('XOT_DEBUG_LOGFILE', '/tmp/debug.log');

Try the import again, and check the debug.log file for messages that might help you give a clue.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • cgoacher
  • Onderwerp Auteur
  • Offline
  • Junior lid
  • Junior lid
Meer
12 jaren 4 maanden geleden #1420 door cgoacher
Beantwoord door cgoacher in topic import/ needs to be writeable
Hi Tom,

The php.ini is set to 50MB and the file I'm trying to upload is nowhere near that so all should be fine there.

Unfortunately I'm having some issues getting it to write to the debug.log file. I've set the $development variable to true and I've changed line 33 to point to '/error_logs/debug.log'. Since we don't have a tmp directory and I've seen log files within this directory update I thought this would be a safe place to direct it to.

In terms of permissions, I assume it's the same application pool that the site runs under that would need access? I've tried granting it modify (and even full control) directly on the file and have even tried cascading permissions from the parent folder but neither seems to make a difference.

Am I doing something wrong?

Thanks

Craig

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: ronmjultenJohnSmith
Tijd voor maken pagina: 0.141 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo