Author Topic: Contact Import (*csv)  (Read 3170 times)

flojud

  • Newbie
  • *
  • Posts: 13
    • View Profile
Contact Import (*csv)
« on: June 25, 2009, 04:09:50 pm »
when i'm trying to import an adress list (*csv) i always get a error message.
Werner Wuerfel is trying to help me (here), but till now we can't get the problem solved.
i activated the debug mode. here's the logfile (cache/log.php):

Code: [Select]
Session "default" started at 2009-06-23T17:40:33+0000

#1 ERROR: Error: fopen() [<a href='function.fopen'>function.fopen</a>]:
Unable to access /tmp/phpxQ0j2n.csv in '/customers/famjud.de/famjud.de/httpd.www/office/application/controllers/ContactController.class.php' on line 1246 (error code: 2)

#2 ERROR: Error: fopen(/tmp/phpxQ0j2n.csv) [<a href='function.fopen'>function.fopen</a>]: failed to open stream:
No such file or directory in '/customers/famjud.de/famjud.de/httpd.www/office/application/controllers/ContactController.class.php' on line 1246 (error code: 2)

Time since start: 0.110951185226 seconds

I was trying to contact my provider (one.com), but they just told to create an tmp folder(which still exists).
 

flojud

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Contact Import (*csv)
« Reply #1 on: June 26, 2009, 08:47:42 am »
The probleme is that the php safe_mode is activated.
My Webhoster (one.com) do not allow to disable this function.
Is there any possibility to solve this probleme?

alvarotm01

  • Administrator
  • Sr. Member
  • *****
  • Posts: 335
    • View Profile
    • Email
Re: Contact Import (*csv)
« Reply #2 on: June 26, 2009, 02:19:44 pm »
Hi,

Has the apache user write perrmissions over the tmp folder ?
if not, try giving all permissions to apache user over the og/tmp/ folder

hope this help

flojud

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Contact Import (*csv)
« Reply #3 on: June 26, 2009, 02:26:33 pm »
i have also tested it with all permissions --> same error
Quote
Has the apache user write perrmissions over the tmp folder ?
if not, try giving all permissions to apache user over the og/tmp/ folder

It is definitly the PHP Safe_Mode, i also tested it with another Webspace.
When the Safe_Mode is activated and you're trying to import a csv, you also will get this error message.