Welcome, Guest. Please login or register.
Did you miss your activation email?
May 26, 2012, 04:21:15 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155533 Posts in 21713 Topics by 7739 Members
Latest Member: audillino
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Installation issues with file permissions  (Read 1235 times)
pixability

Offline Offline

Posts: 44


« on: February 18, 2010, 12:50:02 AM »

Hi there, I'm trying to install Wb to a server - never had any issues with installing other websites but this time I get heaps of file permission errors..

I've checked the php.info which is ok and also the install/index.php shows no errors.

But once I've submitted everything it says

Error: Cannot open the configuration file (../config.php)

PHP Warning:  fopen(../temp/test_permissions.txt) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in D:\CustomerData\webspaces\webspace_00102055\wwwroot\install\save.php on line 107
PHP Warning:  fwrite(): supplied argument is not a valid stream resource in D:\CustomerData\webspaces\webspace_00102055\wwwroot\install\save.php on line 108
PHP Warning:  fclose(): supplied argument is not a valid stream resource in D:\CustomerData\webspaces\webspace_00102055\wwwroot\install\save.php on line 109
PHP Warning:  fileperms() [<a href='function.fileperms'>function.fileperms</a>]: stat failed for ../temp/test_permissions.txt in D:\CustomerData\webspaces\webspace_00102055\wwwroot\install\save.php on line 110
PHP Warning:  unlink(../temp/test_permissions.txt) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in D:\CustomerData\webspaces\webspace_00102055\wwwroot\install\save.php on line 111
PHP Warning:  mkdir() [<a href='function.mkdir'>function.mkdir</a>]: Permission denied in D:\CustomerData\webspaces\webspace_00102055\wwwroot\install\save.php on line 124
PHP Warning:  fileperms() [<a href='function.fileperms'>function.fileperms</a>]: stat failed for ../temp/test_permissions/ in D:\CustomerData\webspaces\webspace_00102055\wwwroot\install\save.php on line 125
PHP Warning:  rmdir(../temp/test_permissions/) [<a href='function.rmdir'>function.rmdir</a>]: No such file or directory in D:\CustomerData\webspaces\webspace_00102055\wwwroot\install\save.php on line 126
PHP Warning:  fopen(../config.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: Permission denied in D:\CustomerData\webspaces\webspace_00102055\wwwroot\install\save.php on line 322

What can/should I do about this? I don't really want to upload with 777....
Logged
DarkViper
Development Team
*****
Offline Offline

Posts: 1252


« Reply #1 on: February 18, 2010, 08:23:11 PM »

you must not upload with 777   but you must set several Directories to be writeable for php-script
Logged

Anleitungen lesen und selber nachdenken ist anstrengend...  Da lass ich doch lieber andere für mich denken...

In 1984:  Nineteen Eighty-Four is a unrealistic utopia!!
In 2012:  Nineteen Eighty-Four is a little piece only of our reality!!
pixability

Offline Offline

Posts: 44


« Reply #2 on: February 19, 2010, 02:31:33 PM »

After various emails with the hosting company (god, they neither  fast nor helpful) I was told I could change permissions. I've now succeeded installing after setting everything to 777...but when I try to create a page it is only saved into the pages folder when I set permissions to 777. That can't be right?!
So which folders need 777 and which can I set to 755 ?
Logged
pixability

Offline Offline

Posts: 44


« Reply #3 on: February 20, 2010, 06:38:30 AM »

pretty bizarre.
to install, I needed to set the folders "install", "framework", "temp" and the config.php to 777. This has been reverted now, although "pages" still needs to be set to 777 otherwise no pages are saved although they appear in the adminstrative backend.

temp also has to stay at 777, otherwise no template/ module uploading works.

Has anyone else ever run into these issues?Huh
« Last Edit: February 20, 2010, 06:42:46 AM by pixability » Logged
BerndJM

Offline Offline

Posts: 1764



« Reply #4 on: February 20, 2010, 07:16:41 AM »

Sorry,

but the first thing came in to my mind:
"what a f**** hosting company you have?

And: why you have to set /framework and /installation to 777
Never seen a necessary for this before.

In my eyes it seems, that your hosting company is not able to set the server configuration with "normal" group/owner permissions ...
So I would think about changing the hosting company ..

Regards Bernd
Logged

In theory, there is no difference between theory and practice. But, in practice, there is.
pixability

Offline Offline

Posts: 44


« Reply #5 on: February 20, 2010, 08:05:45 AM »

Hi Bernd,
yes, what a f*** hosting company called "westnet"Smiley . Unfortunatly, the client has picked them and unfortunately , they are pretty big over here.


As you can imagine I'm quite pissed off by now, especially after 5 emails asking them to change the settings and they still don't get it..So reading from your answer, there is not much to do about this then moving to a different hosting company?

Thanks heaps...
Logged
strasz

Offline Offline

Posts: 2


« Reply #6 on: March 17, 2010, 10:59:29 PM »

No problem with my hosting company but why get ~~~***"" of with them when I get teh same issue - must be a WebsiteBaker issue. Should be no need to set everything to 777 - I've tried setting all to 755 and that doesn't work either.


Warning: mkdir() [function.mkdir]: Permission denied in /home/agrepbdd/public_html/wb/framework/functions.php on line 207

Warning: fopen(/home/agrepbdd/public_html/wb/pages/posts/index.php) [function.fopen]: failed to open stream: No such file or directory in /home/agrepbdd/public_html/wb/modules/news/install.php on line 165

Warning: fwrite(): supplied argument is not a valid stream resource in /home/agrepbdd/public_html/wb/modules/news/install.php on line 166

Warning: fclose(): supplied argument is not a valid stream resource in /home/agrepbdd/public_html/wb/modules/news/install.php on line 167

Warning: Cannot modify header information - headers already sent by (output started at /home/agrepbdd/public_html/wb/framework/functions.php:207) in /home/agrepbdd/public_html/wb/framework/class.login.php on line 87
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #7 on: March 18, 2010, 09:05:42 PM »

Don't blame your inability or your hosing companies inability to provide a decent system on WebsiteBaker please!

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

strasz

Offline Offline

Posts: 2


« Reply #8 on: March 23, 2010, 04:25:41 PM »

Don't blame your inability or your hosing companies inability to provide a decent system on WebsiteBaker please!

cheers

Klaus

It is because of my 'inability' I have asked for help on the Forum - my mistake - I was under the impression it might be somewhere where more expert users could help and explain what it is us learners are doing wrong. I love WebsiteBaker - i'm using the portable version and it's great and so easy to use compared with other systems.
I just wish I could get it installed on my hosting company server without all the warnings re. file and folder permission that just don't seem to work.
Logged
kweitzel
Forum administrator
*****
Offline Offline

Posts: 6975


WWW
« Reply #9 on: March 23, 2010, 06:50:02 PM »

OK ... first of all delete everything you have there (provided you don't have anything "important").

Then upload websitebaker, the complete package. Choose "auto" as transfertype if your FTP program allows it

Now the important bit: Transfer the ownership of the files and directories to the webserver user (www-run, apache, php-run or whatever it is on your system) and try 755 as file access mode.

Can you install in this case?

cheers

Klaus
Logged

WebsiteBaker Org e.V. - for WebsiteBaker

Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!