Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.

TOPIC:

import/ needs to be writeable 10 years 8 months ago #1413

  • cgoacher
  • cgoacher's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 26
  • Thank you received: 0
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

Please Inloggen or Create an account to join the conversation.

import/ needs to be writeable 10 years 8 months ago #1414

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
This is already in 2.1 :-)

Please Inloggen or Create an account to join the conversation.

Last edit: by tom.

import/ needs to be writeable 10 years 8 months ago #1415

  • cgoacher
  • cgoacher's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 26
  • Thank you received: 0
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

Please Inloggen or Create an account to join the conversation.

import/ needs to be writeable 10 years 8 months ago #1416

  • cgoacher
  • cgoacher's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 26
  • Thank you received: 0
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

Please Inloggen or Create an account to join the conversation.

import/ needs to be writeable 10 years 8 months ago #1417

  • tom
  • tom's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 1286
  • Thank you received: 324
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
    // 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.

Please Inloggen or Create an account to join the conversation.

import/ needs to be writeable 10 years 8 months ago #1420

  • cgoacher
  • cgoacher's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 26
  • Thank you received: 0
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

Please Inloggen or Create an account to join the conversation.

Moderators: ronmjultenJohnSmith
Time to create page: 0.058 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search