Author Topic: Import Error  (Read 1743 times)

Graham

  • Posts: 10
    • View Profile
Import Error
« on: April 04, 2006, 02:05:59 am »
I am trying to import a CSV into a new list and get this error.

Warning: move_uploaded_file(): open_basedir restriction in effect. File(/tmp/416a151fd.tmp) is not within the allowed path(s): (/data01/mass/:/usr/lib/php:/usr/local/lib/php:/tmp) in /data01/mass/public_html/listmail/edituser.php on line 406
Could not move file.

I have tried it on another listmail installation and it is fine so it is not the CSV file.

Can anyone help?

Thanks :x

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Import Error
« Reply #1 on: April 04, 2006, 02:20:51 am »
Some restrictive hosts do not allow access to the required folder, /tmp.  You can ask your host to allow your site access to this folder via a custom webserver directive.  Alternately, you can upgrade to the latest test release, v1.86, which instead temporarily stores files in the ListMail attach folder to address the issue.

Regards, DW
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

Graham

  • Posts: 10
    • View Profile
Import Error
« Reply #2 on: April 04, 2006, 02:23:52 am »
WE have done imports before without any problem so why would this be now?

Thanks

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Import Error
« Reply #3 on: April 04, 2006, 09:49:13 am »
There seems to be a restriction on your web site accessing /tmp.  If you are using a different server or web host for each site it is not uncommon for them to have different settings.  If both sites are on the same server, are you sure your host did not explicitly allow your working site access to /tmp?  To fix this you must contact your host or upgrade to ListMail v1.86.

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

Graham

  • Posts: 10
    • View Profile
Import Error
« Reply #4 on: April 11, 2006, 07:48:14 am »
I have version 1.86 and there is no restriction on the tmp folder. As i said this has always worked before.

Any suggestions, Please

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
Import Error
« Reply #5 on: April 11, 2006, 04:36:24 pm »
My apologies for assuming you had not already upgraded.  As of 1.86 imports are temporarily stored in the ListMail attach folder.  Please make sure this folder has the correct permissions of 777 [Help page].  If you continue to have troubles please submit a bug report and I'll take a look.

Regards, DW
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting