LemonStand Forum: Can't install - permissions to write - LemonStand Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can't install - permissions to write installation issue

#1 User is offline   Adsmart 

  • Member
  • Group: Members
  • Posts: 10
  • Joined: 03-May 12

Posted 03 May 2012 - 08:34 AM

Hi there,

I am trying to install the copy we purchased on a dev link to commence working on a client project but it will not install.

I tried the eval tool and everything passed but I keep getting:

Error creating data file. Please make sure that the installation directory and all its subdirectories are writable for PHP.

shop.mydomain.com/demo/lemonstand_eval/test.php

Posted Image


shop.mydomain.com/demo/install.php

Posted Image
0

#2 User is offline   Garbee 

  • LemonElite
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 556
  • Joined: 19-February 12
  • LocationVirginia - United States

Posted 03 May 2012 - 11:59 AM

When does this error appear? Is it right as you start the install process or after a certain step?
0

#3 User is offline   dardub 

  • Lemonholic
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 491
  • Joined: 30-August 10

Posted 03 May 2012 - 12:26 PM

Looks like a permissions issue to me. Can you verify that apache has write permission to the directory.
0

#4 User is offline   Adsmart 

  • Member
  • Group: Members
  • Posts: 10
  • Joined: 03-May 12

Posted 04 May 2012 - 01:02 AM

View Postdardub, on 03 May 2012 - 12:26 PM, said:

Looks like a permissions issue to me. Can you verify that apache has write permission to the directory.


I can't get to install process, when I visit the install url that is the message i get, I have 777 rights on the demo folder.
0

#5 User is offline   Adsmart 

  • Member
  • Group: Members
  • Posts: 10
  • Joined: 03-May 12

Posted 04 May 2012 - 01:03 AM

View PostGarbee, on 03 May 2012 - 11:59 AM, said:

When does this error appear? Is it right as you start the install process or after a certain step?


Right at the start - permissions are fine.
0

#6 User is offline   Garbee 

  • LemonElite
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 556
  • Joined: 19-February 12
  • LocationVirginia - United States

Posted 04 May 2012 - 02:07 AM

I notice you are putting it in a folder. Is there another system already installed in the root directory for the subdomain? Other software at the root folder could interfere with the installer.
0

#7 User is offline   Adsmart 

  • Member
  • Group: Members
  • Posts: 10
  • Joined: 03-May 12

Posted 04 May 2012 - 03:52 AM

View PostGarbee, on 04 May 2012 - 02:07 AM, said:

I notice you are putting it in a folder. Is there another system already installed in the root directory for the subdomain? Other software at the root folder could interfere with the installer.


Hi Garbee,

I placed it in the "demo" folder because I could not grant 777 to the root (because there is a .protect folder in the root). There is only the lemonstand files in the demo folder, nothing else.
0

#8 User is offline   Garbee 

  • LemonElite
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 556
  • Joined: 19-February 12
  • LocationVirginia - United States

Posted 04 May 2012 - 04:40 AM

Honestly, I would move the install up a level then into the root of the subdomain just to see what happens. Also, it would be nice to know exactly what the .protect folder does. It is most likely from you being on a shared hosting plan, in which case it is a good thing you can 777 the entire subdomain folder.
0

#9 User is offline   dardub 

  • Lemonholic
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 491
  • Joined: 30-August 10

Posted 04 May 2012 - 03:00 PM

I'm not an expert with linux permissions but I recall apache needs execute (+x) permission on the parent directories as well.

Can you display a screenshot of your directory structure with permissions?
0

#10 User is offline   Adsmart 

  • Member
  • Group: Members
  • Posts: 10
  • Joined: 03-May 12

Posted 08 May 2012 - 12:32 AM

View PostGarbee, on 04 May 2012 - 04:40 AM, said:

Honestly, I would move the install up a level then into the root of the subdomain just to see what happens. Also, it would be nice to know exactly what the .protect folder does. It is most likely from you being on a shared hosting plan, in which case it is a good thing you can 777 the entire subdomain folder.


I get the same issue with permissions in the root of the subdomain, that's why I had moved it into a subfolder to test. Is there no way of just downloading the entire site files like i.e. WordPress so I can upload them?
0

#11 User is offline   Adsmart 

  • Member
  • Group: Members
  • Posts: 10
  • Joined: 03-May 12

Posted 08 May 2012 - 12:40 AM

View Postdardub, on 04 May 2012 - 03:00 PM, said:

I'm not an expert with linux permissions but I recall apache needs execute (+x) permission on the parent directories as well.

Can you display a screenshot of your directory structure with permissions?



Screengrabs attached

Attached File(s)


0

#12 User is offline   Garbee 

  • LemonElite
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 556
  • Joined: 19-February 12
  • LocationVirginia - United States

Posted 08 May 2012 - 02:41 AM

+x permission should not be necessary since that is permission to execute. You also cannot download the entire Lemonstand system archive yourself. The closest way to do it would be to get it locally, then upload all the files from there, but then you might run into some other issues (DB issues for sure that would need to be fixed through admin_config (unless you recreate the server structure exactly.))

Honestly, I would contact your Web Host and see if they can provide any help. Since 777 is set to the root folder and demo there is no reason that the installer shouldn't work.

Could you tell us who your hosting provider is?
0

#13 User is offline   dardub 

  • Lemonholic
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 491
  • Joined: 30-August 10

Posted 08 May 2012 - 08:10 AM

View PostAdsmart, on 08 May 2012 - 12:32 AM, said:

I get the same issue with permissions in the root of the subdomain, that's why I had moved it into a subfolder to test. Is there no way of just downloading the entire site files like i.e. WordPress so I can upload them?


You could try installing it locally then copying the files and DB to the server. You might run into the same permissions error again, but worth a try.
0

Share this topic:


Page 1 of 1

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users