Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-08-05 01:59:02

xevigut
Member
Registered: 2013-02-01
Posts: 58

Can't upload image

Hi!, when i wont upload image with. Template/Uploaded images

I have this error:

Something went wrong
tempnam(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/usr/home/xevivilaregut.com/:/home/xevivilaregut.com/:/usr/home/services/:/usr/share/php/) in ImageEntity.php on line 77

Offline

#2 2016-08-05 05:39:26

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 17,830
Website

Re: Can't upload image

be sure to post a link to an album where the uploads aren't working


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 2/3 test site

Offline

#3 2016-08-05 12:00:53

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Can't upload image

Hi, I've sent you an email with an updated file that addresses this.  Can you try it out and let us know how it goes?

For anybody else reading, this is caused by a combination of factors:

1. That Backlight tries to look in the images directory before it's been created
2. That the PHP function called in 1. finds the directory isn't there so then tries to look in /tmp instead
3. That the host does not allow you to look in /tmp

Offline

Board footer

Powered by FluxBB