Welcome, Guest
Username: Password: Remember me

TOPIC: Company logo upload error

Company logo upload error 1 year 3 months ago #22945

  • tanayhan
  • tanayhan's Avatar
  • OFFLINE
  • Expert Boarder
  • Engineer
  • Posts: 105
  • Karma: 0
When I try to upload my company logo the following warning occurs:
Warning: move_uploaded_file() [function.move-uploaded-file]: open_basedir restriction in effect. File(c:/dolibarr/dolibarr_documents/mycompany/logos/K?z?ltanSumas_Logo3_Saydam.png) is not within the allowed path(s): (c:/dolibarr) in C:\dolibarr\www\dolibarr\htdocs\core\lib\files.lib.php on line 676

The properties of my logo imaga:
File type PNG
File size 16 KB (380 X 112)

What is the problem?
Thanks,
Ayhan
The administrator has disabled public write access.

Re: Company logo upload error 1 year 3 months ago #22947

  • eldy
  • eldy's Avatar
  • OFFLINE
  • Administrateur
  • Posts: 1393
  • Thank you received: 6
  • Karma: 150
Dolibarr need to have permission to write into dir c:\dolibarr.
So your php must be configured to allow this.
Take a look at parameter open_basedir into your php.ini config file.

Do you use doliwamp or standard dolibarr ?
Laurent Destailleur (alias eldy, Dolibarr grade: Yoda).
- Dolibarr in the Cloud: DoliCloud, the OpenSource hosting solution for your Dolibar ERP & CRM.
- Android app for Dolibarr: DoliDroid
- Teclib.com, your Open source solution
The administrator has disabled public write access.

Re:Company logo upload error 1 year 3 months ago #22949

  • tanayhan
  • tanayhan's Avatar
  • OFFLINE
  • Expert Boarder
  • Engineer
  • Posts: 105
  • Karma: 0
standart dolibarr
The administrator has disabled public write access.

Re:Company logo upload error 1 year 3 months ago #22952

  • tanayhan
  • tanayhan's Avatar
  • OFFLINE
  • Expert Boarder
  • Engineer
  • Posts: 105
  • Karma: 0
By the way, I am trying 3.4.0 beta
The administrator has disabled public write access.

Re: Company logo upload error 1 year 3 months ago #22957

  • tanayhan
  • tanayhan's Avatar
  • OFFLINE
  • Expert Boarder
  • Engineer
  • Posts: 105
  • Karma: 0
Turkish characters was causing the error.
The administrator has disabled public write access.

Re: Company logo upload error 1 year 3 months ago #22962

  • ndrosis
  • ndrosis's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 151
  • Thank you received: 21
  • Karma: 9
Hi tanayhan,
Go to path c :/ dolibarr / make right hand click the folder dolibarr_documents properties and loose the Read-only and try again.
The administrator has disabled public write access.

Re: Company logo upload error 1 year 3 months ago #22963

  • tanayhan
  • tanayhan's Avatar
  • OFFLINE
  • Expert Boarder
  • Engineer
  • Posts: 105
  • Karma: 0
Thanks
The administrator has disabled public write access.
Time to create page: 0.081 seconds